This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/moveMesh.H

17 lines
272 B
C
Raw Normal View History

{
2010-08-26 14:22:03 +00:00
IOobject io
(
2010-08-26 14:22:03 +00:00
"points",
runTime.timeName(),
polyMesh::meshSubDir,
mesh
);
2010-08-26 14:22:03 +00:00
if (io.headerOk())
{
2010-08-26 14:22:03 +00:00
// Read new points
io.readOpt() = IOobject::MUST_READ;
mesh.movePoints(pointIOField(io));
}
}