59 fileName pointsInst(time().findInstance(meshDir(),
"points"));
60 fileName facesInst(time().findInstance(meshDir(),
"faces"));
64 Info<<
"Points instance: old = " << pointsInstance()
65 <<
" new = " << pointsInst <<
nl
66 <<
"Faces instance: old = " << facesInstance()
67 <<
" new = " << facesInst <<
endl;
70 if (facesInst != facesInstance())
82 setInstance(facesInst);
83 storedIOPoints().instance() = pointsInst;
129 bool zonesChanged =
false;
132 if (zones.
size() != newZones.
size())
140 if (zones[zoneI].
name() != newZones[zoneI].
name())
153 <<
"unexpected consequences. Proceed with care." <<
endl;
163 else if (pointsInst != pointsInstance())
172 storedIOPoints().instance() = pointsInst;
#define forAll(list, i)
Loop across all elements in list.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
writeOption writeOpt() const
fileName & instance() const
Return the instance directory, constant, system, <time> etc.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void size(const label)
Override size to be inconsistent with allocated storage.
pointIOField & storedIOPoints()
Non-const access to the points.
faceCompactIOList & storedIOFaces()
Non-const access to the faces.
surfZoneIOList & storedIOZones()
Non-const access to the zones.
A class for handling file names.
readUpdateState
Enumeration defining the state of the mesh after a read update.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in.
void setInstance(const fileName &)
Set the instance for mesh files.
IOobject for a surfZoneList.
#define WarningInFunction
Report a warning using Foam::Warning.
#define InfoInFunction
Report an information message using Foam::Info.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
CompactIOList< face > faceCompactIOList
vectorIOField pointIOField
pointIOField is a vectorIOField.