43 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
45 if (
component(validComponents, cmpt) != -1)
70 const Type& residual = sp.
first().initialResidual();
74 mesh_.validComponents<Type>()
77 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
79 if (
component(validComponents, cmpt) != -1)
Various functions to operate on Lists.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic GeometricField class.
DemandDrivenMeshObject to store the solver performance residuals of all the fields of the type it is ...
T & first()
Return the first element of the list.
const fvMesh & mesh_
Reference to the fvMesh.
OFstream & file()
Return access to the file (if only 1)
const objectRegistry & obr_
Reference to the region objectRegistry.
void writeResidual(const word &fieldName)
Calculate the field min/max.
void writeFileHeader(const word &fieldName)
Output field header information.
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
pTraits< Type >::labelType validComponents() const
Return a labelType of valid component indicators.
bool foundObject(const word &name) const
Is the named Type in registry.
Traits class for primitives.
A class for handling words, derived from string.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)