Go to the documentation of this file.
53 ret[i] = operator[](ret.size() - i - 1).
inv();
84 scalar sumBlockFraction = 0;
85 scalar sumNDivFraction = 0;
89 sumBlockFraction += gds[i].blockFraction_;
90 sumNDivFraction += gds[i].nDivFraction_;
95 gds[i].blockFraction_ /= sumBlockFraction;
96 gds[i].nDivFraction_ /= sumNDivFraction;
bool isNumber() const
Token is LABEL, FLOAT_SCALAR or DOUBLE_SCALAR.
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.
gradingDescriptors()
Default constructor.
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 putBack(const token &tok)
Put back token.