|
DUBeat 1.0.1
High-order discontinuous Galerkin methods and applications to cardiac electrophysiology
|
Class for the main operations on the faces of a discontinuous Galerkin element. More...
#include <face_handler_DG.hpp>


Public Member Functions | |
| FaceHandlerDG (const unsigned int degree) | |
| Constructor. | |
| FaceHandlerDG (FaceHandlerDG< dim > &FaceHandlerDG)=default | |
| Default copy constructor. | |
| FaceHandlerDG (const FaceHandlerDG< dim > &FaceHandlerDG)=default | |
| Default const copy constructor. | |
| FaceHandlerDG (FaceHandlerDG< dim > &&FaceHandlerDG)=default | |
| Default move constructor. | |
| void | reinit (const typename dealii::DoFHandler< dim >::active_cell_iterator &new_cell, const unsigned int new_edge) |
| Reinit objects on the current new_cell and new_edge. | |
| dealii::Point< dim > | quadrature_real (const unsigned int q) const override |
| Return the \(q\)-th spatial quadrature point position on the actual element. | |
| dealii::Point< dim > | quadrature_ref (const unsigned int q) const override |
| Return the \(q\)-th spatial quadrature point position on the reference element. | |
| double | quadrature_weight (const unsigned int q) const override |
| Return the quadrature weight associated to the \(q\)-th quadrature point. | |
| int | corresponding_neigh_index (const unsigned int q, const FaceHandlerDG< dim > &FaceHandlerDG_neigh) const |
| To manually obtain the associated quadrature point index in the neighbor element on the shared face. | |
| dealii::Tensor< 1, dim > | get_normal () const |
| Outward normal vector on the current element and face. | |
| double | get_measure () const |
| Measure of face. | |
| virtual | ~FaceHandlerDG ()=default |
| Destructor. | |
| double | get_measure () const |
| Specialization to measure the face in two dimensions (i.e., length of a segment). | |
| double | get_measure () const |
| Specialization to measure the area of the face for a three dimensional tethraedron (i.e., area of a triangle). | |
Public Member Functions inherited from VolumeHandlerDG< dim > | |
| VolumeHandlerDG (const unsigned int degree) | |
| Constructor. | |
| VolumeHandlerDG (VolumeHandlerDG< dim > &VolumeHandlerDG)=default | |
| Default copy constructor. | |
| VolumeHandlerDG (const VolumeHandlerDG< dim > &VolumeHandlerDG)=default | |
| Default const copy constructor. | |
| VolumeHandlerDG (VolumeHandlerDG< dim > &&VolumeHandlerDG)=default | |
| Default move constructor. | |
| void | reinit (const typename dealii::DoFHandler< dim >::active_cell_iterator &new_cell) |
| Reinit objects on the current new_cell. | |
| dealii::Tensor< 2, dim > | get_jacobian_inverse () const |
| Inverse of the Jacobian of the reference-to-actual transformation. | |
| unsigned int | get_n_quad_points () const |
| Get the number of quadrature points on the current element. | |
| virtual | ~VolumeHandlerDG ()=default |
| Destructor. | |
Private Attributes | |
| unsigned int | edge |
| Index of the actual face. | |
| const double | tol = 1e-10 |
| Default tolerance. | |
| const QGaussLegendreSimplex< dim - 1 > | QGLpoints_face |
| Quadrature formula for face elements. | |
| std::unique_ptr< dealii::FEFaceValues< dim > > | fe_face_values |
| Internal FEM basis class for face elements. | |
Additional Inherited Members | |
Protected Attributes inherited from VolumeHandlerDG< dim > | |
| const unsigned int | n_quad_points_1D |
| Number of quadrature points in one dimensional elements. | |
| dealii::DoFHandler< dim >::active_cell_iterator | cell |
| Actual DG cell. | |
| const std::unique_ptr< dealii::FE_SimplexDGP< dim > > | fe_dg |
| Internal Lagrangian basis class. | |
| const std::unique_ptr< dealii::MappingFE< dim > > | mapping |
| Mapping of the discretized space, needed for geometrical reference-to-actual operations. | |
| const QGaussLegendreSimplex< dim > | QGLpoints |
| Quadrature formula for volume elements. | |
| std::unique_ptr< dealii::FEValues< dim > > | fe_values |
| Internal FEM basis class. | |
| bool | initialized = false |
| A condition to inform if the class is initialized on an element or not. | |
Class for the main operations on the faces of a discontinuous Galerkin element.
Definition at line 48 of file face_handler_DG.hpp.
|
inline |
Constructor.
Definition at line 64 of file face_handler_DG.hpp.
|
default |
Default copy constructor.
|
default |
Default const copy constructor.
|
default |
Default move constructor.
|
virtualdefault |
Destructor.
| int FaceHandlerDG< dim >::corresponding_neigh_index | ( | const unsigned int | q, |
| const FaceHandlerDG< dim > & | FaceHandlerDG_neigh | ||
| ) | const |
To manually obtain the associated quadrature point index in the neighbor element on the shared face.
Definition at line 185 of file face_handler_DG.hpp.
| double FaceHandlerDG< dim >::get_measure | ( | ) | const |
Measure of face.
| double FaceHandlerDG< 2 >::get_measure | ( | ) | const |
Specialization to measure the face in two dimensions (i.e., length of a segment).
Definition at line 230 of file face_handler_DG.hpp.
| double FaceHandlerDG< 3 >::get_measure | ( | ) | const |
Specialization to measure the area of the face for a three dimensional tethraedron (i.e., area of a triangle).
The method exploits the Erone's formula since deal.II does not have so far a version for triangles.
Definition at line 243 of file face_handler_DG.hpp.
| dealii::Tensor< 1, dim > FaceHandlerDG< dim >::get_normal | ( | ) | const |
Outward normal vector on the current element and face.
Definition at line 218 of file face_handler_DG.hpp.
|
overridevirtual |
Return the \(q\)-th spatial quadrature point position on the actual element.
Reimplemented from VolumeHandlerDG< dim >.
Definition at line 142 of file face_handler_DG.hpp.
|
overridevirtual |
Return the \(q\)-th spatial quadrature point position on the reference element.
Reimplemented from VolumeHandlerDG< dim >.
Definition at line 156 of file face_handler_DG.hpp.
|
overridevirtual |
Return the quadrature weight associated to the \(q\)-th quadrature point.
Reimplemented from VolumeHandlerDG< dim >.
Definition at line 171 of file face_handler_DG.hpp.
| void FaceHandlerDG< dim >::reinit | ( | const typename dealii::DoFHandler< dim >::active_cell_iterator & | new_cell, |
| const unsigned int | new_edge | ||
| ) |
Reinit objects on the current new_cell and new_edge.
Definition at line 129 of file face_handler_DG.hpp.
|
private |
Index of the actual face.
Definition at line 52 of file face_handler_DG.hpp.
|
private |
Internal FEM basis class for face elements.
This internal member permits to exploit useful already implemented operations. The polynomial order is always 1 because it is only needed for geometric operations not related to the degrees of freedom.
Definition at line 64 of file face_handler_DG.hpp.
|
private |
Quadrature formula for face elements.
Definition at line 58 of file face_handler_DG.hpp.
|
private |
Default tolerance.
Definition at line 55 of file face_handler_DG.hpp.