17 #ifndef dealii__matrix_free_mapping_info_h 18 #define dealii__matrix_free_mapping_info_h 21 #include <deal.II/base/exceptions.h> 22 #include <deal.II/base/vectorization.h> 23 #include <deal.II/base/aligned_vector.h> 24 #include <deal.II/hp/q_collection.h> 25 #include <deal.II/fe/fe.h> 26 #include <deal.II/fe/mapping.h> 27 #include <deal.II/matrix_free/helper_functions.h> 32 DEAL_II_NAMESPACE_OPEN
37 namespace MatrixFreeFunctions
45 template <
int dim,
typename Number>
79 void initialize (const ::Triangulation<dim> &tria,
80 const std::vector<std::pair<unsigned int,unsigned int> > &cells,
81 const std::vector<unsigned int> &active_fe_index,
98 CellType
get_cell_type (
const unsigned int cell_chunk_no)
const;
119 template <
typename StreamType>
277 template <
typename StreamType>
313 void resize (
const unsigned int size);
319 const double jac_size;
326 const std::pair<unsigned int,unsigned int> *cells,
327 const unsigned int cell,
328 const unsigned int my_q,
339 template <
int dim,
typename Number>
353 template <
int dim,
typename Number>
361 return enum_cell_type;
366 template <
int dim,
typename Number>
378 DEAL_II_NAMESPACE_CLOSE
AlignedVector< std::pair< Tensor< 1, dim, VectorizedArray< Number > >, VectorizedArray< Number > > > cartesian_data
::hp::QCollection< dim > quadrature
AlignedVector< VectorizedArray< Number > > JxW_values
AlignedVector< std::pair< Tensor< 2, dim, VectorizedArray< Number > >, VectorizedArray< Number > > > affine_data
bool quadrature_points_initialized
std::vector< unsigned int > n_q_points
#define AssertIndexRange(index, range)
unsigned int get_cell_data_index(const unsigned int cell_chunk_no) const
std::vector< MappingInfoDependent > mapping_data_gen
std::vector< unsigned int > rowstart_jacobians
std::vector< unsigned int > n_q_points_face
static const unsigned int n_vector_elements
static UpdateFlags compute_update_flags(const UpdateFlags update_flags, const std::vector<::hp::QCollection< 1 > > &quad=std::vector<::hp::QCollection< 1 > >())
unsigned int quad_index_from_n_q_points(const unsigned int n_q_points) const
std::vector< unsigned int > cell_type
#define Assert(cond, exc)
std::vector< unsigned int > quad_index_conversion
AlignedVector< Tensor< 1,(dim >1?dim *(dim-1)/2:1), Tensor< 1, dim, VectorizedArray< Number > > > > jacobians_grad_upper
std::vector< unsigned int > rowstart_q_points
void evaluate_on_cell(const ::Triangulation< dim > &tria, const std::pair< unsigned int, unsigned int > *cells, const unsigned int cell, const unsigned int my_q, CellType(&cell_t_prev)[n_vector_elements], CellType(&cell_t)[n_vector_elements], ::FEValues< dim, dim > &fe_values, CellData &cell_data) const
bool JxW_values_initialized
static const unsigned int n_cell_types
void print_memory_consumption(StreamType &out, const SizeInfo &size_info) const
::hp::QCollection< dim-1 > face_quadrature
AlignedVector< Point< dim, VectorizedArray< Number > > > quadrature_points
void initialize(const ::Triangulation< dim > &tria, const std::vector< std::pair< unsigned int, unsigned int > > &cells, const std::vector< unsigned int > &active_fe_index, const Mapping< dim > &mapping, const std::vector<::hp::QCollection< 1 > > &quad, const UpdateFlags update_flags)
static const std::size_t n_cell_type_bits
std::size_t memory_consumption() const
bool second_derivatives_initialized
CellType get_cell_type(const unsigned int cell_chunk_no) const
std::vector< AlignedVector< VectorizedArray< Number > > > quadrature_weights
AlignedVector< Tensor< 2, dim, VectorizedArray< Number > > > jacobians
std::size_t memory_consumption() const
AlignedVector< Tensor< 2, dim, VectorizedArray< Number > > > jacobians_grad_diag
void print_memory_consumption(StreamType &out, const SizeInfo &size_info) const
static ::ExceptionBase & ExcInternalError()