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.
gradingDescriptors inv() const
Return the inverse gradingDescriptors with 1/expansionRatio.
T & operator[](const label)
Return element of UList.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
A token holds items read from Istream.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
void putBack(const token &)
Put back token.
gradingDescriptors()
Default constructor.
Istream & operator>>(Istream &, directionInfo &)
Handles the specification for grading within a section of a block.
List of gradingDescriptor for the sections of a block with additional IO functionality.