ENH: handle manifold cells in VTK, Ensight output (#2396)

- also disables PointData if manifold cells are detected.
  This is a partial workaround for volPointInterpolation problems
  with handling manifold cells.
This commit is contained in:
Mark Olesen
2022-02-15 15:36:50 +01:00
parent 2d7f2c26be
commit 6e509c10fc
12 changed files with 101 additions and 28 deletions

View File

@ -86,6 +86,17 @@ Description
{
// Use the appropriate mesh (baseMesh or subMesh)
vtuMeshCells.reset(meshProxy.mesh());
if (doPointValues && vtuMeshCells.manifold())
{
doPointValues = false;
nPointFields = 0;
Warning
<< nl
<< "Manifold cells detected (eg, AMI) - disabling PointData"
<< nl
<< endl;
}
}
internalWriter = autoPtr<vtk::internalWriter>::New