|
|
| Mesh1D ()=default |
| | Default constructor is defaulted.
|
| |
| | Mesh1D (Domain1D const &d, unsigned int const &n) |
| | Constructor for an equaly spaced mesh.
|
| |
| | Mesh1D (Geometry::OneDMeshGenerator const &gf) |
| | Constructor for an variably spaced mesh.
|
| |
| void | reset (OneDMeshGenerator const &mg) |
| | Generate mesh (it will destroy old mesh)
|
| |
|
unsigned int | numNodes () const |
| | Number of nodes.
|
| |
|
double | operator[] (int i) const |
| | The i-th node.
|
| |
|
std::vector< double > | nodes () const |
| | The nodes.
|
| |
|
std::vector< double >::iterator | begin () |
| | To use the mesh in range based for loop I need begin()
|
| |
|
std::vector< double >::const_iterator | cbegin () const |
| |
|
std::vector< double >::iterator | end () |
| | To use the mesh in range based for loop I need end()
|
| |
|
std::vector< double >::const_iterator | cend () const |
| |
| Domain1D | domain () const |
| | I return a copy of the DOmain1D.
|
| |
|
double | hmin () const |
| | The max mesh size.
|
| |
|
double | hmax () const |
| | The max mesh size.
|
| |
◆ Mesh1D() [1/2]
| Geometry::Mesh1D::Mesh1D |
( |
Domain1D const & | d, |
|
|
unsigned int const & | n ) |
Constructor for an equaly spaced mesh.
- Parameters
-
| d | A domain |
| n | Number of intervals (not nodes!) |
◆ Mesh1D() [2/2]
Constructor for an variably spaced mesh.
- Parameters
-
| gf | the policy for generating mesh |
◆ domain()
| Domain1D Geometry::Mesh1D::domain |
( |
| ) |
const |
|
inline |
I return a copy of the DOmain1D.
In case it is needed.
◆ reset()
Generate mesh (it will destroy old mesh)
- Parameters
-
The documentation for this class was generated from the following files: