Version: 9.14.0
INTERP_KERNEL::InterpolationOptions Class Reference
Inheritance diagram for INTERP_KERNEL::InterpolationOptions:
Collaboration diagram for INTERP_KERNEL::InterpolationOptions:

Public Member Functions

void copyOptions (const InterpolationOptions &other)
 
std::string filterInterpolationMethod (const std::string &meth) const
 
double getBoundingBoxAdjustment () const
 
double getBoundingBoxAdjustmentAbs () const
 
bool getDoRotate () const
 
const FEInterpolationOptionsgetFEOptions () const
 
IntersectionType getIntersectionType () const
 
std::string getIntersectionTypeRepr () const
 
double getMaxDistance3DSurfIntersect () const
 
bool getMaxDistanceStatus () const override
 
bool getMeasureAbsStatus () const
 
double getMedianPlane () const
 
double getMinDotBtwPlane3DSurfIntersect () const
 
int getOrientation () const
 
double getPrecision () const
 
int getPrintLevel () const
 
double getProjectionMaxDistance () const override
 
bool getProjectionOnSurfStatus () const override
 
SplittingPolicy getSplittingPolicy () const
 
std::string getSplittingPolicyRepr () const
 
void init ()
 
 InterpolationOptions ()
 
 InterpolationOptions (const InterpolationOptions &other)=default
 
InterpolationOptionsoperator= (const InterpolationOptions &other)=default
 
std::string printOptions () const
 
void setBoundingBoxAdjustment (double bba)
 
void setBoundingBoxAdjustmentAbs (double bba)
 
void setDoRotate (bool dr)
 
bool setInterpolationOptions (int 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, int orientation, bool measure_abs, std::string splitting_policy)
 
void setIntersectionType (IntersectionType it)
 
void setMaxDistance3DSurfIntersect (double bba)
 
void setMaxDistanceStatus (bool maxDistStatus) override
 
void setMeasureAbsStatus (bool newStatus)
 
void setMedianPlane (double mp)
 
void setMinDotBtwPlane3DSurfIntersect (double v)
 
bool setOptionDouble (const std::string &key, double value)
 
bool setOptionInt (const std::string &key, int value)
 
bool setOptionString (const std::string &key, const std::string &value)
 
void setOrientation (int o)
 
void setPrecision (double p)
 
void setPrintLevel (int pl)
 
void setProjectionMaxDistance (double projDistMax) override
 
void setProjectionOnSurfStatus (bool projOnSurfStatus) override
 
void setSplittingPolicy (SplittingPolicy sp)
 
 ~InterpolationOptions ()=default
 

Static Public Member Functions

static void CheckAndSplitInterpolationMethod (const std::string &method, std::string &srcMeth, std::string &trgMeth)
 

Static Public Attributes

static const char BARYCENTRIC_INTERSECT_STR [] = "Barycentric"
 
static const char BARYCENTRICGEO2D_INTERSECT_STR [] = "BarycentricGeo2D"
 
static const char BOUNDING_BOX_ADJ_ABS_STR [] = "BoundingBoxAdjustmentAbs"
 
static const char BOUNDING_BOX_ADJ_STR [] = "BoundingBoxAdjustment"
 
static const char CONVEX_INTERSECT2D_STR [] = "Convex"
 
static const char DO_ROTATE_STR [] = "DoRotate"
 
static const char GENERAL_SPLIT_24_STR [] = "GENERAL_24"
 
static const char GENERAL_SPLIT_48_STR [] = "GENERAL_48"
 
static const char GEOMETRIC_INTERSECT2D_STR [] = "Geometric2D"
 
static const char INTERSEC_TYPE_STR [] = "IntersectionType"
 
static const char MAX_DISTANCE_3DSURF_INSECT_STR [] = "MaxDistance3DSurfIntersect"
 
static const char MEASURE_ABS_STR [] = "MeasureAbs"
 
static const char MEDIANE_PLANE_STR [] = "MedianPlane"
 
static const char MIN_DOT_BTW_3DSURF_INSECT_STR [] = "MinDotBetween3DSurfIntersect"
 
static const char ORIENTATION_STR [] = "Orientation"
 
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 POINTLOCATOR_INTERSECT_STR [] = "PointLocator"
 
static const char PRECISION_STR [] = "Precision"
 
static const char PRINT_LEV_STR [] = "PrintLevel"
 
static const char SPLITTING_POLICY_STR [] = "SplittingPolicy"
 
static const char TRIANGULATION_INTERSECT2D_STR [] = "Triangulation"
 

Detailed Description

Class defining the options for all interpolation algorithms used in the remapper and in some of the DECs.

List of options, possible values and default values can be found on this page: Intersectors and point locators

Constructor & Destructor Documentation

◆ InterpolationOptions() [1/2]

INTERP_KERNEL::InterpolationOptions::InterpolationOptions ( )

◆ InterpolationOptions() [2/2]

INTERP_KERNEL::InterpolationOptions::InterpolationOptions ( const InterpolationOptions other)
default

◆ ~InterpolationOptions()

INTERP_KERNEL::InterpolationOptions::~InterpolationOptions ( )
default

Member Function Documentation

◆ operator=()

InterpolationOptions& INTERP_KERNEL::InterpolationOptions::operator= ( const InterpolationOptions other)
default

◆ getPrintLevel()

int INTERP_KERNEL::InterpolationOptions::getPrintLevel ( ) const

◆ setPrintLevel()

void INTERP_KERNEL::InterpolationOptions::setPrintLevel ( int  pl)

◆ getIntersectionType()

IntersectionType INTERP_KERNEL::InterpolationOptions::getIntersectionType ( ) const

◆ setIntersectionType()

void INTERP_KERNEL::InterpolationOptions::setIntersectionType ( IntersectionType  it)

◆ getIntersectionTypeRepr()

std::string INTERP_KERNEL::InterpolationOptions::getIntersectionTypeRepr ( ) const

◆ getPrecision()

double INTERP_KERNEL::InterpolationOptions::getPrecision ( ) const

◆ setPrecision()

void INTERP_KERNEL::InterpolationOptions::setPrecision ( double  p)

◆ getMedianPlane()

double INTERP_KERNEL::InterpolationOptions::getMedianPlane ( ) const

◆ setMedianPlane()

void INTERP_KERNEL::InterpolationOptions::setMedianPlane ( double  mp)

◆ getDoRotate()

bool INTERP_KERNEL::InterpolationOptions::getDoRotate ( ) const

◆ setDoRotate()

void INTERP_KERNEL::InterpolationOptions::setDoRotate ( bool  dr)

◆ getBoundingBoxAdjustment()

double INTERP_KERNEL::InterpolationOptions::getBoundingBoxAdjustment ( ) const

◆ setBoundingBoxAdjustment()

void INTERP_KERNEL::InterpolationOptions::setBoundingBoxAdjustment ( double  bba)

◆ getBoundingBoxAdjustmentAbs()

double INTERP_KERNEL::InterpolationOptions::getBoundingBoxAdjustmentAbs ( ) const

◆ setBoundingBoxAdjustmentAbs()

void INTERP_KERNEL::InterpolationOptions::setBoundingBoxAdjustmentAbs ( double  bba)

◆ getMaxDistance3DSurfIntersect()

double INTERP_KERNEL::InterpolationOptions::getMaxDistance3DSurfIntersect ( ) const

◆ setMaxDistance3DSurfIntersect()

void INTERP_KERNEL::InterpolationOptions::setMaxDistance3DSurfIntersect ( double  bba)

◆ getMinDotBtwPlane3DSurfIntersect()

double INTERP_KERNEL::InterpolationOptions::getMinDotBtwPlane3DSurfIntersect ( ) const

◆ setMinDotBtwPlane3DSurfIntersect()

void INTERP_KERNEL::InterpolationOptions::setMinDotBtwPlane3DSurfIntersect ( double  v)

◆ getOrientation()

int INTERP_KERNEL::InterpolationOptions::getOrientation ( ) const

◆ setOrientation()

void INTERP_KERNEL::InterpolationOptions::setOrientation ( int  o)

◆ getMeasureAbsStatus()

◆ setMeasureAbsStatus()

void INTERP_KERNEL::InterpolationOptions::setMeasureAbsStatus ( bool  newStatus)

◆ getFEOptions()

const FEInterpolationOptions& INTERP_KERNEL::InterpolationOptions::getFEOptions ( ) const

◆ getProjectionMaxDistance()

double INTERP_KERNEL::InterpolationOptions::getProjectionMaxDistance ( ) const
overridevirtual

◆ setProjectionMaxDistance()

void INTERP_KERNEL::InterpolationOptions::setProjectionMaxDistance ( double  projDistMax)
overridevirtual

◆ getProjectionOnSurfStatus()

bool INTERP_KERNEL::InterpolationOptions::getProjectionOnSurfStatus ( ) const
overridevirtual

◆ setProjectionOnSurfStatus()

void INTERP_KERNEL::InterpolationOptions::setProjectionOnSurfStatus ( bool  projOnSurfStatus)
overridevirtual

◆ getMaxDistanceStatus()

bool INTERP_KERNEL::InterpolationOptions::getMaxDistanceStatus ( ) const
overridevirtual

◆ setMaxDistanceStatus()

void INTERP_KERNEL::InterpolationOptions::setMaxDistanceStatus ( bool  maxDistStatus)
overridevirtual

◆ getSplittingPolicy()

SplittingPolicy INTERP_KERNEL::InterpolationOptions::getSplittingPolicy ( ) const

◆ setSplittingPolicy()

void INTERP_KERNEL::InterpolationOptions::setSplittingPolicy ( SplittingPolicy  sp)

◆ getSplittingPolicyRepr()

std::string INTERP_KERNEL::InterpolationOptions::getSplittingPolicyRepr ( ) const

◆ filterInterpolationMethod()

std::string INTERP_KERNEL::InterpolationOptions::filterInterpolationMethod ( const std::string &  meth) const

◆ init()

void INTERP_KERNEL::InterpolationOptions::init ( )

◆ setInterpolationOptions()

bool INTERP_KERNEL::InterpolationOptions::setInterpolationOptions ( int  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,
int  orientation,
bool  measure_abs,
std::string  splitting_policy 
)

◆ copyOptions()

void INTERP_KERNEL::InterpolationOptions::copyOptions ( const InterpolationOptions other)

◆ setOptionDouble()

bool INTERP_KERNEL::InterpolationOptions::setOptionDouble ( const std::string &  key,
double  value 
)

◆ setOptionInt()

bool INTERP_KERNEL::InterpolationOptions::setOptionInt ( const std::string &  key,
int  value 
)

◆ setOptionString()

bool INTERP_KERNEL::InterpolationOptions::setOptionString ( const std::string &  key,
const std::string &  value 
)

◆ printOptions()

std::string INTERP_KERNEL::InterpolationOptions::printOptions ( ) const

◆ CheckAndSplitInterpolationMethod()

void INTERP_KERNEL::InterpolationOptions::CheckAndSplitInterpolationMethod ( const std::string &  method,
std::string &  srcMeth,
std::string &  trgMeth 
)
static

Member Data Documentation

◆ PRECISION_STR

const char INTERP_KERNEL::InterpolationOptions::PRECISION_STR = "Precision"
static

◆ MEDIANE_PLANE_STR

const char INTERP_KERNEL::InterpolationOptions::MEDIANE_PLANE_STR = "MedianPlane"
static

◆ BOUNDING_BOX_ADJ_STR

const char INTERP_KERNEL::InterpolationOptions::BOUNDING_BOX_ADJ_STR = "BoundingBoxAdjustment"
static

◆ BOUNDING_BOX_ADJ_ABS_STR

const char INTERP_KERNEL::InterpolationOptions::BOUNDING_BOX_ADJ_ABS_STR = "BoundingBoxAdjustmentAbs"
static

◆ MAX_DISTANCE_3DSURF_INSECT_STR

const char INTERP_KERNEL::InterpolationOptions::MAX_DISTANCE_3DSURF_INSECT_STR = "MaxDistance3DSurfIntersect"
static

◆ MIN_DOT_BTW_3DSURF_INSECT_STR

const char INTERP_KERNEL::InterpolationOptions::MIN_DOT_BTW_3DSURF_INSECT_STR = "MinDotBetween3DSurfIntersect"
static

◆ PRINT_LEV_STR

const char INTERP_KERNEL::InterpolationOptions::PRINT_LEV_STR = "PrintLevel"
static

◆ DO_ROTATE_STR

const char INTERP_KERNEL::InterpolationOptions::DO_ROTATE_STR = "DoRotate"
static

◆ ORIENTATION_STR

const char INTERP_KERNEL::InterpolationOptions::ORIENTATION_STR = "Orientation"
static

◆ MEASURE_ABS_STR

const char INTERP_KERNEL::InterpolationOptions::MEASURE_ABS_STR = "MeasureAbs"
static

◆ INTERSEC_TYPE_STR

const char INTERP_KERNEL::InterpolationOptions::INTERSEC_TYPE_STR = "IntersectionType"
static

◆ SPLITTING_POLICY_STR

const char INTERP_KERNEL::InterpolationOptions::SPLITTING_POLICY_STR = "SplittingPolicy"
static

◆ TRIANGULATION_INTERSECT2D_STR

const char INTERP_KERNEL::InterpolationOptions::TRIANGULATION_INTERSECT2D_STR = "Triangulation"
static

◆ CONVEX_INTERSECT2D_STR

const char INTERP_KERNEL::InterpolationOptions::CONVEX_INTERSECT2D_STR = "Convex"
static

◆ GEOMETRIC_INTERSECT2D_STR

const char INTERP_KERNEL::InterpolationOptions::GEOMETRIC_INTERSECT2D_STR = "Geometric2D"
static

◆ POINTLOCATOR_INTERSECT_STR

const char INTERP_KERNEL::InterpolationOptions::POINTLOCATOR_INTERSECT_STR = "PointLocator"
static

◆ BARYCENTRIC_INTERSECT_STR

const char INTERP_KERNEL::InterpolationOptions::BARYCENTRIC_INTERSECT_STR = "Barycentric"
static

◆ BARYCENTRICGEO2D_INTERSECT_STR

const char INTERP_KERNEL::InterpolationOptions::BARYCENTRICGEO2D_INTERSECT_STR = "BarycentricGeo2D"
static

◆ PLANAR_SPLIT_FACE_5_STR

const char INTERP_KERNEL::InterpolationOptions::PLANAR_SPLIT_FACE_5_STR = "PLANAR_FACE_5"
static

◆ PLANAR_SPLIT_FACE_6_STR

const char INTERP_KERNEL::InterpolationOptions::PLANAR_SPLIT_FACE_6_STR = "PLANAR_FACE_6"
static

◆ GENERAL_SPLIT_24_STR

const char INTERP_KERNEL::InterpolationOptions::GENERAL_SPLIT_24_STR = "GENERAL_24"
static

◆ GENERAL_SPLIT_48_STR

const char INTERP_KERNEL::InterpolationOptions::GENERAL_SPLIT_48_STR = "GENERAL_48"
static