41 template <
int dim,
class VectorType,
int spacedim>
46 , euler_transform_vectors(&euler_transform_vectors)
47 , shiftmap_dof_handler(&shiftmap_dof_handler)
52 template <
int dim,
class VectorType,
int spacedim>
63 AssertDimension(spacedim, shiftmap_dof_handler->get_fe().n_dofs_per_vertex());
64 AssertDimension(shiftmap_dof_handler->get_fe(0).n_components(), spacedim);
67 euler_transform_vectors->size());
73 *cell, shiftmap_dof_handler);
77 Assert(dof_cell->is_active() ==
true, ExcInactiveCell());
81 shiftmap_dof_handler->get_fe().dofs_per_cell);
82 dof_cell->get_dof_values(*euler_transform_vectors, mapping_values);
91 for (
unsigned int j = 0; j < spacedim; ++j)
92 shift_vector[j] = mapping_values(i * spacedim + j);
96 vertices[i] = cell->vertex(i) + shift_vector;
103 template <
int dim,
class VectorType,
int spacedim>
104 std::vector<Point<spacedim>>
109 vertices = this->get_vertices(cell);
120 template <
int dim,
class VectorType,
int spacedim>
121 std::unique_ptr<Mapping<dim, spacedim>>
124 return std_cxx14::make_unique<MappingQ1Eulerian<dim, VectorType, spacedim>>(
130 template <
int dim,
class VectorType,
int spacedim>
158 #include "mapping_q1_eulerian.inst"