escript  Revision_Unversioneddirectory
Public Member Functions | Public Attributes | List of all members
paso::Coupler Struct Reference

#include <Coupler.h>

Public Member Functions

 Coupler (const_Connector_ptr, dim_t blockSize)
 
 ~Coupler ()
 
void startCollect (const double *in)
 
double * finishCollect ()
 
void copyAll (Coupler_ptr target) const
 
void fillOverlap (dim_t n, double *x)
 
void max (dim_t n, double *x)
 
const double * borrowLocalData () const
 
const double * borrowRemoteData () const
 
dim_t getNumSharedComponents () const
 
dim_t getNumOverlapComponents () const
 
dim_t getNumSharedValues () const
 
dim_t getNumOverlapValues () const
 
dim_t getLocalLength () const
 

Public Attributes

const_Connector_ptr connector
 
dim_t block_size
 
bool in_use
 
double * data
 
double * send_buffer
 
double * recv_buffer
 
MPI_Requestmpi_requests
 
MPI_Statusmpi_stati
 
esysUtils::JMPI mpi_info
 

Constructor & Destructor Documentation

paso::Coupler::Coupler ( const_Connector_ptr  conn,
dim_t  blockSize 
)
paso::Coupler::~Coupler ( )

Member Function Documentation

const double* paso::Coupler::borrowLocalData ( ) const
inline
const double* paso::Coupler::borrowRemoteData ( ) const
inline
void paso::Coupler::copyAll ( Coupler_ptr  target) const
void paso::Coupler::fillOverlap ( dim_t  n,
double *  x 
)
double * paso::Coupler::finishCollect ( )
dim_t paso::Coupler::getLocalLength ( ) const
inline

Referenced by copyAll().

dim_t paso::Coupler::getNumOverlapComponents ( ) const
inline
dim_t paso::Coupler::getNumOverlapValues ( ) const
inline

Referenced by copyAll(), fillOverlap(), and max().

dim_t paso::Coupler::getNumSharedComponents ( ) const
inline
dim_t paso::Coupler::getNumSharedValues ( ) const
inline
void paso::Coupler::max ( dim_t  n,
double *  x 
)
void paso::Coupler::startCollect ( const double *  in)

Member Data Documentation

dim_t paso::Coupler::block_size
const_Connector_ptr paso::Coupler::connector

Referenced by finishCollect(), and startCollect().

double* paso::Coupler::data

Referenced by copyAll(), and startCollect().

bool paso::Coupler::in_use

Referenced by finishCollect(), and startCollect().

esysUtils::JMPI paso::Coupler::mpi_info
mutable
MPI_Request* paso::Coupler::mpi_requests
MPI_Status* paso::Coupler::mpi_stati

Referenced by Coupler(), finishCollect(), and ~Coupler().

double* paso::Coupler::recv_buffer
double* paso::Coupler::send_buffer

Referenced by Coupler(), startCollect(), and ~Coupler().


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