openfoam/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/moveMesh.H
Mark Olesen 72362de6b1 foamToEnsight* fixes and tweaks
foamToEnsight:
    - add -noPatches option
    - had incorrect part# when the internalMesh was not output
    - case file is always ascii

foamToEnsightParts:
    - fixed field selection bug,
      no fields were selected when a single time-step was selected
2009-05-12 12:37:25 +02:00

17 lines
272 B
C

{
IOobject io
(
"points",
runTime.timeName(),
polyMesh::meshSubDir,
mesh
);
if (io.headerOk())
{
// Read new points
io.readOpt() = IOobject::MUST_READ;
mesh.movePoints(pointIOField(io));
}
}