Back to index

salome-med  6.5.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
ParaMEDMEM::MEDCouplingRemapper Class Reference

#include <MEDCouplingRemapper.hxx>

Inheritance diagram for ParaMEDMEM::MEDCouplingRemapper:
Inheritance graph
[legend]
Collaboration diagram for ParaMEDMEM::MEDCouplingRemapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

MEDCOUPLINGREMAPPER_EXPORT MEDCouplingRemapper ()
MEDCOUPLINGREMAPPER_EXPORT ~MEDCouplingRemapper ()
MEDCOUPLINGREMAPPER_EXPORT int prepare (const MEDCouplingMesh *srcMesh, const MEDCouplingMesh *targetMesh, const char *method) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT int prepareEx (const MEDCouplingFieldTemplate *src, const MEDCouplingFieldTemplate *target) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT void transfer (const MEDCouplingFieldDouble *srcField, MEDCouplingFieldDouble *targetField, double dftValue) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT void partialTransfer (const MEDCouplingFieldDouble *srcField, MEDCouplingFieldDouble *targetField) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT void reverseTransfer (MEDCouplingFieldDouble *srcField, const MEDCouplingFieldDouble *targetField, double dftValue) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT
MEDCouplingFieldDouble
transferField (const MEDCouplingFieldDouble *srcField, double dftValue) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT
MEDCouplingFieldDouble
reverseTransferField (const MEDCouplingFieldDouble *targetField, double dftValue) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT bool setOptionInt (const std::string &key, int value)
MEDCOUPLINGREMAPPER_EXPORT bool setOptionDouble (const std::string &key, double value)
MEDCOUPLINGREMAPPER_EXPORT bool setOptionString (const std::string &key, const std::string &value)
MEDCOUPLINGREMAPPER_EXPORT
const std::vector< std::map
< int, double > > & 
getCrudeMatrix () const
def assign
def declareAsNew
def updateTime
def getTimeOfThis

Static Public Member Functions

static
MEDCOUPLINGREMAPPER_EXPORT
void 
PrintMatrix (const std::vector< std::map< int, double > > &m)

Private Member Functions

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 transferUnderground (const MEDCouplingFieldDouble *srcField, MEDCouplingFieldDouble *targetField, bool isDftVal, double dftValue) throw (INTERP_KERNEL::Exception)
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, bool isDftVal, 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 Private Member Functions

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)

Private Attributes

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

Detailed Description

Definition at line 42 of file MEDCouplingRemapper.hxx.


Constructor & Destructor Documentation


Member Function Documentation

def ParaMEDMEM.TimeLabel.assign (   self,
  args 
) [inherited]
assign(self, TimeLabel other) -> TimeLabel

1

Reimplemented in ParaMEDMEM.MEDCouplingFieldDouble.

Definition at line 284 of file ParaMEDMEM.py.

00284 
00285     def assign(self, *args):
00286         """
00287         assign(self, TimeLabel other) -> TimeLabel
00288 
00289         1
00290         """
00291         return _ParaMEDMEM.TimeLabel_assign(self, *args)

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 
) [private]
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, private]
void ParaMEDMEM::MEDCouplingRemapper::computeDeno ( NatureOfField  nat,
const MEDCouplingFieldDouble srcField,
const MEDCouplingFieldDouble trgField 
) [private]
void ParaMEDMEM::MEDCouplingRemapper::computeDenoFromScratch ( NatureOfField  nat,
const MEDCouplingFieldDouble srcField,
const MEDCouplingFieldDouble trgField 
) throw (INTERP_KERNEL::Exception) [private]
void ParaMEDMEM::MEDCouplingRemapper::computeProduct ( const double *  inputPointer,
int  inputNbOfCompo,
bool  isDftVal,
double  dftValue,
double *  resPointer 
) [private]
void ParaMEDMEM::MEDCouplingRemapper::computeReverseProduct ( const double *  inputPointer,
int  inputNbOfCompo,
double  dftValue,
double *  resPointer 
) [private]
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, private]
def ParaMEDMEM.TimeLabel.declareAsNew (   self) [inherited]
declareAsNew(self)

1

Definition at line 292 of file ParaMEDMEM.py.

00292 
00293     def declareAsNew(self):
00294         """
00295         declareAsNew(self)
00296 
00297         1
00298         """
00299         return _ParaMEDMEM.TimeLabel_declareAsNew(self)

Here is the caller graph for this function:

MEDCOUPLINGREMAPPER_EXPORT const std::vector<std::map<int,double> >& ParaMEDMEM::MEDCouplingRemapper::getCrudeMatrix ( ) const
def ParaMEDMEM.TimeLabel.getTimeOfThis (   self) [inherited]
getTimeOfThis(self) -> unsigned int

1

Definition at line 308 of file ParaMEDMEM.py.

00308 
00309     def getTimeOfThis(self):
00310         """
00311         getTimeOfThis(self) -> unsigned int
00312 
00313         1
00314         """
00315         return _ParaMEDMEM.TimeLabel_getTimeOfThis(self)

Here is the caller graph for this function:

MEDCOUPLINGREMAPPER_EXPORT void ParaMEDMEM::MEDCouplingRemapper::partialTransfer ( const MEDCouplingFieldDouble srcField,
MEDCouplingFieldDouble targetField 
) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT int ParaMEDMEM::MEDCouplingRemapper::prepare ( const MEDCouplingMesh srcMesh,
const MEDCouplingMesh targetMesh,
const char *  method 
) throw (INTERP_KERNEL::Exception)
int ParaMEDMEM::MEDCouplingRemapper::prepareEE ( const char *  method) throw (INTERP_KERNEL::Exception) [private]
MEDCOUPLINGREMAPPER_EXPORT int ParaMEDMEM::MEDCouplingRemapper::prepareEx ( const MEDCouplingFieldTemplate src,
const MEDCouplingFieldTemplate target 
) throw (INTERP_KERNEL::Exception)
int ParaMEDMEM::MEDCouplingRemapper::prepareUU ( const char *  method) throw (INTERP_KERNEL::Exception) [private]
static MEDCOUPLINGREMAPPER_EXPORT void ParaMEDMEM::MEDCouplingRemapper::PrintMatrix ( const std::vector< std::map< int, double > > &  m) [static]
void ParaMEDMEM::MEDCouplingRemapper::releaseData ( bool  matrixSuppression) [private]
static void ParaMEDMEM::MEDCouplingRemapper::reverseMatrix ( const std::vector< std::map< int, double > > &  matIn,
int  nbColsMatIn,
std::vector< std::map< int, double > > &  matOut 
) [static, private]
MEDCOUPLINGREMAPPER_EXPORT void ParaMEDMEM::MEDCouplingRemapper::reverseTransfer ( MEDCouplingFieldDouble srcField,
const MEDCouplingFieldDouble targetField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT MEDCouplingFieldDouble* ParaMEDMEM::MEDCouplingRemapper::reverseTransferField ( const MEDCouplingFieldDouble targetField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT bool ParaMEDMEM::MEDCouplingRemapper::setOptionDouble ( const std::string &  key,
double  value 
)
MEDCOUPLINGREMAPPER_EXPORT bool ParaMEDMEM::MEDCouplingRemapper::setOptionInt ( const std::string &  key,
int  value 
)
MEDCOUPLINGREMAPPER_EXPORT bool ParaMEDMEM::MEDCouplingRemapper::setOptionString ( const std::string &  key,
const std::string &  value 
)
MEDCOUPLINGREMAPPER_EXPORT void ParaMEDMEM::MEDCouplingRemapper::transfer ( const MEDCouplingFieldDouble srcField,
MEDCouplingFieldDouble targetField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
MEDCOUPLINGREMAPPER_EXPORT MEDCouplingFieldDouble* ParaMEDMEM::MEDCouplingRemapper::transferField ( const MEDCouplingFieldDouble srcField,
double  dftValue 
) throw (INTERP_KERNEL::Exception)
void ParaMEDMEM::MEDCouplingRemapper::transferUnderground ( const MEDCouplingFieldDouble srcField,
MEDCouplingFieldDouble targetField,
bool  isDftVal,
double  dftValue 
) throw (INTERP_KERNEL::Exception) [private]
def ParaMEDMEM.TimeLabel.updateTime (   self) [inherited]
updateTime(self)

1

Reimplemented in ParaMEDMEM.MEDCouplingFieldDouble, ParaMEDMEM::MEDCouplingUMesh, ParaMEDMEM.MEDCouplingPointSet, ParaMEDMEM.MEDCouplingFieldDiscretization, ParaMEDMEM.MEDCouplingTwoTimeSteps, ParaMEDMEM.MEDCouplingTimeDiscretization, ParaMEDMEM::DataArrayInt, and ParaMEDMEM::DataArrayDouble.

Definition at line 300 of file ParaMEDMEM.py.

00300 
00301     def updateTime(self):
00302         """
00303         updateTime(self)
00304 
00305         1
00306         """
00307         return _ParaMEDMEM.TimeLabel_updateTime(self)


Member Data Documentation

std::vector<std::map<int,double> > ParaMEDMEM::MEDCouplingRemapper::_deno_multiply [private]

Definition at line 88 of file MEDCouplingRemapper.hxx.

std::vector<std::map<int,double> > ParaMEDMEM::MEDCouplingRemapper::_deno_reverse_multiply [private]

Definition at line 89 of file MEDCouplingRemapper.hxx.

std::vector<std::map<int,double> > ParaMEDMEM::MEDCouplingRemapper::_matrix [private]

Definition at line 87 of file MEDCouplingRemapper.hxx.

Definition at line 85 of file MEDCouplingRemapper.hxx.

Definition at line 81 of file MEDCouplingRemapper.hxx.

Definition at line 83 of file MEDCouplingRemapper.hxx.

Definition at line 82 of file MEDCouplingRemapper.hxx.

Definition at line 84 of file MEDCouplingRemapper.hxx.

Definition at line 86 of file MEDCouplingRemapper.hxx.


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