37 #ifndef CloudSubModelBase_H 38 #define CloudSubModelBase_H 51 template<
class CloudType>
78 const word& dictExt =
"Coeffs" virtual void info()
Write to info.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
CloudSubModelBase(CloudType &owner)
Construct null from owner cloud.
Base class for cloud sub-models.
virtual void write(Ostream &os) const
Write to os.
virtual bool writeTime() const
Flag to indicate when to write a property.
const word & modelName() const
Return const access to the name of the sub-model.
const dictionary & dict() const
Return const access to the cloud dictionary.
virtual ~CloudSubModelBase()=default
Destructor.
const CloudType & owner() const
Return const access to the owner cloud.
A class for handling words, derived from Foam::string.
CloudType & owner_
Reference to the cloud.
virtual fileName localPath() const
Output directory.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const word & modelType() const
Return const access to the sub-model type.
OBJstream os(runTime.globalPath()/outputName)
CloudType cloudType
Type of cloud this model was instantiated for.
Base class for generic sub-models requiring to be read from dictionary. Provides a mechanism to read ...
const word & baseName() const
Return const access to the base name of the sub-model.
Templated base class for dsmc cloud.