mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
21 lines
422 B
C
21 lines
422 B
C
{
|
|
IOobject io
|
|
(
|
|
"points",
|
|
runTime.timeName(),
|
|
mesh.name(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::NO_WRITE,
|
|
IOobject::NO_REGISTER
|
|
);
|
|
|
|
if (io.typeHeaderOk<pointIOField>(true, false))
|
|
{
|
|
Info<< "new points available" << endl;
|
|
// Read new points
|
|
io.readOpt(IOobject::MUST_READ);
|
|
mesh.movePoints(pointIOField(io));
|
|
}
|
|
}
|