#include <MEDCouplingRemapper.hxx>

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) |
| MEDCouplingFieldDouble * | transferField (const MEDCouplingFieldDouble *srcField, double dftValue) throw (INTERP_KERNEL::Exception) |
| MEDCouplingFieldDouble * | reverseTransferField (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) |
Static Public Member Functions | |
| static 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 | 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 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 |
| ParaMEDMEM.MEDCouplingRemapper.MEDCouplingRemapper | ( | ) |
| ParaMEDMEM.MEDCouplingRemapper.~MEDCouplingRemapper | ( | ) |
| 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 | ||
| ) |
Reimplemented from INTERP_KERNEL.InterpolationOptions.
| bool ParaMEDMEM.MEDCouplingRemapper.setOptionDouble | ( | const std::string & | key, |
| double | value | ||
| ) |
Reimplemented from INTERP_KERNEL.InterpolationOptions.
| bool ParaMEDMEM.MEDCouplingRemapper.setOptionString | ( | const std::string & | key, |
| const std::string & | value | ||
| ) |
Reimplemented from INTERP_KERNEL.InterpolationOptions.
| 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) [private] |
| int ParaMEDMEM.MEDCouplingRemapper.prepareEE | ( | const char * | method | ) | throw (INTERP_KERNEL::Exception) [private] |
| void ParaMEDMEM.MEDCouplingRemapper.updateTime | ( | ) | const [private, virtual] |
Implements ParaMEDMEM.TimeLabel.
| void ParaMEDMEM.MEDCouplingRemapper.releaseData | ( | bool | matrixSuppression | ) | [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, | ||
| double | dftValue, | ||
| double * | resPointer | ||
| ) | [private] |
| void ParaMEDMEM.MEDCouplingRemapper.computeReverseProduct | ( | const double * | inputPointer, |
| int | inputNbOfCompo, | ||
| double | dftValue, | ||
| double * | resPointer | ||
| ) | [private] |
| 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.reverseMatrix | ( | const std::vector< std::map< int, double > > & | matIn, |
| int | nbColsMatIn, | ||
| std::vector< std::map< int, double > > & | matOut | ||
| ) | [static, 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] |
| 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] |
std::string ParaMEDMEM.MEDCouplingRemapper._src_method [private] |
std::string ParaMEDMEM.MEDCouplingRemapper._target_method [private] |
unsigned int ParaMEDMEM.MEDCouplingRemapper._time_deno_update [private] |
std::vector<std::map<int,double> > ParaMEDMEM.MEDCouplingRemapper._matrix [private] |
std::vector<std::map<int,double> > ParaMEDMEM.MEDCouplingRemapper._deno_multiply [private] |
std::vector<std::map<int,double> > ParaMEDMEM.MEDCouplingRemapper._deno_reverse_multiply [private] |