107 virtual ~cloud() =
default;
137 const word& fieldName,
138 const label nParticle,
147 const word& fieldName,
169 const word& fieldName,
170 const objectRegistry& obr
173 return obr.lookupObject<IOField<Type>>(fieldName);
184 const char* fieldName,
static word defaultName
The default cloud name: defaultCloud.
static const IOField< point > * findIOPosition(const objectRegistry &obr)
Locate the "position" IOField within object registry.
static const IOField< Type > * findIOField(const word &fieldName, const objectRegistry &obr)
Locate an IOField within object registry.
virtual ~cloud()=default
Destructor.
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...
virtual label nParcels() const
Number of parcels for the hosting cloud.
static IOField< Type > & createIOField(const word &fieldName, const label nParticle, objectRegistry &obr)
Helper to construct IOField on a supplied object registry.
geometryType
Cloud geometry type (internal or IO representations)
const Type * cfindObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
static const IOField< Type > & lookupIOField(const word &fieldName, const objectRegistry &obr)
Lookup an IOField within object registry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the mesh topology change.
TypeName("cloud")
Runtime type information.
virtual void readObjects(const objectRegistry &obr)
Read particle fields from objects in the obr registry.
const word cloudName(propsDict.get< word >("cloud"))
void operator=(const cloud &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
A cloud is a registry collection of lagrangian particles.
virtual void writeObjects(objectRegistry &obr) const
Write particle fields as objects into the obr registry.
Registry of regIOobjects.
A primitive field of type <T> with automated input and output.
static const Enum< geometryType > geometryTypeNames
Named enumerations "coordinates", "positions".
static const word prefix
The prefix to local: lagrangian.
cloud(const cloud &)=delete
No copy construct.