44 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
46 if (
component(validComponents, cmpt) != -1)
68 if (solverDict.
found(fieldName))
72 solverDict.
lookup(fieldName)
75 const Type& residual = sp.
first().initialResidual();
82 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
84 if (
component(validComponents, cmpt) != -1)
void writeResidual(const word &fieldName)
Calculate the field min/max.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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...
const dictionary & solverPerformanceDict() const
Return the dictionary of solver performance data.
Traits class for primitives.
bool foundObject(const word &name) const
Is the named Type found?
Generic GeometricField class.
T & first()
Return the first element of the list.
Various functions to operate on Lists.
A class for handling words, derived from string.
pTraits< Type >::labelType validComponents() const
Return a labelType of valid component indicators.
const objectRegistry & obr_
Reference to the region objectRegistry.
OFstream & file()
Return access to the file (if only 1)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
const fvMesh & mesh_
Reference to the fvMesh.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.