16 #ifndef dealii_mapping_manifold_h 17 #define dealii_mapping_manifold_h 20 #include <deal.II/base/config.h> 22 #include <deal.II/base/array_view.h> 23 #include <deal.II/base/derivative_form.h> 24 #include <deal.II/base/quadrature.h> 26 #include <deal.II/fe/mapping.h> 30 DEAL_II_NAMESPACE_OPEN
59 template <
int dim,
int spacedim = dim>
74 virtual std::unique_ptr<Mapping<dim, spacedim>>
75 clone()
const override;
185 const unsigned int n_original_q_points);
195 const unsigned int n_original_q_points);
291 std::array<std::vector<Tensor<1, dim>>,
304 mutable std::vector<DerivativeForm<1, dim, spacedim>>
covariant;
318 mutable std::vector<std::vector<Tensor<1, spacedim>>>
aux;
340 virtual std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
344 virtual std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
349 virtual std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
361 &output_data)
const override;
367 const unsigned int face_no,
371 &output_data)
const override;
377 const unsigned int face_no,
378 const unsigned int subface_no,
382 &output_data)
const override;
397 template <
int dim,
int spacedim>
403 for (
unsigned int i = 0; i < GeometryInfo<dim>::vertices_per_cell; ++i)
409 template <
int dim,
int spacedim>
414 cell_manifold_quadrature_weights.resize(
416 for (
unsigned int q = 0; q < quad.
size(); ++q)
418 for (
unsigned int i = 0; i < GeometryInfo<dim>::vertices_per_cell; ++i)
420 cell_manifold_quadrature_weights[q][i] =
428 template <
int dim,
int spacedim>
440 DEAL_II_NAMESPACE_CLOSE
std::vector< DerivativeForm< 1, dim, spacedim > > covariant
virtual bool preserves_vertex_locations() const override
virtual void transform(const ArrayView< const Tensor< 1, dim >> &input, const MappingType type, const typename Mapping< dim, spacedim >::InternalDataBase &internal, const ArrayView< Tensor< 1, spacedim >> &output) const override
virtual CellSimilarity::Similarity fill_fe_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const CellSimilarity::Similarity cell_similarity, const Quadrature< dim > &quadrature, const typename Mapping< dim, spacedim >::InternalDataBase &internal_data, ::internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &output_data) const override
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
SmartPointer< const Manifold< dim, spacedim > > manifold
std::vector< DerivativeForm< 1, dim, spacedim > > contravariant
std::array< std::vector< Tensor< 1, dim > >, GeometryInfo< dim >::faces_per_cell *(dim - 1)> unit_tangentials
const Point< dim > & point(const unsigned int i) const
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_subface_data(const UpdateFlags flags, const Quadrature< dim - 1 > &quadrature) const override
void store_vertices(const typename Triangulation< dim, spacedim >::cell_iterator &cell) const
virtual std::size_t memory_consumption() const override
Triangulation< dim, spacedim >::cell_iterator cell
std::vector< Point< spacedim > > vertices
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override
std::vector< std::vector< Tensor< 1, spacedim > > > aux
Abstract base class for mapping classes.
virtual void fill_fe_face_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const unsigned int face_no, const Quadrature< dim - 1 > &quadrature, const typename Mapping< dim, spacedim >::InternalDataBase &internal_data, ::internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &output_data) const override
void initialize(const UpdateFlags update_flags, const Quadrature< dim > &quadrature, const unsigned int n_original_q_points)
std::vector< double > volume_elements
unsigned int size() const
std::vector< double > vertex_weights
void compute_manifold_quadrature_weights(const Quadrature< dim > &quadrature)
static double d_linear_shape_function(const Point< dim > &xi, const unsigned int i)
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_face_data(const UpdateFlags flags, const Quadrature< dim - 1 > &quadrature) const override
virtual Point< spacedim > transform_unit_to_real_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< dim > &p) const override
virtual void fill_fe_subface_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const unsigned int face_no, const unsigned int subface_no, const Quadrature< dim - 1 > &quadrature, const typename Mapping< dim, spacedim >::InternalDataBase &internal_data, ::internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &output_data) const override
virtual Point< dim > transform_real_to_unit_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< spacedim > &p) const override
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_data(const UpdateFlags, const Quadrature< dim > &quadrature) const override
void initialize_face(const UpdateFlags update_flags, const Quadrature< dim > &quadrature, const unsigned int n_original_q_points)
std::vector< std::vector< double > > cell_manifold_quadrature_weights
MappingManifold()=default