100 explicit cloud(
const objectRegistry& obr);
107 virtual ~cloud() =
default;
128 virtual void readObjects(
const objectRegistry& obr);
137 const word& fieldName,
138 const label nParticle,
147 const word& fieldName,
148 const objectRegistry& obr
169 const word& fieldName,
184 const char* fieldName,
const word cloudName(propsDict.get< word >("cloud"))
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A primitive field of type <T> with automated input and output.
static const IOField< Type > * findIOField(const word &fieldName, const objectRegistry &obr)
Locate an IOField within object registry.
virtual void readObjects(const objectRegistry &obr)
Read particle fields from objects in the obr registry.
geometryType
Cloud geometry type (internal or IO representations).
@ COORDINATES
barycentric coordinates
static const word prefix
The prefix to local: lagrangian.
static const IOField< Type > & lookupIOField(const word &fieldName, const objectRegistry &obr)
Lookup an IOField within object registry.
static const IOField< point > * findIOPosition(const objectRegistry &obr)
Locate the "position" IOField within object registry.
cloud(const cloud &)=delete
No copy construct.
virtual label nParcels() const
Number of parcels for the hosting cloud.
TypeName("cloud")
Runtime type information.
static const Enum< geometryType > geometryTypeNames
Named enumerations "coordinates", "positions".
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the mesh topology change.
static IOField< Type > & createIOField(const word &fieldName, const label nParticle, objectRegistry &obr)
Helper to construct IOField on a supplied object registry.
void operator=(const cloud &)=delete
No copy assignment.
static const IOField< Type > & lookupIOField(const char *fieldName, const objectRegistry &obr)
Lookup an IOField within object registry.
virtual ~cloud()=default
Destructor.
static word defaultName
The default cloud name: defaultCloud.
virtual void writeObjects(objectRegistry &obr) const
Write particle fields as objects into the obr registry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Registry of regIOobjects.
const Type * cfindObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.