Version: 5.1.6

ParaMEDMEM.MEDCouplingRemapper Class Reference

#include <MEDCouplingRemapper.hxx>

Inheritance diagram for ParaMEDMEM.MEDCouplingRemapper:
Inheritance graph

Public Member Functions

 MEDCouplingRemapper ()
 ~MEDCouplingRemapper ()
int prepare (const MEDCouplingMesh *srcMesh, const MEDCouplingMesh *targetMesh, const char *method) throw (INTERP_KERNEL::Exception)
int prepareEx (const MEDCouplingFieldTemplate *src, const MEDCouplingFieldTemplate *target) throw (INTERP_KERNEL::Exception)
void transfer (const MEDCouplingFieldDouble *srcField, MEDCouplingFieldDouble *targetField, double dftValue) throw (INTERP_KERNEL::Exception)
void reverseTransfer (MEDCouplingFieldDouble *srcField, const MEDCouplingFieldDouble *targetField, double dftValue) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoubletransferField (const MEDCouplingFieldDouble *srcField, double dftValue) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublereverseTransferField (const MEDCouplingFieldDouble *targetField, double dftValue) throw (INTERP_KERNEL::Exception)
bool setOptionInt (const std::string &key, int value)
bool setOptionDouble (const std::string &key, double value)
bool setOptionString (const std::string &key, const std::string &value)
int prepareUU (const char *method) throw (INTERP_KERNEL::Exception)
int prepareEE (const char *method) throw (INTERP_KERNEL::Exception)
void updateTime () const
void releaseData (bool matrixSuppression)
void computeDeno (NatureOfField nat, const MEDCouplingFieldDouble *srcField, const MEDCouplingFieldDouble *trgField)
void computeDenoFromScratch (NatureOfField nat, const MEDCouplingFieldDouble *srcField, const MEDCouplingFieldDouble *trgField) throw (INTERP_KERNEL::Exception)
void computeProduct (const double *inputPointer, int inputNbOfCompo, double dftValue, double *resPointer)
void computeReverseProduct (const double *inputPointer, int inputNbOfCompo, double dftValue, double *resPointer)
void buildFinalInterpolationMatrixByConvolution (const std::vector< std::map< int, double > > &m1D, const std::vector< std::map< int, double > > &m2D, const int *corrCellIdSrc, int nbOf2DCellsSrc, int nbOf1DCellsSrc, const int *corrCellIdTrg)

Static Public Member Functions

static void printMatrix (const std::vector< std::map< int, double > > &m)
static void reverseMatrix (const std::vector< std::map< int, double > > &matIn, int nbColsMatIn, std::vector< std::map< int, double > > &matOut)
static void computeRowSumAndColSum (const std::vector< std::map< int, double > > &matrixDeno, std::vector< std::map< int, double > > &deno, std::vector< std::map< int, double > > &denoReverse)
static void computeColSumAndRowSum (const std::vector< std::map< int, double > > &matrixDeno, std::vector< std::map< int, double > > &deno, std::vector< std::map< int, double > > &denoReverse)

Data Fields

MEDCouplingMesh_src_mesh
MEDCouplingMesh_target_mesh
std::string _src_method
std::string _target_method
NatureOfField _nature_of_deno
unsigned int _time_deno_update
std::vector< std::map< int,
double > > 
_matrix
std::vector< std::map< int,
double > > 
_deno_multiply
std::vector< std::map< int,
double > > 
_deno_reverse_multiply

Constructor & Destructor Documentation

ParaMEDMEM.MEDCouplingRemapper.MEDCouplingRemapper (  ) 
ParaMEDMEM.MEDCouplingRemapper.~MEDCouplingRemapper (  ) 

Member Function Documentation

int ParaMEDMEM.MEDCouplingRemapper.prepare ( const MEDCouplingMesh srcMesh,
const MEDCouplingMesh targetMesh,
const char *  method 
) throw (INTERP_KERNEL::Exception)
int ParaMEDMEM.MEDCouplingRemapper.prepareEx ( const MEDCouplingFieldTemplate src,
const MEDCouplingFieldTemplate target 
) throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingRemapper.transfer ( const MEDCouplingFieldDouble srcField,
MEDCouplingFieldDouble targetField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingRemapper.reverseTransfer ( MEDCouplingFieldDouble srcField,
const MEDCouplingFieldDouble targetField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingRemapper.transferField ( const MEDCouplingFieldDouble srcField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble* ParaMEDMEM.MEDCouplingRemapper.reverseTransferField ( const MEDCouplingFieldDouble targetField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
bool ParaMEDMEM.MEDCouplingRemapper.setOptionInt ( const std::string &  key,
int  value 
)
bool ParaMEDMEM.MEDCouplingRemapper.setOptionDouble ( const std::string &  key,
double  value 
)
bool ParaMEDMEM.MEDCouplingRemapper.setOptionString ( const std::string &  key,
const std::string &  value 
)
static void ParaMEDMEM.MEDCouplingRemapper.printMatrix ( const std::vector< std::map< int, double > > &  m  )  [static]
int ParaMEDMEM.MEDCouplingRemapper.prepareUU ( const char *  method  )  throw (INTERP_KERNEL::Exception)
int ParaMEDMEM.MEDCouplingRemapper.prepareEE ( const char *  method  )  throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingRemapper.updateTime (  )  const [virtual]

Implements ParaMEDMEM.TimeLabel.

void ParaMEDMEM.MEDCouplingRemapper.releaseData ( bool  matrixSuppression  ) 
void ParaMEDMEM.MEDCouplingRemapper.computeDeno ( NatureOfField  nat,
const MEDCouplingFieldDouble srcField,
const MEDCouplingFieldDouble trgField 
)
void ParaMEDMEM.MEDCouplingRemapper.computeDenoFromScratch ( NatureOfField  nat,
const MEDCouplingFieldDouble srcField,
const MEDCouplingFieldDouble trgField 
) throw (INTERP_KERNEL::Exception)
void ParaMEDMEM.MEDCouplingRemapper.computeProduct ( const double inputPointer,
int  inputNbOfCompo,
double  dftValue,
double resPointer 
)
void ParaMEDMEM.MEDCouplingRemapper.computeReverseProduct ( const double inputPointer,
int  inputNbOfCompo,
double  dftValue,
double resPointer 
)
void ParaMEDMEM.MEDCouplingRemapper.buildFinalInterpolationMatrixByConvolution ( const std::vector< std::map< int, double > > &  m1D,
const std::vector< std::map< int, double > > &  m2D,
const int corrCellIdSrc,
int  nbOf2DCellsSrc,
int  nbOf1DCellsSrc,
const int corrCellIdTrg 
)
static void ParaMEDMEM.MEDCouplingRemapper.reverseMatrix ( const std::vector< std::map< int, double > > &  matIn,
int  nbColsMatIn,
std::vector< std::map< int, double > > &  matOut 
) [static]
static void ParaMEDMEM.MEDCouplingRemapper.computeRowSumAndColSum ( const std::vector< std::map< int, double > > &  matrixDeno,
std::vector< std::map< int, double > > &  deno,
std::vector< std::map< int, double > > &  denoReverse 
) [static]
static void ParaMEDMEM.MEDCouplingRemapper.computeColSumAndRowSum ( const std::vector< std::map< int, double > > &  matrixDeno,
std::vector< std::map< int, double > > &  deno,
std::vector< std::map< int, double > > &  denoReverse 
) [static]

Field Documentation