Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper Class Reference

#include <deal.II/matrix_free/vector_data_exchange.h>

Inheritance diagram for internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper:

Public Member Functions

 PartitionerWrapper (const std::shared_ptr< const Utilities::MPI::Partitioner > &partitioner)
 
virtual ~PartitionerWrapper ()=default
 
unsigned int locally_owned_size () const override
 
unsigned int n_ghost_indices () const override
 
unsigned int n_import_indices () const override
 
unsigned int n_import_sm_procs () const override
 
types::global_dof_index size () const override
 
void export_to_ghosted_array_start (const unsigned int communication_channel, const ArrayView< const double > &locally_owned_array, const std::vector< ArrayView< const double > > &shared_arrays, const ArrayView< double > &ghost_array, const ArrayView< double > &temporary_storage, std::vector< MPI_Request > &requests) const override
 
void export_to_ghosted_array_finish (const ArrayView< const double > &locally_owned_array, const std::vector< ArrayView< const double > > &shared_arrays, const ArrayView< double > &ghost_array, std::vector< MPI_Request > &requests) const override
 
void import_from_ghosted_array_start (const VectorOperation::values vector_operation, const unsigned int communication_channel, const ArrayView< const double > &locally_owned_array, const std::vector< ArrayView< const double > > &shared_arrays, const ArrayView< double > &ghost_array, const ArrayView< double > &temporary_storage, std::vector< MPI_Request > &requests) const override
 
void import_from_ghosted_array_finish (const VectorOperation::values vector_operation, const ArrayView< double > &locally_owned_storage, const std::vector< ArrayView< const double > > &shared_arrays, const ArrayView< double > &ghost_array, const ArrayView< const double > &temporary_storage, std::vector< MPI_Request > &requests) const override
 
void reset_ghost_values (const ArrayView< double > &ghost_array) const override
 
void export_to_ghosted_array_start (const unsigned int communication_channel, const ArrayView< const float > &locally_owned_array, const std::vector< ArrayView< const float > > &shared_arrays, const ArrayView< float > &ghost_array, const ArrayView< float > &temporary_storage, std::vector< MPI_Request > &requests) const override
 
void export_to_ghosted_array_finish (const ArrayView< const float > &locally_owned_array, const std::vector< ArrayView< const float > > &shared_arrays, const ArrayView< float > &ghost_array, std::vector< MPI_Request > &requests) const override
 
void import_from_ghosted_array_start (const VectorOperation::values vector_operation, const unsigned int communication_channel, const ArrayView< const float > &locally_owned_array, const std::vector< ArrayView< const float > > &shared_arrays, const ArrayView< float > &ghost_array, const ArrayView< float > &temporary_storage, std::vector< MPI_Request > &requests) const override
 
void import_from_ghosted_array_finish (const VectorOperation::values vector_operation, const ArrayView< float > &locally_owned_storage, const std::vector< ArrayView< const float > > &shared_arrays, const ArrayView< float > &ghost_array, const ArrayView< const float > &temporary_storage, std::vector< MPI_Request > &requests) const override
 
void reset_ghost_values (const ArrayView< float > &ghost_array) const override
 

Private Member Functions

template<typename Number >
void reset_ghost_values_impl (const ArrayView< Number > &ghost_array) const
 

Private Attributes

const std::shared_ptr< const Utilities::MPI::Partitionerpartitioner
 

Detailed Description

Class that simply delegates the task to a Utilities::MPI::Partitioner.

Definition at line 146 of file vector_data_exchange.h.

Constructor & Destructor Documentation

◆ PartitionerWrapper()

internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::PartitionerWrapper ( const std::shared_ptr< const Utilities::MPI::Partitioner > & partitioner)

Definition at line 39 of file vector_data_exchange.cc.

◆ ~PartitionerWrapper()

virtual internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::~PartitionerWrapper ( )
virtualdefault

Member Function Documentation

◆ locally_owned_size()

unsigned int internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::locally_owned_size ( ) const
overridevirtual

◆ n_ghost_indices()

unsigned int internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::n_ghost_indices ( ) const
overridevirtual

◆ n_import_indices()

unsigned int internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::n_import_indices ( ) const
overridevirtual

◆ n_import_sm_procs()

unsigned int internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::n_import_sm_procs ( ) const
overridevirtual

◆ size()

types::global_dof_index internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::size ( ) const
overridevirtual

◆ export_to_ghosted_array_start() [1/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::export_to_ghosted_array_start ( const unsigned int communication_channel,
const ArrayView< const double > & locally_owned_array,
const std::vector< ArrayView< const double > > & shared_arrays,
const ArrayView< double > & ghost_array,
const ArrayView< double > & temporary_storage,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ export_to_ghosted_array_finish() [1/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::export_to_ghosted_array_finish ( const ArrayView< const double > & locally_owned_array,
const std::vector< ArrayView< const double > > & shared_arrays,
const ArrayView< double > & ghost_array,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ import_from_ghosted_array_start() [1/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::import_from_ghosted_array_start ( const VectorOperation::values vector_operation,
const unsigned int communication_channel,
const ArrayView< const double > & locally_owned_array,
const std::vector< ArrayView< const double > > & shared_arrays,
const ArrayView< double > & ghost_array,
const ArrayView< double > & temporary_storage,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ import_from_ghosted_array_finish() [1/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::import_from_ghosted_array_finish ( const VectorOperation::values vector_operation,
const ArrayView< double > & locally_owned_storage,
const std::vector< ArrayView< const double > > & shared_arrays,
const ArrayView< double > & ghost_array,
const ArrayView< const double > & temporary_storage,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ reset_ghost_values() [1/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::reset_ghost_values ( const ArrayView< double > & ghost_array) const
overridevirtual

◆ export_to_ghosted_array_start() [2/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::export_to_ghosted_array_start ( const unsigned int communication_channel,
const ArrayView< const float > & locally_owned_array,
const std::vector< ArrayView< const float > > & shared_arrays,
const ArrayView< float > & ghost_array,
const ArrayView< float > & temporary_storage,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ export_to_ghosted_array_finish() [2/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::export_to_ghosted_array_finish ( const ArrayView< const float > & locally_owned_array,
const std::vector< ArrayView< const float > > & shared_arrays,
const ArrayView< float > & ghost_array,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ import_from_ghosted_array_start() [2/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::import_from_ghosted_array_start ( const VectorOperation::values vector_operation,
const unsigned int communication_channel,
const ArrayView< const float > & locally_owned_array,
const std::vector< ArrayView< const float > > & shared_arrays,
const ArrayView< float > & ghost_array,
const ArrayView< float > & temporary_storage,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ import_from_ghosted_array_finish() [2/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::import_from_ghosted_array_finish ( const VectorOperation::values vector_operation,
const ArrayView< float > & locally_owned_storage,
const std::vector< ArrayView< const float > > & shared_arrays,
const ArrayView< float > & ghost_array,
const ArrayView< const float > & temporary_storage,
std::vector< MPI_Request > & requests ) const
overridevirtual

◆ reset_ghost_values() [2/2]

void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::reset_ghost_values ( const ArrayView< float > & ghost_array) const
overridevirtual

◆ reset_ghost_values_impl()

template<typename Number >
void internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::reset_ghost_values_impl ( const ArrayView< Number > & ghost_array) const
private

Definition at line 310 of file vector_data_exchange.cc.

Member Data Documentation

◆ partitioner

const std::shared_ptr<const Utilities::MPI::Partitioner> internal::MatrixFreeFunctions::VectorDataExchange::PartitionerWrapper::partitioner
private

Definition at line 251 of file vector_data_exchange.h.


The documentation for this class was generated from the following files: