|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
17 #ifndef dealii_matrix_free_task_info_h
18 #define dealii_matrix_free_task_info_h
81 cell(
const std::pair<unsigned int, unsigned int> &cell_range) = 0;
86 face(
const std::pair<unsigned int, unsigned int> &face_range) = 0;
91 boundary(
const std::pair<unsigned int, unsigned int> &face_range) = 0;
96 namespace MatrixFreeFunctions
188 const std::vector<unsigned int> &cells_with_comm,
189 const unsigned int dofs_per_cell,
190 const bool categories_are_hp,
191 const std::vector<unsigned int> &cell_vectorization_categories,
192 const bool cell_vectorization_categories_strict,
193 const std::vector<unsigned int> &parent_relation,
194 std::vector<unsigned int> & renumbering,
195 std::vector<unsigned char> & incompletely_filled_vectorization);
216 const std::vector<unsigned int> &boundary_cells,
217 std::vector<unsigned int> & renumbering,
218 std::vector<unsigned char> & incompletely_filled_vectorization);
258 std::vector<unsigned int> & renumbering,
259 std::vector<unsigned char> &irregular_cells,
296 const std::vector<unsigned int> &cell_active_fe_index,
298 std::vector<unsigned int> & renumbering,
299 std::vector<unsigned char> & irregular_cells,
328 std::vector<unsigned int> & renumbering,
329 std::vector<unsigned char> & irregular_cells,
338 const std::vector<unsigned char> &irregular_cells,
350 const std::vector<unsigned int> &cell_partition,
351 const std::vector<unsigned int> &partition_list,
352 const std::vector<unsigned int> &partition_size,
353 std::vector<unsigned int> & partition_color_list);
362 const std::vector<unsigned int> &cell_active_fe_index,
364 const unsigned int cluster_size,
366 const std::vector<unsigned int> &cell_partition,
367 const std::vector<unsigned int> &partition_list,
368 const std::vector<unsigned int> &partition_size,
369 std::vector<unsigned int> & partition_partition_list,
370 std::vector<unsigned char> & irregular_cells);
394 const unsigned int cluster_size,
395 std::vector<unsigned int> & cell_partition,
396 std::vector<unsigned int> & partition_list,
397 std::vector<unsigned int> & partition_size,
423 template <
typename StreamType>
virtual void face(const std::pair< unsigned int, unsigned int > &face_range)=0
void make_thread_graph_partition_color(DynamicSparsityPattern &connectivity, std::vector< unsigned int > &renumbering, std::vector< unsigned char > &irregular_cells, const bool hp_bool)
virtual void vector_compress_start()=0
Starts the communication for the vector compress operation.
void loop(MFWorkerInterface &worker) const
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
std::vector< unsigned int > boundary_partition_data
virtual ~MFWorkerInterface()=default
std::vector< unsigned int > partition_n_blocked_workers
std::vector< unsigned int > cell_partition_data
unsigned int n_blocked_workers
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)
std::vector< unsigned int > partition_odds
void guess_block_size(const unsigned int dofs_per_cell)
unsigned int n_ghost_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 update_task_info(const unsigned int partition)
std::vector< unsigned char > task_at_mpi_boundary
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)
#define DEAL_II_NAMESPACE_OPEN
unsigned int n_active_cells
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::size_t memory_consumption() const
void print_memory_statistics(StreamType &out, std::size_t data_length) const
#define DEAL_II_DEPRECATED
virtual void boundary(const std::pair< unsigned int, unsigned int > &face_range)=0
std::vector< unsigned int > ghost_face_partition_data
virtual void vector_update_ghosts_finish()=0
Finishes the communication for the update ghost values operation.
virtual void cell_loop_pre_range(const unsigned int range_index)=0
std::vector< unsigned int > refinement_edge_face_partition_data
virtual void zero_dst_vector_range(const unsigned int range_index)=0
virtual void cell_loop_post_range(const unsigned int range_index)=0
virtual void cell(const std::pair< unsigned int, unsigned int > &cell_range)=0
std::vector< unsigned int > face_partition_data
std::vector< unsigned int > partition_row_index
virtual void vector_compress_finish()=0
Finishes the communication for the vector compress operation.
unsigned int vectorization_length
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)
#define DEAL_II_NAMESPACE_CLOSE
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_boundary_cells_divisible(std::vector< unsigned int > &boundary_cells)
std::vector< unsigned int > partition_evens
TasksParallelScheme scheme
std::vector< unsigned int > partition_n_workers
virtual void vector_update_ghosts_start()=0
Starts the communication for the update ghost values operation.
void make_connectivity_cells_to_blocks(const std::vector< unsigned char > &irregular_cells, const DynamicSparsityPattern &connectivity_cells, DynamicSparsityPattern &connectivity_blocks) const