Go to the documentation of this file.
37 #ifndef faOptionList_H
38 #define faOptionList_H
58 Ostream&
operator<<(Ostream& os,
const fa::optionList& options);
102 const word& fieldName,
155 const word& fieldName
174 const word& fieldName
200 const word& fieldName
virtual ~optionList()
Destructor.
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.
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.
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)
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,...
Mesh data needed to do the Finite Volume discretisation.
optionList(const optionList &)=delete
No copy construct.
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.
const dictionary & optionsDict(const dictionary &dict) const
Return the "options" sub-dictionary if present otherwise return dict.
TypeName("optionList")
Runtime type information.