DiFfRG
|
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 |
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.
dim | dimensionality of the spatial discretization. |
DiFfRG::RectangularMesh< dim_ >::RectangularMesh | ( | const JSONValue & | json | ) |
Construct a new RectangularMesh object.
json | JSONValue object containing the parameters for the mesh. |
|
inline |
|
inline |
|
protectedvirtual |
|
staticconstexpr |
|
staticconstexpr |
|
protected |
|
protected |