62 #ifndef Foam_coordinateSystems_H 63 #define Foam_coordinateSystems_H 82 public PtrList<coordinateSystem>
89 bool readIOcontents();
188 const bool writeOnProc =
true 207 return this->
cfind(name);
Base class for coordinate system specification, the default coordinate system type is cartesian ...
wordList names() const
A list of the coordinate-system names.
labelList findIndices(const wordRe &key) const
Identical to the indices() method (AUG-2018)
const word & name() const noexcept
Return the object name.
TypeNameNoDebug("coordinateSystems")
Declare type-name, virtual type (without debug switch)
A centralized collection of named coordinate systems.
Trait for specifying global vs. local IOobject file types.
const coordinateSystem * lookupPtr(const word &name) const
Deprecated(2020-03) find named coordinateSystem or nullptr.
FOAM_DEPRECATED_FOR(2022-09, "get(), set() or test() methods") const T *operator()(const label i) const
Deprecated(2022-09) - same as get()
void operator=(const coordinateSystems &)=delete
No copy assignment.
A simple container for options an IOstream can normally have.
wordList toc() const
Identical to names()
label findIndex(const wordRe &key) const
Find and return index for the first match, return -1 if not found.
coordinateSystems(const coordinateSystems &)=delete
No copy construct.
A class for handling words, derived from Foam::string.
A List of wordRe with additional matching capabilities.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
const coordinateSystem & lookup(const word &name) const
Return reference to named coordinateSystem or FatalErrror.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc=true) const
Write using stream options.
const coordinateSystem * cfind(const word &name) const
Return pointer to named coordinateSystem or nullptr on error.
bool found(const wordRe &key) const
Search if given key exists.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Registry of regIOobjects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
static const coordinateSystems & New(const objectRegistry &obr)
Return previously registered or read construct from "constant".
bool writeData(Ostream &os) const
Write data.
labelList indices(const wordRe &key) const
Find and return indices for all matches.