YAC 3.13.0
Yet Another Coupler
Loading...
Searching...
No Matches
src.core.InterpolationStack Class Reference
Collaboration diagram for src.core.InterpolationStack:
Collaboration graph

Public Member Functions

 __init__ (self)
 
 from_list (cls, interp_list)
 
 __del__ (self)
 
 register_interpolation (name)
 
 add (self, name, *args, **kwargs)
 
 add_average (self, yac_interp_avg_weight_type reduction_type=YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT, bool partial_coverage=YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT)
 
 add_ncc (self, yac_interp_ncc_weight_type weight_type=YAC_INTERP_NCC_WEIGHT_TYPE_DEFAULT, bool partial_coverage=YAC_INTERP_NCC_PARTIAL_COVERAGE_DEFAULT)
 
 add_nnn (self, yac_interp_nnn_weight_type nnn_type=YAC_INTERP_NNN_WEIGHTED_DEFAULT, int n=YAC_INTERP_NNN_N_DEFAULT, float max_search_distance=YAC_INTERP_NNN_MAX_SEARCH_DISTANCE_DEFAULT, float scale=YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT)
 
 add_conservative (self, int order=YAC_INTERP_CONSERV_ORDER_DEFAULT, bool enforced_conserv=YAC_INTERP_CONSERV_ENFORCED_CONSERV_DEFAULT, bool partial_coverage=YAC_INTERP_CONSERV_PARTIAL_COVERAGE_DEFAULT, yac_interp_method_conserv_normalisation normalisation=YAC_INTERP_CONSERV_NORMALISATION_DEFAULT)
 
 add_source_to_target_map (self, float spread_distance=YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT, float max_search_distance=YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT, yac_interp_spmap_weight_type weight_type=YAC_INTERP_SPMAP_WEIGHTED_DEFAULT, yac_interp_spmap_scale_type scale_type=YAC_INTERP_SPMAP_SCALE_TYPE_DEFAULT, float src_sphere_radius=0.0, str|None src_filename=None, str|None src_varname=None, int src_min_global_id=YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT, float tgt_sphere_radius=0.0, str|None tgt_filename=None, str|None tgt_varname=None, int tgt_min_global_id=YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT)
 
 add_fixed (self, float value)
 
 add_user_file (self, str|None filename=None, yac_interp_file_on_missing_file on_missing_file=YAC_INTERP_FILE_ON_MISSING_FILE_DEFAULT, yac_interp_file_on_success on_success=YAC_INTERP_FILE_ON_SUCCESS_DEFAULT)
 
 add_check (self, str constructor_key=_decode(YAC_INTERP_CHECK_CONSTRUCTOR_KEY_DEFAULT), str do_search_key=_decode(YAC_INTERP_CHECK_DO_SEARCH_KEY_DEFAULT))
 
 add_bernstein_bezier (self)
 
 add_rbf (self, int n=YAC_INTERP_RBF_N_DEFAULT, float max_search_distance=YAC_INTERP_RBF_MAX_SEARCH_DISTANCE_DEFAULT, float scale=YAC_INTERP_RBF_SCALE_DEFAULT, int rbf_kernel=YAC_INTERP_RBF_KERNEL_DEFAULT)
 
 add_creep (self, int creep_distance=YAC_INTERP_CREEP_DISTANCE_DEFAULT)
 

Static Public Attributes

dict interpolation_register = {}
 

Protected Attributes

 _ptr
 

Detailed Description

Definition at line 840 of file core.pyx.

Constructor & Destructor Documentation

◆ __init__()

src.core.InterpolationStack.__init__ ( self)

Definition at line 844 of file core.pyx.

◆ __del__()

src.core.InterpolationStack.__del__ ( self)

Definition at line 856 of file core.pyx.

Here is the call graph for this function:

Member Function Documentation

◆ add()

src.core.InterpolationStack.add ( self,
name,
* args,
** kwargs )

Definition at line 866 of file core.pyx.

◆ add_average()

src.core.InterpolationStack.add_average ( self,
yac_interp_avg_weight_type reduction_type = YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT,
bool partial_coverage = YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT )

Definition at line 870 of file core.pyx.

Here is the call graph for this function:

◆ add_bernstein_bezier()

src.core.InterpolationStack.add_bernstein_bezier ( self)

Definition at line 973 of file core.pyx.

Here is the call graph for this function:

◆ add_check()

src.core.InterpolationStack.add_check ( self,
str constructor_key = _decode(YAC_INTERP_CHECK_CONSTRUCTOR_KEY_DEFAULT),
str do_search_key = _decode(YAC_INTERP_CHECK_DO_SEARCH_KEY_DEFAULT) )

Definition at line 965 of file core.pyx.

Here is the call graph for this function:

◆ add_conservative()

src.core.InterpolationStack.add_conservative ( self,
int order = YAC_INTERP_CONSERV_ORDER_DEFAULT,
bool enforced_conserv = YAC_INTERP_CONSERV_ENFORCED_CONSERV_DEFAULT,
bool partial_coverage = YAC_INTERP_CONSERV_PARTIAL_COVERAGE_DEFAULT,
yac_interp_method_conserv_normalisation normalisation = YAC_INTERP_CONSERV_NORMALISATION_DEFAULT )

Definition at line 896 of file core.pyx.

Here is the call graph for this function:

◆ add_creep()

src.core.InterpolationStack.add_creep ( self,
int creep_distance = YAC_INTERP_CREEP_DISTANCE_DEFAULT )

Definition at line 988 of file core.pyx.

Here is the call graph for this function:

◆ add_fixed()

src.core.InterpolationStack.add_fixed ( self,
float value )

Definition at line 946 of file core.pyx.

Here is the call graph for this function:

◆ add_ncc()

src.core.InterpolationStack.add_ncc ( self,
yac_interp_ncc_weight_type weight_type = YAC_INTERP_NCC_WEIGHT_TYPE_DEFAULT,
bool partial_coverage = YAC_INTERP_NCC_PARTIAL_COVERAGE_DEFAULT )

Definition at line 878 of file core.pyx.

Here is the call graph for this function:

◆ add_nnn()

src.core.InterpolationStack.add_nnn ( self,
yac_interp_nnn_weight_type nnn_type = YAC_INTERP_NNN_WEIGHTED_DEFAULT,
int n = YAC_INTERP_NNN_N_DEFAULT,
float max_search_distance = YAC_INTERP_NNN_MAX_SEARCH_DISTANCE_DEFAULT,
float scale = YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT )

Definition at line 885 of file core.pyx.

Here is the call graph for this function:

◆ add_rbf()

src.core.InterpolationStack.add_rbf ( self,
int n = YAC_INTERP_RBF_N_DEFAULT,
float max_search_distance = YAC_INTERP_RBF_MAX_SEARCH_DISTANCE_DEFAULT,
float scale = YAC_INTERP_RBF_SCALE_DEFAULT,
int rbf_kernel = YAC_INTERP_RBF_KERNEL_DEFAULT )

Definition at line 978 of file core.pyx.

Here is the call graph for this function:

◆ add_source_to_target_map()

src.core.InterpolationStack.add_source_to_target_map ( self,
float spread_distance = YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT,
float max_search_distance = YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT,
yac_interp_spmap_weight_type weight_type = YAC_INTERP_SPMAP_WEIGHTED_DEFAULT,
yac_interp_spmap_scale_type scale_type = YAC_INTERP_SPMAP_SCALE_TYPE_DEFAULT,
float src_sphere_radius = 0.0,
str | None src_filename = None,
str | None src_varname = None,
int src_min_global_id = YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT,
float tgt_sphere_radius = 0.0,
str | None tgt_filename = None,
str | None tgt_varname = None,
int tgt_min_global_id = YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT )

Definition at line 908 of file core.pyx.

Here is the call graph for this function:

◆ add_user_file()

src.core.InterpolationStack.add_user_file ( self,
str | None filename = None,
yac_interp_file_on_missing_file on_missing_file = YAC_INTERP_FILE_ON_MISSING_FILE_DEFAULT,
yac_interp_file_on_success on_success = YAC_INTERP_FILE_ON_SUCCESS_DEFAULT )

Definition at line 952 of file core.pyx.

Here is the call graph for this function:

◆ from_list()

src.core.InterpolationStack.from_list ( cls,
interp_list )

Definition at line 849 of file core.pyx.

◆ register_interpolation()

src.core.InterpolationStack.register_interpolation ( name)

Definition at line 860 of file core.pyx.

Field Documentation

◆ _ptr

src.core.InterpolationStack._ptr
protected

Definition at line 846 of file core.pyx.

◆ interpolation_register

dict src.core.InterpolationStack.interpolation_register = {}
static

Definition at line 842 of file core.pyx.


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