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