44 mesh.validComponents<Type>()
47 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
49 if (
component(validComponents, cmpt) != -1)
73 if (solverDict.
found(fieldName))
77 solverDict.
lookup(fieldName)
80 const Type& residual = sp.
first().initialResidual();
84 mesh.validComponents<Type>()
87 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
89 if (
component(validComponents, cmpt) != -1)
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
void writeResidual(const word &fieldName)
Calculate the field min/max.
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool foundObject(const word &name) const
Is the named Type found?
void writeFileHeader(const word &fieldName)
Output field header information.
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.
Generic GeometricField class.
T & first()
Return the first element of the list.
Various functions to operate on Lists.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
A class for handling words, derived from string.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
OFstream & file()
Return access to the file (if only 1)
Mesh data needed to do the Finite Volume discretisation.
const objectRegistry & obr_
Reference to the region objectRegistry.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.