Skip to content
Snippets Groups Projects
Commit 0cf9a6f5 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[PL/BC/Python] Use new {exists,get}PropertyVector.

This versions check if the PropertyVector is
assigned to the requested mesh item type and has
the required number of components.
parent 319f5f33
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ void PythonBoundaryCondition::getEssentialBCValues( ...@@ -87,7 +87,7 @@ void PythonBoundaryCondition::getEssentialBCValues(
auto const& bulk_node_ids_map = auto const& bulk_node_ids_map =
*_bc_data.boundary_mesh.getProperties().getPropertyVector<std::size_t>( *_bc_data.boundary_mesh.getProperties().getPropertyVector<std::size_t>(
"bulk_node_ids"); "bulk_node_ids", MeshLib::MeshItemType::Node, 1);
bc_values.ids.clear(); bc_values.ids.clear();
bc_values.values.clear(); bc_values.values.clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment