37 #ifndef Foam_faOptionList_H 38 #define Foam_faOptionList_H 59 Ostream&
operator<<(Ostream&
os,
const fa::optionList& options);
100 const word& fieldName,
155 const word& fieldName
174 const word& fieldName
200 const word& fieldName
label checkTimeIndex_
Time index to check that all defined sources have been applied.
void operator=(const optionList &)=delete
No copy assignment.
void constrain(faMatrix< Type > &eqn)
Apply constraints to equation.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void reset(const dictionary &dict)
Reset the source list.
List of finite volume options.
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.
Generic GeometricField class.
void correct(GeometricField< Type, faPatchField, areaMesh > &field)
Apply correction to field.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
A class for handling words, derived from Foam::string.
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.
friend Ostream & operator(Ostream &os, const UPtrList< T > &list)
Write UPtrList to Ostream.
optionList(const optionList &)=delete
No copy construct.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
tmp< faMatrix< Type > > d2dt2(GeometricField< Type, faPatchField, areaMesh > &field)
Return source for equation with second time derivative.
const dimensionedScalar h
Planck constant.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite area solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
virtual bool writeData(Ostream &os) const
Write data to Ostream.
virtual bool read(const dictionary &dict)
Read dictionary.
const fvMesh & mesh_
Reference to the mesh database.
A class for managing temporary objects.
bool readOptions(const dictionary &dict)
Read options dictionary.
virtual ~optionList()=default
Destructor.
TypeName("optionList")
Runtime type information.
void checkApplied() const
Check that all sources have been applied.