51 for (
direction d = 0; d < pTraits<Type>::nComponents; ++d)
65 for (
direction d = 0; d < pTraits<Type>::nComponents; ++d)
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic templated field type.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
A primitive field of type <T> with automated input and output.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
List< Tuple2< word, scalar > > nameVsBinWidth_
List of field name vs. bin width.
bool processField(const objectRegistry &obr, const label fieldi, const List< DynamicList< label > > &addr)
void generateDistribution(const word &fieldName, const scalarField &field, const scalar binWidth, const label tag=-1)
Generate the distribution.
virtual const objectRegistry & obr() const
The region or sub-region registry being used.
Registry of regIOobjects.
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
const Type & lookupObject(const word &name, const bool recursive=false) const
A traits class, which is primarily used for primitives.
A class for handling words, derived from Foam::string.
#define forAll(list, i)
Loop across all elements in list.