initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / utilities / postProcessing / dataConversion / foamToEnsight / moveMesh.H
bloba0b5ac1586b0a5207d1ca88201176446cebfa8e7
2     IOobject ioPoints
3     (
4         "points",
5         runTime.timeName(),
6         polyMesh::meshSubDir,
7         mesh
8     );
10     if (ioPoints.headerOk())
11     {
12         // Reading new points
13         pointIOField newPoints
14         (
15             IOobject
16             (
17                 "points",
18                 mesh.time().timeName(),
19                 polyMesh::meshSubDir,
20                 mesh,
21                 IOobject::MUST_READ,
22                 IOobject::NO_WRITE
23             )
24         );
26         mesh.movePoints(newPoints);
27     }