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> 28 #include <deal.II/base/std_cxx11/array.h> 31 DEAL_II_NAMESPACE_OPEN
74 template <
int dim,
int spacedim=dim,
262 const double &
shape (
const unsigned int qpoint,
263 const unsigned int shape_nr)
const;
268 double &
shape (
const unsigned int qpoint,
269 const unsigned int shape_nr);
275 const unsigned int shape_nr)
const;
281 const unsigned int shape_nr);
287 const unsigned int shape_nr)
const;
293 const unsigned int shape_nr);
299 const unsigned int shape_nr)
const;
305 const unsigned int shape_nr);
311 const unsigned int shape_nr)
const;
317 const unsigned int shape_nr);
408 mutable std::vector<DerivativeForm<1,dim, spacedim > >
covariant;
428 mutable std::vector<std::vector<Tensor<1,spacedim> > >
aux;
473 const unsigned int face_no,
481 const unsigned int face_no,
482 const unsigned int subface_no,
584 const unsigned int n_original_q_points,
590 const unsigned int n_original_q_points,
611 DEAL_II_NAMESPACE_CLOSE
virtual Mapping< dim, spacedim >::InternalDataBase * get_subface_data(const UpdateFlags flags, const Quadrature< dim-1 > &quadrature) const
unsigned int n_shape_functions
virtual std::size_t memory_consumption() const
std::vector< unsigned int > fe_to_real
SmartPointer< const FiniteElement< dim, spacedim >, MappingFEField< dim, spacedim, VectorType, DoFHandlerType > > fe
Point< spacedim > do_transform_unit_to_real_cell(const InternalData &mdata) const
unsigned int get_degree() const
virtual Mapping< dim, spacedim > * clone() const
std::vector< DerivativeForm< 1, dim, spacedim > > covariant
virtual Point< dim > transform_real_to_unit_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< spacedim > &p) const
InternalData(const FiniteElement< dim, spacedim > &fe, const ComponentMask mask)
std::vector< Tensor< 3, dim > > shape_third_derivatives
Abstract base class for mapping classes.
virtual Point< spacedim > transform_unit_to_real_cell(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const Point< dim > &p) const
#define DeclException0(Exception0)
std::vector< double > volume_elements
std_cxx11::array< std::vector< Tensor< 1, dim > >, GeometryInfo< dim >::faces_per_cell *(dim-1)> unit_tangentials
const double & shape(const unsigned int qpoint, const unsigned int shape_nr) const
virtual InternalData * get_data(const UpdateFlags, const Quadrature< dim > &quadrature) const
virtual Mapping< dim, spacedim >::InternalDataBase * get_face_data(const UpdateFlags flags, const Quadrature< dim-1 > &quadrature) const
SmartPointer< const DoFHandlerType, MappingFEField< dim, spacedim, VectorType, DoFHandlerType > > euler_dof_handler
virtual bool preserves_vertex_locations() const
std::vector< double > local_dof_values
const Tensor< 3, dim > & third_derivative(const unsigned int qpoint, const unsigned int shape_nr) const
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
const Tensor< 4, dim > & fourth_derivative(const unsigned int qpoint, const unsigned int shape_nr) const
const Tensor< 1, dim > & derivative(const unsigned int qpoint, const unsigned int shape_nr) const
std::vector< DerivativeForm< 1, dim, spacedim > > contravariant
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const
ComponentMask get_component_mask() const
std::vector< Tensor< 2, dim > > shape_second_derivatives
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
void update_internal_dofs(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const typename MappingFEField< dim, spacedim, VectorType, DoFHandlerType >::InternalData &data) const
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
std::vector< std::vector< Tensor< 1, spacedim > > > aux