Go to the documentation of this file.
67 scalar sumBlockFraction = 0;
68 scalar sumNDivFraction = 0;
72 sumBlockFraction += gd.blockFraction_;
73 sumNDivFraction += gd.nDivFraction_;
78 gd.blockFraction_ /= sumBlockFraction;
79 gd.nDivFraction_ /= sumNDivFraction;
91 ret[i] = operator[](ret.size() - i - 1).
inv();
Istream & operator>>(Istream &, directionInfo &)
A token holds an item read from Istream.
List of gradingDescriptor for the sections of a block with additional IO functionality.
#define forAll(list, i)
Loop across all elements in list.
bool isNumber() const noexcept
Token is LABEL, FLOAT or DOUBLE.
gradingDescriptors()
Default construct with a single default gradingDescriptor.
scalar number() const
Return label, float or double value.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
gradingDescriptors inv() const
Return the inverse gradingDescriptors with 1/expansionRatio.
Handles the specification for grading within a section of a block.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void correct()
Adjust expansion ratios.
void putBack(const token &tok)
Put back a token. Only a single put back is permitted.
void correct()
Adjust expansion ratio.