Go to the documentation of this file.
50 #ifndef gradingDescriptor_H
51 #define gradingDescriptor_H
63 class gradingDescriptor;
64 class gradingDescriptors;
66 Istream&
operator>>(Istream&, gradingDescriptor&);
67 Ostream&
operator<<(Ostream&,
const gradingDescriptor&);
77 scalar blockFraction_;
79 scalar expansionRatio_;
116 return blockFraction_;
121 return nDivFraction_;
126 return expansionRatio_;
gradingDescriptor inv() const
Return the inverse gradingDescriptor with 1/expansionRatio.
Istream & operator>>(Istream &, directionInfo &)
List of gradingDescriptor for the sections of a block with additional IO functionality.
scalar expansionRatio() const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
friend Ostream & operator<<(Ostream &, const gradingDescriptor &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
scalar blockFraction() const
bool operator!=(const gradingDescriptor &) const
gradingDescriptor()
Default construct (1, 1, 1)
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,...
scalar nDivFraction() const
void correct()
Adjust expansion ratio.
~gradingDescriptor()=default
Destructor.
friend Istream & operator>>(Istream &, gradingDescriptor &)