Go to the documentation of this file.
43 if (solverDict.
found(fieldName))
47 solverDict.
lookup(fieldName)
50 const Type& residual = sp.first().initialResidual();
54 mesh.validComponents<Type>()
57 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
59 if (
component(validComponents, cmpt) != -1)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
A class for handling words, derived from string.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
OFstream & file()
Return access to the file (if only 1)
const objectRegistry & obr_
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
void writeResidual(const word &fieldName)
Calculate the field residuals.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
bool foundObject(const word &name) const
Is the named Type found?
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Generic GeometricField class.