50 #ifndef gradingDescriptor_H 51 #define gradingDescriptor_H 61 class gradingDescriptor;
62 class gradingDescriptors;
64 Istream&
operator>>(Istream&, gradingDescriptor&);
65 Ostream&
operator<<(Ostream&,
const gradingDescriptor&);
75 scalar blockFraction_;
77 scalar expansionRatio_;
114 return blockFraction_;
119 return nDivFraction_;
124 return expansionRatio_;
scalar blockFraction() const
void correct()
Adjust expansion ratio.
bool operator==(const gradingDescriptor &) const
gradingDescriptor inv() const
Return the inverse gradingDescriptor with 1/expansionRatio.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar nDivFraction() const
gradingDescriptor()
Default construct (1, 1, 1)
Istream & operator>>(Istream &, directionInfo &)
Handles the specification for grading within a section of a block.
bool operator!=(const gradingDescriptor &) const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
friend Istream & operator>>(Istream &, gradingDescriptor &)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
scalar expansionRatio() const
List of gradingDescriptor for the sections of a block with additional IO functionality.
friend Ostream & operator<<(Ostream &, const gradingDescriptor &)
~gradingDescriptor()=default
Destructor.