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