![]() |
PRISMS-PF Manual
|
Triangulation base class. More...
#include <spatial_discretization.h>
Public Types | |
| using | Triangulation |
Public Member Functions | |
| Mesh ()=default | |
| Constructor. | |
| virtual void | generate_mesh (Triangulation &triangulation) const =0 |
| Generate the mesh. | |
| virtual void | mark_boundaries (Triangulation &triangulation) const |
| Mark the boundaries of the mesh. | |
| virtual double | distance (const dealii::Point< dim > &point_1, const dealii::Point< dim > &point_2) const |
| Calculation the distance between two points considering periodic boundaries. | |
| template<typename real1, typename real2> | |
| double | distance (const dealii::Point< dim, real1 > &point_1, const dealii::Point< dim, real2 > &point_2) const |
| Calculation the distance between two points considering periodic boundaries. | |
| template<typename real1> | |
| dealii::VectorizedArray< real1 > | distance (const dealii::Point< dim, dealii::VectorizedArray< real1 > > &point_1, const dealii::Point< dim, dealii::VectorizedArray< real1 > > &point_2) const |
| Calculation the distance between two points considering periodic boundaries. | |
| virtual void | validate () const |
| Validate. | |
| virtual std::list< PeriodicPair< dim > > | periodicity_set () const |
| Periodicity set. | |
| void | mark_periodic (Triangulation &triangulation) const |
| Mark the periodic faces of the mesh. | |
| template<typename number> | |
| void | mark_periodic (const dealii::DoFHandler< dim > &dof_handler, dealii::AffineConstraints< number > &constraints) const |
| Mark the periodic faces of the mesh. | |
| template<unsigned int dim> | |
| void | mark_periodic (typename Mesh< dim >::Triangulation &triangulation) const |
Triangulation base class.
| using Mesh< dim >::Triangulation |
|
virtual |
Calculation the distance between two points considering periodic boundaries.
Reimplemented in RectangularMesh< dim >, and SpatialDiscretization< dim >.
| dealii::VectorizedArray< real1 > Mesh< dim >::distance | ( | const dealii::Point< dim, dealii::VectorizedArray< real1 > > & | point_1, |
| const dealii::Point< dim, dealii::VectorizedArray< real1 > > & | point_2 ) const |
Calculation the distance between two points considering periodic boundaries.
| double Mesh< dim >::distance | ( | const dealii::Point< dim, real1 > & | point_1, |
| const dealii::Point< dim, real2 > & | point_2 ) const |
Calculation the distance between two points considering periodic boundaries.
|
pure virtual |
Generate the mesh.
Implemented in RectangularMesh< dim >, SpatialDiscretization< dim >, and SphericalMesh< dim >.
|
inlinevirtual |
Mark the boundaries of the mesh.
Reimplemented in RectangularMesh< dim >, SpatialDiscretization< dim >, and SphericalMesh< dim >.
| void Mesh< dim >::mark_periodic | ( | const dealii::DoFHandler< dim > & | dof_handler, |
| dealii::AffineConstraints< number > & | constraints ) const |
Mark the periodic faces of the mesh.
| void Mesh< dim >::mark_periodic | ( | Triangulation & | triangulation | ) | const |
Mark the periodic faces of the mesh.
| void Mesh< dim >::mark_periodic | ( | typename Mesh< dim >::Triangulation & | triangulation | ) | const |
|
virtual |
Periodicity set.
This set contains all the information about periodicity for the system. Each entry contain tuple with three entries: the first boundary id, the second boundary id, and the direction.
Reimplemented in RectangularMesh< dim >, and SpatialDiscretization< dim >.
|
inlinevirtual |
Validate.
Reimplemented in RectangularMesh< dim >, and SphericalMesh< dim >.