Skip to content
Snippets Groups Projects
Commit 35f8eae2 authored by joergbuchwald's avatar joergbuchwald
Browse files

improving the documentation related to removing cell types and surplus elements in the mesh

parent 67fd192c
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,9 @@ static void checkJacobianDeterminant(const double detJ,
#ifndef NDEBUG
std::cerr << element << "\n";
#endif // NDEBUG
OGS_FATAL("Please check the node numbering of the element.");
OGS_FATAL(
"Please check whether the node numbering of the element is correct,"
"or additional elements (like boundary elements) are still present in the mesh.");
}
if (detJ == 0)
......@@ -125,7 +127,9 @@ static void checkJacobianDeterminant(const double detJ,
"Please check whether:\n"
"\t the element nodes may have the same coordinates,\n"
"\t or the coordinates of all nodes are not given on the x-axis "
"for a 1D problem or in the xy-plane in the 2D case.");
"for a 1D problem or in the xy-plane in the 2D case.\n"
"The first case can occurr, if not all boundary elements"
"were removed from the bulk mesh.");
}
}
......
......@@ -29,7 +29,8 @@ removeMeshElements -i <input-mesh> -o <output-mesh>
[--zero-volume]
[--x-min <value>] [--x-max <value>] [--y-min <value>] [--y-max <value>] [--z-min <value>] [--z-max <value>]
```
Each particular line with optional arguments refere to one of the different removal criterions mentioned in the general section.
Each particular line with optional arguments refers to one of the different removal criteria mentioned in the general section.
The corresponding element types differ from vtk cell types and can be found in MeshLib/MeshEnums.cpp.
## Examples
......
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