40 #ifndef Foam_fvOptionList_H 41 #define Foam_fvOptionList_H 61 Ostream&
operator<<(Ostream&
os,
const fv::optionList& options);
101 const word& fieldName,
154 const word& fieldName
171 const word& fieldName
190 const word& fieldName
232 const word& fieldName
248 class Type,
template<
class>
class PatchField,
class GeoMesh 263 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
void correct(GeometricField< Type, PatchField, GeoMesh > &field)
Apply correction to field.
bool readOptions(const dictionary &dict)
Read options dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
optionList(const optionList &)=delete
No copy construct.
static const dictionary & optionsDict(const dictionary &dict)
Return "options" sub-dictionary (if present) or return dict.
const fvMesh & mesh_
Reference to the mesh database.
void postProcessSens(Field< Type > &sensField, const word &fieldName=word::null, const word &designVariablesName=word::null)
Post process sensitivity field related to the fvOption.
Generic GeometricField class.
tmp< fvMatrix< Type > > source(GeometricField< Type, fvPatchField, volMesh > &field, const word &fieldName, const dimensionSet &ds)
Return source for equation with specified name and dimensions.
label checkTimeIndex_
Time index to check that all defined sources have been applied.
void postProcessAuxSens(const GeometricField< Type, PatchField, GeoMesh > &primal, const GeometricField< Type, PatchField, GeoMesh > &adjoint, scalarField &sensField, const word &fieldName=word::null)
Post process auxiliary sensitivity field related to the fvOption.
void operator=(const optionList &)=delete
No copy assignment.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
TypeName("optionList")
Runtime type information.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
Generic templated field type.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
friend Ostream & operator(Ostream &os, const UPtrList< T > &list)
Write UPtrList to Ostream.
bool appliesToField(const word &fieldName) const
Return whether there is something to apply to the field.
void constrain(fvMatrix< Type > &eqn)
Apply constraints to equation.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void reset(const dictionary &dict)
Reset the source list.
void checkApplied() const
Check that all sources have been applied.
OBJstream os(runTime.globalPath()/outputName)
virtual ~optionList()=default
Destructor.
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.
List of finite volume options.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
virtual bool writeData(Ostream &os) const
Write data to Ostream.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
tmp< fvMatrix< Type > > d2dt2(GeometricField< Type, fvPatchField, volMesh > &field)
Return source for equation with second time derivative.
virtual bool read(const dictionary &dict)
Read dictionary.