Reference documentation for deal.II version GIT b6bf1e606d 2022-08-11 15:25:02+00:00
\(\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\}}\)
Public Member Functions | List of all members
internal::MatrixFreeFunctions::VectorDataExchange::Base Class Referenceabstract

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

Inheritance diagram for internal::MatrixFreeFunctions::VectorDataExchange::Base:
[legend]

Public Member Functions

virtual ~Base ()=default
 
virtual unsigned int locally_owned_size () const =0
 
virtual unsigned int n_ghost_indices () const =0
 
virtual unsigned int n_import_indices () const =0
 
virtual unsigned int n_import_sm_procs () const =0
 
virtual types::global_dof_index size () const =0
 
virtual 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 =0
 
virtual 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 =0
 
virtual 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 =0
 
virtual 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 =0
 
virtual void reset_ghost_values (const ArrayView< double > &ghost_array) const =0
 
virtual 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 =0
 
virtual 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 =0
 
virtual 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 =0
 
virtual 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 =0
 
virtual void reset_ghost_values (const ArrayView< float > &ghost_array) const =0
 

Detailed Description

Interface needed by MatrixFree.

Definition at line 58 of file vector_data_exchange.h.

Constructor & Destructor Documentation

◆ ~Base()

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

Member Function Documentation

◆ locally_owned_size()

virtual unsigned int internal::MatrixFreeFunctions::VectorDataExchange::Base::locally_owned_size ( ) const
pure virtual

◆ n_ghost_indices()

virtual unsigned int internal::MatrixFreeFunctions::VectorDataExchange::Base::n_ghost_indices ( ) const
pure virtual

◆ n_import_indices()

virtual unsigned int internal::MatrixFreeFunctions::VectorDataExchange::Base::n_import_indices ( ) const
pure virtual

◆ n_import_sm_procs()

virtual unsigned int internal::MatrixFreeFunctions::VectorDataExchange::Base::n_import_sm_procs ( ) const
pure virtual

◆ size()

virtual types::global_dof_index internal::MatrixFreeFunctions::VectorDataExchange::Base::size ( ) const
pure virtual

◆ export_to_ghosted_array_start() [1/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ export_to_ghosted_array_finish() [1/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ import_from_ghosted_array_start() [1/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ import_from_ghosted_array_finish() [1/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ reset_ghost_values() [1/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::reset_ghost_values ( const ArrayView< double > &  ghost_array) const
pure virtual

◆ export_to_ghosted_array_start() [2/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ export_to_ghosted_array_finish() [2/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ import_from_ghosted_array_start() [2/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ import_from_ghosted_array_finish() [2/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::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
pure virtual

◆ reset_ghost_values() [2/2]

virtual void internal::MatrixFreeFunctions::VectorDataExchange::Base::reset_ghost_values ( const ArrayView< float > &  ghost_array) const
pure virtual

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