19 lines
302 B
C
19 lines
302 B
C
{
|
|
IOobject io
|
|
(
|
|
"points",
|
|
runTime.timeName(),
|
|
polyMesh::meshSubDir,
|
|
mesh
|
|
);
|
|
|
|
if (io.headerOk())
|
|
{
|
|
// Read new points
|
|
io.readOpt() = IOobject::MUST_READ;
|
|
pointIOField newPoints(io);
|
|
|
|
mesh.movePoints(newPoints);
|
|
}
|
|
}
|