|
| MappingDoFVector (unsigned int const mapping_degree) |
|
virtual | ~MappingDoFVector () |
|
std::shared_ptr< dealii::Mapping< dim > const > | get_mapping () const |
|
std::shared_ptr< dealii::MappingQCache< dim > > | get_mapping_q_cache () const |
|
void | fill_grid_coordinates_vector (VectorType &grid_coordinates, dealii::DoFHandler< dim > const &dof_handler) const |
|
void | fill_grid_coordinates_vector (dealii::Mapping< dim > const &mapping, VectorType &grid_coordinates, dealii::DoFHandler< dim > const &dof_handler) const |
|
void | initialize_mapping_from_dof_vector (std::shared_ptr< dealii::Mapping< dim > const > mapping, VectorType const &displacement_vector, dealii::DoFHandler< dim > const &dof_handler) |
|
template<int dim, typename Number>
class ExaDG::MappingDoFVector< dim, Number >
A mapping class based on dealii::MappingQCache equipped with practical interfaces that can be used to initialize the mapping.
The two functions fill_grid_coordinates_vector() and initialize_mapping_q_cache() should become member functions of dealii::MappingQCache in dealii, rendering this class superfluous in ExaDG.
template<int dim, typename Number>
void ExaDG::MappingDoFVector< dim, Number >::initialize_mapping_from_dof_vector |
( |
std::shared_ptr< dealii::Mapping< dim > const > | mapping, |
|
|
VectorType const & | displacement_vector, |
|
|
dealii::DoFHandler< dim > const & | dof_handler ) |
|
inline |
Initializes the dealii::MappingQCache object by providing a mapping that describes an undeformed reference configuration and a displacement dof-vector (with a corresponding dealii::DoFHandler object) that describes the displacement of the mesh compared to that reference configuration. There are two special cases:
If the mapping pointer is invalid, this implies that the reference coordinates are interpreted as zero, i.e., the displacement vector describes the absolute coordinates of the grid points.
If the displacement_vector is empty or uninitialized, this implies that no displacements will be added to the grid coordinates of the reference configuration described by mapping.