16 #ifndef dealii_mapping_fe_h 17 #define dealii_mapping_fe_h 20 #include <deal.II/base/config.h> 22 #include <deal.II/base/thread_management.h> 24 #include <deal.II/dofs/dof_handler.h> 26 #include <deal.II/fe/fe.h> 27 #include <deal.II/fe/fe_values.h> 28 #include <deal.II/fe/mapping.h> 30 #include <deal.II/lac/vector.h> 35 DEAL_II_NAMESPACE_OPEN
131 virtual std::unique_ptr<Mapping<dim, spacedim>>
132 clone()
const override;
273 shape(
const unsigned int qpoint,
const unsigned int shape_nr)
const;
279 shape(
const unsigned int qpoint,
const unsigned int shape_nr);
285 derivative(
const unsigned int qpoint,
const unsigned int shape_nr)
const;
291 derivative(
const unsigned int qpoint,
const unsigned int shape_nr);
298 const unsigned int shape_nr)
const;
311 const unsigned int shape_nr)
const;
324 const unsigned int shape_nr)
const;
389 std::array<std::vector<Tensor<1, dim>>,
424 mutable std::vector<DerivativeForm<1, dim, spacedim>>
covariant;
444 mutable std::vector<std::vector<Tensor<1, spacedim>>>
aux;
459 virtual std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
463 virtual std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
468 virtual std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
480 &output_data)
const override;
486 const unsigned int face_no,
490 &output_data)
const override;
494 fill_fe_subface_values(
496 const unsigned int face_no,
497 const unsigned int subface_no,
501 &output_data)
const override;
611 const unsigned int n_original_q_points,
617 const unsigned int n_original_q_points,
624 template <
int,
int,
class,
class>
636 DEAL_II_NAMESPACE_CLOSE
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_data(const UpdateFlags, const Quadrature< dim > &quadrature) const override
unsigned int n_shape_functions
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
SmartPointer< const VectorType, MappingFEField< dim, spacedim, VectorType, DoFHandlerType > > euler_vector
virtual void compute_shapes_virtual(const std::vector< Point< dim >> &unit_points, typename MappingFEField< dim, spacedim, VectorType, DoFHandlerType >::InternalData &data) const
std::vector< unsigned int > fe_to_real
Point< spacedim > do_transform_unit_to_real_cell(const InternalData &mdata) const
unsigned int get_degree() const
FEValues< dim, spacedim > fe_values
std::vector< Tensor< 3, dim > > shape_third_derivatives
std::vector< Tensor< 1, dim > > shape_derivatives
const double & shape(const unsigned int qpoint, const unsigned int shape_nr) const
std::vector< Tensor< 2, dim > > shape_second_derivatives
Threads::Mutex fe_values_mutex
std::vector< Tensor< 4, dim > > shape_fourth_derivatives
Abstract base class for mapping classes.
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
#define DeclException0(Exception0)
std::vector< double > volume_elements
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_face_data(const UpdateFlags flags, const Quadrature< dim - 1 > &quadrature) const override
virtual Point< dim > transform_real_to_unit_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< spacedim > &p) const override
std::vector< DerivativeForm< 1, dim, spacedim > > covariant
std::vector< double > local_dof_values
const Tensor< 3, dim > & third_derivative(const unsigned int qpoint, const unsigned int shape_nr) const
virtual std::array< Point< spacedim >, GeometryInfo< dim >::vertices_per_cell > get_vertices(const typename Triangulation< dim, spacedim >::cell_iterator &cell) const override
std::vector< DerivativeForm< 1, dim, spacedim > > contravariant
std::vector< double > shape_values
std::vector< std::vector< Tensor< 1, spacedim > > > aux
friend class MappingFEField
std::vector< types::global_dof_index > local_dof_indices
const Tensor< 2, dim > & second_derivative(const unsigned int qpoint, const unsigned int shape_nr) const
const Tensor< 4, dim > & fourth_derivative(const unsigned int qpoint, const unsigned int shape_nr) const
SmartPointer< const DoFHandlerType, MappingFEField< dim, spacedim, VectorType, DoFHandlerType > > euler_dof_handler
virtual Point< spacedim > transform_unit_to_real_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< dim > &p) const override
const Tensor< 1, dim > & derivative(const unsigned int qpoint, const unsigned int shape_nr) const
ComponentMask get_component_mask() const
void update_internal_dofs(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const typename MappingFEField< dim, spacedim, VectorType, DoFHandlerType >::InternalData &data) const
virtual bool preserves_vertex_locations() const override
static ::ExceptionBase & ExcInactiveCell()
std::array< std::vector< Tensor< 1, dim > >, GeometryInfo< dim >::faces_per_cell *(dim - 1)> unit_tangentials
Point< dim > do_transform_real_to_unit_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< spacedim > &p, const Point< dim > &initial_p_unit, InternalData &mdata) const
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_subface_data(const UpdateFlags flags, const Quadrature< dim - 1 > &quadrature) const override
virtual std::size_t memory_consumption() const override
InternalData(const FiniteElement< dim, spacedim > &fe, const ComponentMask &mask)
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override