OGS
|
Uniform subdivision operator
Definition at line 33 of file Subdivision.h.
#include <Subdivision.h>
Public Member Functions | |
UniformSubdivision (double length, std::size_t n_subdivision) | |
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 std::size_t | n_subdivision_ |
|
inline |
Configuration
length | total length to be subdivided |
n_subdivision | the number of subdivision |
Definition at line 41 of file Subdivision.h.
|
inlineoverridevirtual |
Returns a vector of subdivided points.
Implements BaseLib::ISubdivision.
Definition at line 47 of file Subdivision.h.
References length_, and n_subdivision_.
|
private |
Definition at line 60 of file Subdivision.h.
Referenced by operator()().
|
private |
Definition at line 61 of file Subdivision.h.
Referenced by operator()().