Go to the documentation of this file.
57 const bool loadFromFiles
65 fieldName_(
"unknown-fieldName"),
71 if (setActive<fvMesh>())
74 writeFileHeader(file());
76 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
92 zeroGradientFvPatchScalarField::typeName
96 mesh.objectRegistry::store(indicatorPtr);
115 log_.readIfPresent(
"log",
dict);
123 resultName_ = name_ +
':' + fieldName_;
127 if ((tolerance_ < 0) || (tolerance_ > 1))
130 <<
"tolerance must be in the range 0 to 1. Supplied value: "
167 <<
type() <<
" " << name_ <<
" output:" <<
nl
168 <<
" writing field " << indicator.name() <<
nl
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
A class for handling words, derived from string.
Base class for function objects, adding functionality to read/write state information (data required ...
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
bool read(const char *, int32_t &)
virtual void write()
Calculate the blendingFactor and write.
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
void read(const dictionary &dict)
Read.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Registry of regIOobjects.
blendingFactor(const blendingFactor &)
Disallow default bitwise copy construct.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
Generic dimensioned Type class.
virtual void read(const dictionary &)
Read the blendingFactor data.
virtual void end()
Execute at the final time-loop, currently does nothing.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual ~blendingFactor()
Destructor.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
virtual void execute()
Execute, currently does nothing.
Base class for output file data handling.
static const word null
An empty word.
const Time & time() const
Return the top-level database.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
virtual void writeFileHeader(Ostream &os) const
Write the file header.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.