45 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
47 if (
component(validComponents, cmpt) != -1)
74 const Type& residual = sp.
first().initialResidual();
81 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
83 if (
component(validComponents, cmpt) != -1)
void writeResidual(const word &fieldName)
Calculate the field min/max.
void writeFileHeader(const word &fieldName)
Output field header information.
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 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
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.
MeshObject to store the solver performance residuals of all the fields of the type it is instantiated...
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.