From d1ffb55a1c7cfbf69a7b9aa2f5e4095dd50e9b4c Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Tue, 3 Mar 2020 08:29:04 +0100
Subject: [PATCH] [PL/BC] ConstraintDBC: Init all attributes of pos.

---
 .../BoundaryCondition/ConstraintDirichletBoundaryCondition.cpp  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ProcessLib/BoundaryCondition/ConstraintDirichletBoundaryCondition.cpp b/ProcessLib/BoundaryCondition/ConstraintDirichletBoundaryCondition.cpp
index 52928a89414..ba6fecd8e9d 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);
-- 
GitLab