34template<
class CloudType>
44template<
class CloudType>
50 const word& modelType,
56 owner.outputProperties(),
68template<
class CloudType>
81 owner.outputProperties(),
92template<
class CloudType>
107template<
class CloudType>
114template<
class CloudType>
121template<
class CloudType>
126 &&
owner_.solution().transient()
127 &&
owner_.db().time().writeTime();
131template<
class CloudType>
134 if (!modelName_.empty())
143template<
class CloudType>
150template<
class CloudType>
153 os.writeEntry(
"owner",
owner_.name());
Base class for cloud sub-models.
virtual fileName localPath() const
Output directory.
virtual void write(Ostream &os) const
Write to os.
CloudType & owner_
Reference to the cloud.
const CloudType & owner() const
Return const access to the owner cloud.
virtual void info()
Write to info.
CloudSubModelBase(CloudType &owner)
Construct null from owner cloud.
virtual bool writeTime() const
Flag to indicate when to write a property.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const word prefix
The prefix to local: lagrangian.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Base class for generic sub-models requiring to be read from dictionary. Provides a mechanism to read ...
const word modelName_
Name of the sub-model.
const word & baseName() const
Return const access to the base name of the sub-model.
virtual void write(Ostream &os) const
Write.
const dictionary & dict() const
Return const access to the cloud dictionary.
const word & modelName() const
Return const access to the name of the sub-model.
const word & modelType() const
Return const access to the sub-model type.
virtual bool active() const
Return the model 'active' status - default active = true.
bool log
Flag to write log into Info.
subModelBase(dictionary &properties)
Construct null.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
DSMCCloud< dsmcParcel > CloudType