16 #ifndef dealii_mapping_fe_h 17 #define dealii_mapping_fe_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/table.h> 22 #include <deal.II/base/thread_management.h> 23 #include <deal.II/lac/vector.h> 24 #include <deal.II/dofs/dof_handler.h> 25 #include <deal.II/fe/mapping.h> 26 #include <deal.II/fe/fe.h> 27 #include <deal.II/fe/fe_values.h> 32 DEAL_II_NAMESPACE_OPEN
75 template <
int dim,
int spacedim=dim,
127 std::unique_ptr<Mapping<dim,spacedim>>
clone ()
const override;
272 const double &
shape (
const unsigned int qpoint,
273 const unsigned int shape_nr)
const;
278 double &
shape (
const unsigned int qpoint,
279 const unsigned int shape_nr);
285 const unsigned int shape_nr)
const;
291 const unsigned int shape_nr);
297 const unsigned int shape_nr)
const;
303 const unsigned int shape_nr);
309 const unsigned int shape_nr)
const;
315 const unsigned int shape_nr);
321 const unsigned int shape_nr)
const;
327 const unsigned int shape_nr);
419 mutable std::vector<DerivativeForm<1,dim, spacedim > >
covariant;
439 mutable std::vector<std::vector<Tensor<1,spacedim> > >
aux;
456 std::unique_ptr<typename Mapping<dim,spacedim>::InternalDataBase>
462 std::unique_ptr<typename Mapping<dim,spacedim>::InternalDataBase>
468 std::unique_ptr<typename Mapping<dim,spacedim>::InternalDataBase>
485 const unsigned int face_no,
494 const unsigned int face_no,
495 const unsigned int subface_no,
599 const unsigned int n_original_q_points,
605 const unsigned int n_original_q_points,
623 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
std::vector< unsigned int > fe_to_real
Point< spacedim > do_transform_unit_to_real_cell(const InternalData &mdata) const
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_face_data(const UpdateFlags flags, const Quadrature< dim-1 > &quadrature) const override
unsigned int get_degree() const
std::vector< DerivativeForm< 1, dim, spacedim > > covariant
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
const double & shape(const unsigned int qpoint, const unsigned int shape_nr) const
std::vector< Tensor< 3, dim > > shape_third_derivatives
std::array< std::vector< Tensor< 1, dim > >, GeometryInfo< dim >::faces_per_cell *(dim-1)> unit_tangentials
Threads::Mutex fe_values_mutex
Abstract base class for mapping classes.
#define DeclException0(Exception0)
std::vector< double > volume_elements
SmartPointer< const DoFHandlerType, MappingFEField< dim, spacedim, VectorType, DoFHandlerType > > euler_dof_handler
virtual Point< dim > transform_real_to_unit_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< spacedim > &p) const override
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< double > shape_values
std::vector< Tensor< 4, dim > > shape_fourth_derivatives
friend class MappingFEField
std::vector< types::global_dof_index > local_dof_indices
virtual void compute_shapes_virtual(const std::vector< Point< dim > > &unit_points, typename MappingFEField< dim, spacedim, VectorType, DoFHandlerType >::InternalData &data) const
const Tensor< 2, dim > & second_derivative(const unsigned int qpoint, const unsigned int shape_nr) const
SmartPointer< const VectorType, MappingFEField< dim, spacedim, VectorType, DoFHandlerType > > euler_vector
FEValues< dim, spacedim > fe_values
const Tensor< 4, dim > & fourth_derivative(const unsigned int qpoint, const unsigned int shape_nr) const
virtual Point< spacedim > transform_unit_to_real_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< dim > &p) const override
virtual std::unique_ptr< typename Mapping< dim, spacedim >::InternalDataBase > get_subface_data(const UpdateFlags flags, const Quadrature< dim-1 > &quadrature) const override
const Tensor< 1, dim > & derivative(const unsigned int qpoint, const unsigned int shape_nr) const
std::vector< DerivativeForm< 1, dim, spacedim > > contravariant
ComponentMask get_component_mask() const
std::vector< Tensor< 2, dim > > shape_second_derivatives
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::vector< Tensor< 1, dim > > shape_derivatives
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::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
std::vector< std::vector< Tensor< 1, spacedim > > > aux