Skip to content
Snippets Groups Projects
Commit efb36f0d authored by renchao.lu's avatar renchao.lu
Browse files

[PL/BC] Improve error message.

parent 68a4f5af
No related branches found
No related tags found
No related merge requests found
...@@ -45,9 +45,11 @@ SolutionDependentDirichletBoundaryCondition:: ...@@ -45,9 +45,11 @@ SolutionDependentDirichletBoundaryCondition::
if (bc_mesh.getProperties().existsPropertyVector<double>(property_name)) if (bc_mesh.getProperties().existsPropertyVector<double>(property_name))
{ {
OGS_FATAL( 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.", "class SolutionDependentDirichletBoundaryCondition.",
property_name); property_name, bc_mesh.getName());
} }
_solution_dependent_bc = MeshLib::getOrCreateMeshProperty<double>( _solution_dependent_bc = MeshLib::getOrCreateMeshProperty<double>(
......
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