RectangularMesh< dim_ > Class Template Reference#
|
DiFfRG
|
Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
DiFfRG::RectangularMesh< dim_ > Class Template Reference
Class to manage the discretization mesh, also called grid and triangluation, on which we simulate. This class only builds cartesian, regular grids, however cell density in all directions can be chosen independently. More...
#include <rectangular_mesh.hh>
Public Member Functions | |
| RectangularMesh (const JSONValue &json) | |
| Construct a new RectangularMesh object. | |
| Triangulation< dim > & | get_triangulation () |
| const Triangulation< dim > & | get_triangulation () const |
Static Public Attributes | |
| static constexpr uint | dim = dim_ |
| static constexpr bool | is_rectangular = true |
Protected Member Functions | |
| virtual void | make_grid () |
Protected Attributes | |
| const JSONValue & | json |
| Triangulation< dim > | triangulation |
Detailed Description
template<uint dim_>
class DiFfRG::RectangularMesh< dim_ >
class DiFfRG::RectangularMesh< dim_ >
Class to manage the discretization mesh, also called grid and triangluation, on which we simulate. This class only builds cartesian, regular grids, however cell density in all directions can be chosen independently.
- Template Parameters
-
dim dimensionality of the spatial discretization.
Constructor & Destructor Documentation
◆ RectangularMesh()
template<uint dim_>
| DiFfRG::RectangularMesh< dim_ >::RectangularMesh | ( | const JSONValue & | json | ) |
Construct a new RectangularMesh object.
- Parameters
-
json JSONValue object containing the parameters for the mesh.
Member Function Documentation
◆ get_triangulation() [1/2]
template<uint dim_>
|
inline |
◆ get_triangulation() [2/2]
template<uint dim_>
|
inline |
◆ make_grid()
template<uint dim_>
|
protectedvirtual |
Member Data Documentation
◆ dim
template<uint dim_>
|
staticconstexpr |
◆ is_rectangular
template<uint dim_>
|
staticconstexpr |
◆ json
template<uint dim_>
|
protected |
◆ triangulation
template<uint dim_>
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/mesh/rectangular_mesh.hh
Generated by