Handles the specification for grading within a section of a block. More...
Public Member Functions | |
| gradingDescriptor () | |
| Default constructor. More... | |
| gradingDescriptor (const scalar blockFraction, const scalar nDivFraction, const scalar expansionRatio) | |
| Construct from components. More... | |
| gradingDescriptor (const scalar expansionRatio) | |
| Construct from expansionRatio. More... | |
| gradingDescriptor (Istream &is) | |
| Construct from Istream. More... | |
| ~gradingDescriptor ()=default | |
| Destructor. More... | |
| scalar | blockFraction () const |
| scalar | nDivFraction () const |
| scalar | expansionRatio () const |
| gradingDescriptor | inv () const |
| Return the inverse gradingDescriptor with 1/expansionRatio. More... | |
| bool | operator== (const gradingDescriptor &) const |
| bool | operator!= (const gradingDescriptor &) const |
Friends | |
| class | gradingDescriptors |
| Istream & | operator>> (Istream &, gradingDescriptor &) |
| Ostream & | operator<< (Ostream &, const gradingDescriptor &) |
| Istream & | operator>> (Istream &, gradingDescriptors &) |
Handles the specification for grading within a section of a block.
The grading specification is handled is controlled by three parameters:
Definition at line 72 of file gradingDescriptor.H.
Default constructor.
Definition at line 35 of file gradingDescriptor.C.
| gradingDescriptor | ( | const scalar | blockFraction, |
| const scalar | nDivFraction, | ||
| const scalar | expansionRatio | ||
| ) |
Construct from components.
Definition at line 44 of file gradingDescriptor.C.
|
explicit |
Construct from expansionRatio.
Definition at line 62 of file gradingDescriptor.C.
|
explicit |
Construct from Istream.
Definition at line 77 of file gradingDescriptor.C.
|
default |
Destructor.
|
inline |
Definition at line 114 of file gradingDescriptor.H.
|
inline |
Definition at line 119 of file gradingDescriptor.H.
|
inline |
Definition at line 124 of file gradingDescriptor.H.
| Foam::gradingDescriptor inv | ( | ) | const |
Return the inverse gradingDescriptor with 1/expansionRatio.
Definition at line 85 of file gradingDescriptor.C.
| bool operator== | ( | const gradingDescriptor & | gd | ) | const |
Definition at line 98 of file gradingDescriptor.C.
References Foam::equal().
| bool operator!= | ( | const gradingDescriptor & | gd | ) | const |
Definition at line 107 of file gradingDescriptor.C.
References Foam::operator==().
|
friend |
Definition at line 83 of file gradingDescriptor.H.
|
friend |
|
friend |
|
friend |