From efb36f0d557d2b48cab2b9615851a4d40e435c7f Mon Sep 17 00:00:00 2001 From: renchao_lu <renchao.lu@gmail.com> Date: Mon, 21 Sep 2020 11:22:34 +0200 Subject: [PATCH] [PL/BC] Improve error message. --- .../SolutionDependentDirichletBoundaryCondition.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ProcessLib/BoundaryCondition/SolutionDependentDirichletBoundaryCondition.cpp b/ProcessLib/BoundaryCondition/SolutionDependentDirichletBoundaryCondition.cpp index 93a21442c0b..e32e7f34594 100644 --- a/ProcessLib/BoundaryCondition/SolutionDependentDirichletBoundaryCondition.cpp +++ b/ProcessLib/BoundaryCondition/SolutionDependentDirichletBoundaryCondition.cpp @@ -45,9 +45,11 @@ SolutionDependentDirichletBoundaryCondition:: if (bc_mesh.getProperties().existsPropertyVector<double>(property_name)) { OGS_FATAL( - "Found mesh property '{:s}' which is the built-in property of the " + "Found mesh property '{:s}' in the mesh '{:s}' which is for " + "boundary assignment. This mesh property is the built-in property " + "of the " "class SolutionDependentDirichletBoundaryCondition.", - property_name); + property_name, bc_mesh.getName()); } _solution_dependent_bc = MeshLib::getOrCreateMeshProperty<double>( -- GitLab