16#ifndef dealii_matrix_free_mapping_info_h
17#define dealii_matrix_free_mapping_info_h
45 namespace MatrixFreeFunctions
53 template <
int dim,
typename Number,
typename VectorizedArrayType>
66 const ::Triangulation<dim> &tria,
67 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
68 const FaceInfo<VectorizedArrayType::size()> &face_info,
69 const std::vector<unsigned int> &active_fe_index,
76 const bool piola_transform);
86 const ::Triangulation<dim> &tria,
87 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
88 const FaceInfo<VectorizedArrayType::size()> &face_info,
89 const std::vector<unsigned int> &active_fe_index,
114 template <
typename StreamType>
166 std::vector<std::array<GeometryType, GeometryInfo<dim>::faces_per_cell>>
172 std::vector<MappingInfoStorage<dim, dim, VectorizedArrayType>>
cell_data;
226 const ::Triangulation<dim> &tria,
227 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
228 const FaceInfo<VectorizedArrayType::size()> &face_info);
236 const ::Triangulation<dim> &tria,
237 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
238 const std::vector<unsigned int> &active_fe_index,
239 const ::hp::MappingCollection<dim> &
mapping);
247 const ::Triangulation<dim> &tria,
248 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
251 const std::vector<unsigned int> &active_fe_index,
252 const ::hp::MappingCollection<dim> &
mapping);
260 const ::Triangulation<dim> &tria,
261 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
262 const FaceInfo<VectorizedArrayType::size()> &face_info,
263 const ::hp::MappingCollection<dim> &
mapping);
272 template <
int,
typename,
bool,
typename>
275 template <
int dim,
typename Number,
typename VectorizedArrayType>
280 const unsigned int quad_no)
287 template <
int dim,
typename Number,
typename VectorizedArrayType>
292 const unsigned int quad_no)
302 template <
int dim,
typename Number,
typename VectorizedArrayType>
305 const unsigned int cell_no)
const
308 return cell_type[cell_no];
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertIndexRange(index, range)
static const MappingInfoStorage< dim, dim, VectorizedArrayType > & get(const MappingInfo< dim, Number, VectorizedArrayType > &mapping_info, const unsigned int quad_no)
static const MappingInfoStorage< dim - 1, dim, VectorizedArrayType > & get(const MappingInfo< dim, Number, VectorizedArrayType > &mapping_info, const unsigned int quad_no)
void compute_mapping_q(const ::Triangulation< dim > &tria, const std::vector< std::pair< unsigned int, unsigned int > > &cells, const FaceInfo< VectorizedArrayType::size()> &face_info)
void initialize_faces(const ::Triangulation< dim > &tria, const std::vector< std::pair< unsigned int, unsigned int > > &cells, const std::vector< FaceToCellTopology< VectorizedArrayType::size()> > &faces, const std::vector< unsigned int > &active_fe_index, const ::hp::MappingCollection< dim > &mapping)
std::shared_ptr<::hp::MappingCollection< dim > > mapping_collection
GeometryType get_cell_type(const unsigned int cell_chunk_no) const
ObserverPointer< const Mapping< dim > > mapping
void initialize_cells(const ::Triangulation< dim > &tria, const std::vector< std::pair< unsigned int, unsigned int > > &cells, const std::vector< unsigned int > &active_fe_index, const ::hp::MappingCollection< dim > &mapping)
std::vector< GeometryType > cell_type
UpdateFlags update_flags_inner_faces
std::vector< GeometryType > face_type
std::size_t memory_consumption() const
UpdateFlags update_flags_boundary_faces
std::vector< std::array< GeometryType, GeometryInfo< dim >::faces_per_cell > > faces_by_cells_type
void initialize(const ::Triangulation< dim > &tria, const std::vector< std::pair< unsigned int, unsigned int > > &cells, const FaceInfo< VectorizedArrayType::size()> &face_info, const std::vector< unsigned int > &active_fe_index, const std::shared_ptr<::hp::MappingCollection< dim > > &mapping, const std::vector<::hp::QCollection< dim > > &quad, const UpdateFlags update_flags_cells, const UpdateFlags update_flags_boundary_faces, const UpdateFlags update_flags_inner_faces, const UpdateFlags update_flags_faces_by_cells, const bool piola_transform)
std::vector< MappingInfoStorage< dim, dim, VectorizedArrayType > > cell_data
UpdateFlags update_flags_cells
UpdateFlags update_flags_faces_by_cells
void initialize_faces_by_cells(const ::Triangulation< dim > &tria, const std::vector< std::pair< unsigned int, unsigned int > > &cells, const FaceInfo< VectorizedArrayType::size()> &face_info, const ::hp::MappingCollection< dim > &mapping)
void update_mapping(const ::Triangulation< dim > &tria, const std::vector< std::pair< unsigned int, unsigned int > > &cells, const FaceInfo< VectorizedArrayType::size()> &face_info, const std::vector< unsigned int > &active_fe_index, const std::shared_ptr<::hp::MappingCollection< dim > > &mapping)
std::vector< std::vector< ReferenceCell > > reference_cell_types
void print_memory_consumption(StreamType &out, const TaskInfo &task_info) const
std::vector< MappingInfoStorage< dim - 1, dim, VectorizedArrayType > > face_data_by_cells
std::vector< MappingInfoStorage< dim - 1, dim, VectorizedArrayType > > face_data