43 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
45 if (
component(validComponents, cmpt) != -1)
65 mesh_.validComponents<Type>()
79 const Type& residual = sp.
first().initialResidual();
81 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
83 if (
component(validComponents, cmpt) != -1)
91 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
93 if (
component(validComponents, cmpt) != -1)
95 writeTabbed(
file(),
"N/A");
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 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(LagrangianPatchField< typename LagrangianPatchField< Type >::cmptType > &sf, const LagrangianPatchField< Type > &f, const direction d)