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 | partialTransfer (const MEDCouplingFieldDouble *srcField, MEDCouplingFieldDouble *targetField) 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) |
const std::vector< std::map < int, double > > & | getCrudeMatrix () const |
![]() | |
TimeLabel & | operator= (const TimeLabel &other) |
void | declareAsNew () const |
virtual void | updateTime () const =0 |
unsigned int | getTimeOfThis () const |
![]() | |
InterpolationOptions () | |
int | getPrintLevel () const |
void | setPrintLevel (int pl) |
IntersectionType | getIntersectionType () const |
void | setIntersectionType (IntersectionType it) |
std::string | getIntersectionTypeRepr () const |
double | getPrecision () const |
void | setPrecision (double p) |
double | getMedianPlane () const |
void | setMedianPlane (double mp) |
bool | getDoRotate () const |
void | setDoRotate (bool dr) |
double | getBoundingBoxAdjustment () const |
void | setBoundingBoxAdjustment (double bba) |
double | getBoundingBoxAdjustmentAbs () const |
void | setBoundingBoxAdjustmentAbs (double bba) |
double | getMaxDistance3DSurfIntersect () const |
void | setMaxDistance3DSurfIntersect (double bba) |
int | getOrientation () const |
void | setOrientation (int o) |
bool | getMeasureAbsStatus () const |
void | setMeasureAbsStatus (bool newStatus) |
SplittingPolicy | getSplittingPolicy () const |
void | setSplittingPolicy (SplittingPolicy sp) |
std::string | getSplittingPolicyRepr () const |
void | setP1P0BaryMethod (bool isP1P0) |
bool | getP1P0BaryMethod () const |
std::string | filterInterpolationMethod (const std::string &meth) const |
void | init () |
bool | setInterpolationOptions (long print_level, std::string intersection_type, double precision, double median_plane, bool do_rotate, double bounding_box_adjustment, double bounding_box_adjustment_abs, double max_distance_for_3Dsurf_intersect, long orientation, bool measure_abs, std::string splitting_policy, bool P1P0_bary_method) |
void | copyOptions (const InterpolationOptions &other) |
std::string | printOptions () const |
Static Public Member Functions | |
static void | PrintMatrix (const std::vector< std::map< int, double > > &m) |
Additional Inherited Members | |
![]() | |
static const char | PRECISION_STR [] = "Precision" |
static const char | MEDIANE_PLANE_STR [] = "MedianPlane" |
static const char | BOUNDING_BOX_ADJ_STR [] = "BoundingBoxAdjustment" |
static const char | BOUNDING_BOX_ADJ_ABS_STR [] = "BoundingBoxAdjustmentAbs" |
static const char | MAX_DISTANCE_3DSURF_INSECT_STR [] = "MaxDistance3DSurfIntersect" |
static const char | PRINT_LEV_STR [] = "PrintLevel" |
static const char | DO_ROTATE_STR [] = "DoRotate" |
static const char | ORIENTATION_STR [] = "Orientation" |
static const char | MEASURE_ABS_STR [] = "MeasureAbs" |
static const char | INTERSEC_TYPE_STR [] = "IntersectionType" |
static const char | SPLITTING_POLICY_STR [] = "SplittingPolicy" |
static const char | TRIANGULATION_INTERSECT2D_STR [] = "Triangulation" |
static const char | CONVEX_INTERSECT2D_STR [] = "Convex" |
static const char | GEOMETRIC_INTERSECT2D_STR [] = "Geometric2D" |
static const char | POINTLOCATOR_INTERSECT_STR [] = "PointLocator" |
static const char | PLANAR_SPLIT_FACE_5_STR [] = "PLANAR_FACE_5" |
static const char | PLANAR_SPLIT_FACE_6_STR [] = "PLANAR_FACE_6" |
static const char | GENERAL_SPLIT_24_STR [] = "GENERAL_24" |
static const char | GENERAL_SPLIT_48_STR [] = "GENERAL_48" |
![]() | |
TimeLabel () | |
virtual | ~TimeLabel () |
void | updateTimeWith (const TimeLabel &other) const |
MEDCouplingRemapper::MEDCouplingRemapper | ( | ) |
MEDCouplingRemapper::~MEDCouplingRemapper | ( | ) |
int MEDCouplingRemapper::prepare | ( | const MEDCouplingMesh * | srcMesh, |
const MEDCouplingMesh * | targetMesh, | ||
const char * | method | ||
) | throw (INTERP_KERNEL::Exception) |
References ParaMEDMEM::RefCountObject::incrRef().
int MEDCouplingRemapper::prepareEx | ( | const MEDCouplingFieldTemplate * | src, |
const MEDCouplingFieldTemplate * | target | ||
) | throw (INTERP_KERNEL::Exception) |
void MEDCouplingRemapper::transfer | ( | const MEDCouplingFieldDouble * | srcField, |
MEDCouplingFieldDouble * | targetField, | ||
double | dftValue | ||
) | throw (INTERP_KERNEL::Exception) |
This method performs the operation source to target using matrix computed in ParaMEDMEM::MEDCouplingRemapper::prepare method. If meshes of srcField and targetField do not match exactly those given into prepare method an exception will be thrown.
[in] | srcField | is the source field from which the interpolation will be done. The mesh into srcField should be the same than those specified on ParaMEDMEM::MEDCouplingRemapper::prepare. |
[out] | targetField | the destination field with the allocated array in which all tuples will be overwritten. |
void MEDCouplingRemapper::partialTransfer | ( | const MEDCouplingFieldDouble * | srcField, |
MEDCouplingFieldDouble * | targetField | ||
) | throw (INTERP_KERNEL::Exception) |
This method is equivalent to ParaMEDMEM::MEDCouplingRemapper::transfer except that here targetField is a in/out parameter. If an entity (cell for example) in targetField is not fetched by any entity (cell for example) of srcField, the value in targetField is let unchanged. This method requires that targetField was fully defined and allocated. If the array is not allocated an exception will be thrown.
[in] | srcField | is the source field from which the interpolation will be done. The mesh into srcField should be the same than those specified on ParaMEDMEM::MEDCouplingRemapper::prepare. |
[in,out] | targetField | the destination field with the allocated array in which only tuples whose entities are fetched by interpolation will be overwritten only. |
void MEDCouplingRemapper::reverseTransfer | ( | MEDCouplingFieldDouble * | srcField, |
const MEDCouplingFieldDouble * | targetField, | ||
double | dftValue | ||
) | throw (INTERP_KERNEL::Exception) |
MEDCouplingFieldDouble * MEDCouplingRemapper::transferField | ( | const MEDCouplingFieldDouble * | srcField, |
double | dftValue | ||
) | throw (INTERP_KERNEL::Exception) |
MEDCouplingFieldDouble * MEDCouplingRemapper::reverseTransferField | ( | const MEDCouplingFieldDouble * | targetField, |
double | dftValue | ||
) | throw (INTERP_KERNEL::Exception) |
bool MEDCouplingRemapper::setOptionInt | ( | const std::string & | key, |
int | value | ||
) |
Reimplemented from INTERP_KERNEL::InterpolationOptions.
bool MEDCouplingRemapper::setOptionDouble | ( | const std::string & | key, |
double | value | ||
) |
Reimplemented from INTERP_KERNEL::InterpolationOptions.
bool MEDCouplingRemapper::setOptionString | ( | const std::string & | key, |
const std::string & | value | ||
) |
Reimplemented from INTERP_KERNEL::InterpolationOptions.
const std::vector< std::map< int, double > > & MEDCouplingRemapper::getCrudeMatrix | ( | ) | const |
|
static |