17#ifndef dealii_matrix_free_task_info_h
18#define dealii_matrix_free_task_info_h
80 cell(
const std::pair<unsigned int, unsigned int> &cell_range) = 0;
85 cell(
const unsigned int range_index) = 0;
90 face(
const unsigned int range_index) = 0;
100 namespace MatrixFreeFunctions
190 const std::vector<unsigned int> &cells_with_comm,
191 const unsigned int dofs_per_cell,
192 const bool categories_are_hp,
193 const std::vector<unsigned int> &cell_vectorization_categories,
194 const bool cell_vectorization_categories_strict,
195 const std::vector<unsigned int> &parent_relation,
196 std::vector<unsigned int> & renumbering,
197 std::vector<unsigned char> & incompletely_filled_vectorization);
218 const std::vector<unsigned int> &boundary_cells,
219 std::vector<unsigned int> & renumbering,
220 std::vector<unsigned char> & incompletely_filled_vectorization);
260 std::vector<unsigned int> & renumbering,
261 std::vector<unsigned char> &irregular_cells,
298 const std::vector<unsigned int> &cell_active_fe_index,
300 std::vector<unsigned int> & renumbering,
301 std::vector<unsigned char> & irregular_cells,
330 std::vector<unsigned int> & renumbering,
331 std::vector<unsigned char> & irregular_cells,
340 const std::vector<unsigned char> &irregular_cells,
351 const unsigned int partition,
352 const std::vector<unsigned int> &cell_partition,
353 const std::vector<unsigned int> &partition_list,
354 const std::vector<unsigned int> &partition_size,
355 std::vector<unsigned int> & partition_color_list);
364 const std::vector<unsigned int> &cell_active_fe_index,
365 const unsigned int partition,
366 const unsigned int cluster_size,
368 const std::vector<unsigned int> &cell_partition,
369 const std::vector<unsigned int> &partition_list,
370 const std::vector<unsigned int> &partition_size,
371 std::vector<unsigned int> & partition_partition_list,
372 std::vector<unsigned char> & irregular_cells);
396 const unsigned int cluster_size,
397 std::vector<unsigned int> & cell_partition,
398 std::vector<unsigned int> & partition_list,
399 std::vector<unsigned int> & partition_size,
400 unsigned int & partition)
const;
425 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
bool allow_ghosted_vectors_in_loops
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