67 dictEntries[zonei].keyword(),
68 dictEntries[zonei].
dict(),
72 if (zones[zonei].start() != facei)
75 <<
"surfZones are not ordered. Start of zone " << zonei
76 <<
" does not correspond to sum of preceding zones." <<
nl
81 facei += zones[zonei].
size();
117 const label sz = zones.
size();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
readOption readOpt() const noexcept
The read option.
fileName objectPath() const
The complete path + object name.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
bool good() const noexcept
True if next operation might succeed.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void operator=(const UList< surfZone > &a)
Assignment to UList operator. Takes linear time.
void resize(const label len)
Adjust allocated size of list.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n)
Older name for setAddressableSize.
label size() const noexcept
The number of elements in the list.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
void close()
Close Istream.
Istream & readStream(const word &, const bool valid=true)
Return Istream and check object type against that given.
IOobject for a surfZoneList.
void operator=(const surfZoneIOList &rhs)
Copy assignment of entries.
bool writeData(Ostream &os) const
The writeData function - required by regIOobject.
A surface zone on a MeshedSurface.
@ BEGIN_LIST
Begin list [isseparator].
@ END_LIST
End list [isseparator].
#define defineTypeName(Type)
Define the typeName.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.