OGS
|
Gradual subdivision operator with a constant multiplier_
Definition at line 67 of file Subdivision.h.
#include <Subdivision.h>
Public Member Functions | |
GradualSubdivision (const double L, const double dL0, const double max_dL, const double multiplier) | |
std::vector< double > | operator() () const override |
Returns a vector of subdivided points. | |
Public Member Functions inherited from BaseLib::ISubdivision | |
virtual | ~ISubdivision ()=default |
Private Attributes | |
const double | length_ |
const double | dL0_ |
const double | max_dL_ |
const double | multiplier_ |
BaseLib::GradualSubdivision::GradualSubdivision | ( | const double | L, |
const double | dL0, | ||
const double | max_dL, | ||
const double | multiplier ) |
Constructor
L | total length to be subdivided |
dL0 | initial cell length |
max_dL | maximum cell length |
multiplier | multiplier to cell length |
Definition at line 20 of file Subdivision.cpp.
References OGS_FATAL.
|
overridevirtual |
Returns a vector of subdivided points.
Implements BaseLib::ISubdivision.
Definition at line 39 of file Subdivision.cpp.
References dL0_, length_, max_dL_, and multiplier_.
|
private |
Definition at line 87 of file Subdivision.h.
Referenced by operator()().
|
private |
Definition at line 86 of file Subdivision.h.
Referenced by operator()().
|
private |
Definition at line 88 of file Subdivision.h.
Referenced by operator()().
|
private |
Definition at line 89 of file Subdivision.h.
Referenced by operator()().