![]() |
PRISMS-PF Manual
|
Class for rectangular mesh parameters. More...
#include <spatial_discretization.h>
Public Member Functions | |
| RectangularMesh ()=default | |
| Constructor. | |
| RectangularMesh (dealii::Tensor< 1, dim, double > _size, dealii::Tensor< 1, dim, double > _lower_bound, std::array< unsigned int, dim > _subdivisions) | |
| Constructor. | |
| void | generate_mesh (Triangulation< dim > &triangulation) const |
| Generate the mesh. | |
| void | validate () const |
| Validate. | |
| void | mark_boundaries (Triangulation< dim > &triangulation) const |
| Mark the boundaries of the mesh. | |
| void | mark_periodic (Triangulation< dim > &triangulation) const |
| Mark the periodic faces of the mesh. | |
| template<typename MeshType > | |
| void | collect_periodic_faces (const MeshType &triangulation, std::vector< dealii::GridTools::PeriodicFacePair< typename MeshType::cell_iterator > > &periodicity_vector) const |
| Get the periodic face pairs. | |
Public Attributes | |
| dealii::Tensor< 1, dim, double > | size |
| Domain extents in each cartesian direction. | |
| dealii::Tensor< 1, dim, double > | lower_bound |
| Domain extents in each cartesian direction. | |
| std::vector< unsigned int > | subdivisions = std::vector<unsigned int>(dim, 1) |
| Mesh subdivisions in each cartesian direction. | |
| std::set< unsigned int > | periodic_directions |
| Which directions have periodic conditions. | |
|
default |
Constructor.
|
inline |
Constructor.
|
inline |
Get the periodic face pairs.
|
inline |
Generate the mesh.
|
inline |
Mark the boundaries of the mesh.
|
inline |
Mark the periodic faces of the mesh.
|
inline |
Validate.
Domain extents in each cartesian direction.
Which directions have periodic conditions.
Domain extents in each cartesian direction.
Mesh subdivisions in each cartesian direction.