50 ret[i] = operator[](ret.
size() - i - 1).
inv();
76 is.
check(
"operator>>(Istream&, gradingDescriptor&)");
81 scalar sumBlockFraction = 0;
82 scalar sumNDivFraction = 0;
86 sumBlockFraction += gds[i].blockFraction_;
87 sumNDivFraction += gds[i].nDivFraction_;
92 gds[i].blockFraction_ /= sumBlockFraction;
93 gds[i].nDivFraction_ /= sumNDivFraction;
#define forAll(list, i)
Loop across all elements in list.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void putBack(const token &)
Put back token.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
Handles the specification for grading within a section of a block.
List of gradingDescriptor for the sections of a block with additional IO functionality.
gradingDescriptors()
Default constructor.
gradingDescriptors inv() const
Return the inverse gradingDescriptors with 1/expansionRatio.
A token holds items read from Istream.
Istream & operator>>(Istream &, pistonPointEdgeData &)