virtual autoPtr< injectedParticleCloud > clone(const word &name) const
Construct and return clone based on (this) with new name.
virtual void writeObjects(objectRegistry &obr) const
Write particle fields as objects into the obr registry.
virtual void readObjects(const objectRegistry &obr)
Read particle fields as objects from the obr registry.
virtual ~injectedParticleCloud()
Destructor.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.