Version: 5.1.6

ParaMEDMEM.ExplicitMapping Class Reference

#include <ExplicitMapping.hxx>

Public Member Functions

 ExplicitMapping ()
 ~ExplicitMapping ()
void pushBackElem (std::pair< int, int > idistant)
void setDistantElem (int ilocal, std::pair< int, int > idistant)
int nbDistantDomains ()
std::pair< int, intgetDistantNumbering (int ielem) const
int getDistantDomain (int i)
int getNbDistantElems (int i)
intserialize (int idproc)
void unserialize (int nbprocs, int *sizes, int nbtarget, int *targetrank, int *commbuffer)
intgetBufferIndex () const
intgetCounts () const
void computeNumbers ()

Data Fields

std::vector< std::pair< int,
int > > 
_mapping
std::set< int_distant_domains
int_numbers
int_domains
int_comm_buffer
int_buffer_index
int_send_counts

Constructor & Destructor Documentation

ParaMEDMEM.ExplicitMapping.ExplicitMapping (  ) 
ParaMEDMEM.ExplicitMapping.~ExplicitMapping (  ) 

Member Function Documentation

void ParaMEDMEM.ExplicitMapping.pushBackElem ( std::pair< int, int idistant  ) 
void ParaMEDMEM.ExplicitMapping.setDistantElem ( int  ilocal,
std::pair< int, int idistant 
)
int ParaMEDMEM.ExplicitMapping.nbDistantDomains (  ) 
std::pair<int,int> ParaMEDMEM.ExplicitMapping.getDistantNumbering ( int  ielem  )  const
int ParaMEDMEM.ExplicitMapping.getDistantDomain ( int  i  ) 
int ParaMEDMEM.ExplicitMapping.getNbDistantElems ( int  i  ) 
int* ParaMEDMEM.ExplicitMapping.serialize ( int  idproc  ) 
void ParaMEDMEM.ExplicitMapping.unserialize ( int  nbprocs,
int sizes,
int  nbtarget,
int targetrank,
int commbuffer 
)
int* ParaMEDMEM.ExplicitMapping.getBufferIndex (  )  const
int* ParaMEDMEM.ExplicitMapping.getCounts (  )  const
void ParaMEDMEM.ExplicitMapping.computeNumbers (  ) 

Field Documentation

std::vector<std::pair<int,int> > ParaMEDMEM.ExplicitMapping._mapping