Skip to content
Snippets Groups Projects
Commit 00480c72 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[PL] guessed what made tests fail on Windows

parent 0e675592
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ createNonuniformNeumannBoundaryCondition( ...@@ -67,7 +67,7 @@ createNonuniformNeumannBoundaryCondition(
std::string mapping_to_bulk_nodes_property = "OriginalSubsurfaceNodeIDs"; std::string mapping_to_bulk_nodes_property = "OriginalSubsurfaceNodeIDs";
auto const* const mapping_to_bulk_nodes = auto const* const mapping_to_bulk_nodes =
boundary_mesh->getProperties().getPropertyVector<unsigned long>( boundary_mesh->getProperties().getPropertyVector<std::size_t>(
mapping_to_bulk_nodes_property); mapping_to_bulk_nodes_property);
if (!(mapping_to_bulk_nodes && if (!(mapping_to_bulk_nodes &&
......
...@@ -24,7 +24,7 @@ struct NonuniformNeumannBoundaryConditionData ...@@ -24,7 +24,7 @@ struct NonuniformNeumannBoundaryConditionData
// Used for mapping boundary nodes to bulk nodes. // Used for mapping boundary nodes to bulk nodes.
std::size_t bulk_mesh_id; std::size_t bulk_mesh_id;
MeshLib::PropertyVector<unsigned long> const& mapping_to_bulk_nodes; MeshLib::PropertyVector<std::size_t> const& mapping_to_bulk_nodes;
NumLib::LocalToGlobalIndexMap const& dof_table_bulk; NumLib::LocalToGlobalIndexMap const& dof_table_bulk;
int const variable_id_bulk; int const variable_id_bulk;
int const component_id_bulk; int const component_id_bulk;
...@@ -93,9 +93,8 @@ public: ...@@ -93,9 +93,8 @@ public:
auto const bulk_node_id = auto const bulk_node_id =
_data.mapping_to_bulk_nodes.getComponent(i, 0); _data.mapping_to_bulk_nodes.getComponent(i, 0);
MeshLib::Location const l{_data.bulk_mesh_id, MeshLib::Location const l{
MeshLib::MeshItemType::Node, _data.bulk_mesh_id, MeshLib::MeshItemType::Node, bulk_node_id};
static_cast<std::size_t>(bulk_node_id)};
i = _data.dof_table_bulk.getGlobalIndex(l, _data.variable_id_bulk, i = _data.dof_table_bulk.getGlobalIndex(l, _data.variable_id_bulk,
_data.component_id_bulk); _data.component_id_bulk);
......
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