17#ifndef dealii_matrix_free_mapping_info_h
18#define dealii_matrix_free_mapping_info_h
46 namespace MatrixFreeFunctions
54 template <
int dim,
typename Number,
typename VectorizedArrayType>
67 const ::Triangulation<dim> &
tria,
68 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
69 const FaceInfo<VectorizedArrayType::size()> & face_info,
70 const std::vector<unsigned int> &active_fe_index,
77 const bool piola_transform);
87 const ::Triangulation<dim> &
tria,
88 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
89 const FaceInfo<VectorizedArrayType::size()> & face_info,
90 const std::vector<unsigned int> &active_fe_index,
115 template <
typename StreamType>
167 std::vector<std::array<GeometryType, GeometryInfo<dim>::faces_per_cell>>
173 std::vector<MappingInfoStorage<dim, dim, VectorizedArrayType>>
cell_data;
227 const ::Triangulation<dim> &
tria,
228 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
229 const FaceInfo<VectorizedArrayType::size()> & face_info);
237 const ::Triangulation<dim> &
tria,
238 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
239 const std::vector<unsigned int> & active_fe_index,
240 const ::hp::MappingCollection<dim> &
mapping);
248 const ::Triangulation<dim> &
tria,
249 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
252 const std::vector<unsigned int> & active_fe_index,
253 const ::hp::MappingCollection<dim> &
mapping);
261 const ::Triangulation<dim> &
tria,
262 const std::vector<std::pair<unsigned int, unsigned int>> &cells,
263 const FaceInfo<VectorizedArrayType::size()> & face_info,
264 const ::hp::MappingCollection<dim> &
mapping);
273 template <
int,
typename,
bool,
typename>
276 template <
int dim,
typename Number,
typename VectorizedArrayType>
281 const unsigned int quad_no)
288 template <
int dim,
typename Number,
typename VectorizedArrayType>
293 const unsigned int quad_no)
303 template <
int dim,
typename Number,
typename VectorizedArrayType>
306 const unsigned int cell_no)
const
309 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
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)
SmartPointer< const Mapping< 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
const ::Triangulation< dim, spacedim > & tria