17#ifndef dealii_matrix_free_task_info_h
18#define dealii_matrix_free_task_info_h
79 cell(
const std::pair<unsigned int, unsigned int> &cell_range) = 0;
84 cell(
const unsigned int range_index) = 0;
89 face(
const unsigned int range_index) = 0;
99 namespace MatrixFreeFunctions
189 const std::vector<unsigned int> &cells_with_comm,
190 const unsigned int dofs_per_cell,
191 const bool categories_are_hp,
192 const std::vector<unsigned int> &cell_vectorization_categories,
193 const bool cell_vectorization_categories_strict,
194 const std::vector<unsigned int> &parent_relation,
195 std::vector<unsigned int> & renumbering,
196 std::vector<unsigned char> & incompletely_filled_vectorization);
217 const std::vector<unsigned int> &boundary_cells,
218 std::vector<unsigned int> & renumbering,
219 std::vector<unsigned char> & incompletely_filled_vectorization);
259 std::vector<unsigned int> & renumbering,
260 std::vector<unsigned char> &irregular_cells,
297 const std::vector<unsigned int> &cell_active_fe_index,
299 std::vector<unsigned int> & renumbering,
300 std::vector<unsigned char> & irregular_cells,
329 std::vector<unsigned int> & renumbering,
330 std::vector<unsigned char> & irregular_cells,
339 const std::vector<unsigned char> &irregular_cells,
351 const std::vector<unsigned int> &cell_partition,
352 const std::vector<unsigned int> &partition_list,
353 const std::vector<unsigned int> &partition_size,
354 std::vector<unsigned int> & partition_color_list);
363 const std::vector<unsigned int> &cell_active_fe_index,
365 const unsigned int cluster_size,
367 const std::vector<unsigned int> &cell_partition,
368 const std::vector<unsigned int> &partition_list,
369 const std::vector<unsigned int> &partition_size,
370 std::vector<unsigned int> & partition_partition_list,
371 std::vector<unsigned char> & irregular_cells);
395 const unsigned int cluster_size,
396 std::vector<unsigned int> & cell_partition,
397 std::vector<unsigned int> & partition_list,
398 std::vector<unsigned int> & partition_size,
424 template <
typename StreamType>
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
virtual void face(const unsigned int range_index)=0
virtual void zero_dst_vector_range(const unsigned int range_index)=0
virtual void cell(const std::pair< unsigned int, unsigned int > &cell_range)=0
virtual void boundary(const unsigned int range_index)=0
virtual void vector_compress_start()=0
Starts the communication for the vector compress operation.
virtual void cell(const unsigned int range_index)=0
virtual void cell_loop_post_range(const unsigned int range_index)=0
virtual void vector_update_ghosts_start()=0
Starts the communication for the update ghost values operation.
virtual ~MFWorkerInterface()=default
virtual void cell_loop_pre_range(const unsigned int range_index)=0
virtual void vector_update_ghosts_finish()=0
Finishes the communication for the update ghost values operation.
virtual void vector_compress_finish()=0
Finishes the communication for the vector compress operation.
std::vector< unsigned int > face_partition_data_hp_ptr
unsigned int n_ghost_cells
std::size_t memory_consumption() const
std::vector< unsigned int > boundary_partition_data_hp
std::vector< unsigned int > boundary_partition_data
void loop(MFWorkerInterface &worker) const
std::vector< unsigned char > task_at_mpi_boundary
std::vector< unsigned int > face_partition_data_hp
void make_thread_graph_partition_color(DynamicSparsityPattern &connectivity, std::vector< unsigned int > &renumbering, std::vector< unsigned char > &irregular_cells, const bool hp_bool)
std::vector< unsigned int > refinement_edge_face_partition_data
std::vector< unsigned int > partition_n_workers
unsigned int vectorization_length
void create_blocks_serial(const std::vector< unsigned int > &cells_with_comm, const unsigned int dofs_per_cell, const bool categories_are_hp, const std::vector< unsigned int > &cell_vectorization_categories, const bool cell_vectorization_categories_strict, const std::vector< unsigned int > &parent_relation, std::vector< unsigned int > &renumbering, std::vector< unsigned char > &incompletely_filled_vectorization)
void make_connectivity_cells_to_blocks(const std::vector< unsigned char > &irregular_cells, const DynamicSparsityPattern &connectivity_cells, DynamicSparsityPattern &connectivity_blocks) const
void make_partitioning_within_partitions_post_blocked(const DynamicSparsityPattern &connectivity, const std::vector< unsigned int > &cell_active_fe_index, const unsigned int partition, const unsigned int cluster_size, const bool hp_bool, const std::vector< unsigned int > &cell_partition, const std::vector< unsigned int > &partition_list, const std::vector< unsigned int > &partition_size, std::vector< unsigned int > &partition_partition_list, std::vector< unsigned char > &irregular_cells)
unsigned int n_active_cells
void initial_setup_blocks_tasks(const std::vector< unsigned int > &boundary_cells, std::vector< unsigned int > &renumbering, std::vector< unsigned char > &incompletely_filled_vectorization)
void print_memory_statistics(StreamType &out, std::size_t data_length) const
void make_coloring_within_partitions_pre_blocked(const DynamicSparsityPattern &connectivity, const unsigned int partition, const std::vector< unsigned int > &cell_partition, const std::vector< unsigned int > &partition_list, const std::vector< unsigned int > &partition_size, std::vector< unsigned int > &partition_color_list)
std::vector< unsigned int > partition_row_index
void make_thread_graph_partition_partition(const std::vector< unsigned int > &cell_active_fe_index, DynamicSparsityPattern &connectivity, std::vector< unsigned int > &renumbering, std::vector< unsigned char > &irregular_cells, const bool hp_bool)
std::vector< unsigned int > partition_evens
void make_thread_graph(const std::vector< unsigned int > &cell_active_fe_index, DynamicSparsityPattern &connectivity, std::vector< unsigned int > &renumbering, std::vector< unsigned char > &irregular_cells, const bool hp_bool)
unsigned int n_blocked_workers
std::vector< unsigned int > partition_n_blocked_workers
std::vector< unsigned int > cell_partition_data_hp
std::vector< unsigned int > cell_partition_data_hp_ptr
std::vector< unsigned int > cell_partition_data
void make_partitioning(const DynamicSparsityPattern &connectivity, const unsigned int cluster_size, std::vector< unsigned int > &cell_partition, std::vector< unsigned int > &partition_list, std::vector< unsigned int > &partition_size, unsigned int &partition) const
void update_task_info(const unsigned int partition)
void make_boundary_cells_divisible(std::vector< unsigned int > &boundary_cells)
TasksParallelScheme scheme
std::vector< unsigned int > ghost_face_partition_data
void guess_block_size(const unsigned int dofs_per_cell)
std::vector< unsigned int > boundary_partition_data_hp_ptr
std::vector< unsigned int > partition_odds
std::vector< unsigned int > face_partition_data