Go to the documentation of this file.
37 #ifndef faOptionList_H
38 #define faOptionList_H
57 Ostream&
operator<<(Ostream&
os,
const fa::optionList& options);
101 const word& fieldName,
156 const word& fieldName
175 const word& fieldName
201 const word& fieldName
label checkTimeIndex_
Time index to check that all defined sources have been applied.
tmp< faMatrix< Type > > source(GeometricField< Type, faPatchField, areaMesh > &field, const areaScalarField &h, const word &fieldName, const dimensionSet &ds)
Return source for equation with specified name and dimensions.
static const dictionary & optionsDict(const dictionary &dict)
Return "options" sub-dictionary (if present) or return dict.
A special matrix type and solver, designed for finite area solutions of scalar equations....
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
tmp< faMatrix< Type > > d2dt2(GeometricField< Type, faPatchField, areaMesh > &field)
Return source for equation with second time derivative.
void operator=(const optionList &)=delete
No copy assignment.
List of finite volume options.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
const fvPatch & patch_
Reference to the patch.
bool readOptions(const dictionary &dict)
Read options dictionary.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual ~optionList()=default
Destructor.
const dimensionedScalar h
Planck constant.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void constrain(faMatrix< Type > &eqn)
Apply constraints to equation.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Mesh data needed to do the Finite Volume discretisation.
optionList(const optionList &)=delete
No copy construct.
bool appliesToField(const word &fieldName) const
Return whether there is something to apply to the field.
void reset(const dictionary &dict)
Reset the source list.
virtual bool read(const dictionary &dict)
Read dictionary.
const fvMesh & mesh_
Reference to the mesh database.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void checkApplied() const
Check that all sources have been applied.
Generic GeometricField class.
void correct(GeometricField< Type, faPatchField, areaMesh > &field)
Apply correction to field.
virtual bool writeData(Ostream &os) const
Write data to Ostream.
TypeName("optionList")
Runtime type information.