diff --git a/ProcessLib/BoundaryCondition/ConstraintDirichletBoundaryCondition.cpp b/ProcessLib/BoundaryCondition/ConstraintDirichletBoundaryCondition.cpp index 52928a89414a95dbde3e7daa5e3e82a1e197c656..ba6fecd8e9d3899329fed1568e67f9b8ab5d189a 100644 --- a/ProcessLib/BoundaryCondition/ConstraintDirichletBoundaryCondition.cpp +++ b/ProcessLib/BoundaryCondition/ConstraintDirichletBoundaryCondition.cpp @@ -156,7 +156,7 @@ void ConstraintDirichletBoundaryCondition::getEssentialBCValues( for (unsigned i = 0; i < number_nodes; ++i) { auto const id = boundary_element->getNode(i)->getID(); - pos.setNodeID(id); + pos.setAll(id, boundary_element->getID(), {}, {}); MeshLib::Location l(_bc_mesh.getID(), MeshLib::MeshItemType::Node, id);