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

Public Member Functions

 __init__ (self)
 
 write_to_file (self, str filename, str src_grid_name="src_grid", str tgt_grid_name="tgt_grid", int num_global_src_points=0, int num_global_tgt_points=0, on_existing=YAC_WEIGHT_FILE_ERROR)
 
 get_interpolation (self, yac_interp_weights_reorder_type reorder=YAC_MAPPING_ON_SRC, int|None collection_size=None, float|None frac_mask_fallback_value=None, float scaling_factor=1.0, float scaling_summand=0.0, str|None yaxt_exchanger_name=None, bool is_source=True, bool is_target=True, List[int]|None collection_selection=None)
 

Static Public Attributes

 interp_weights
 

Static Protected Attributes

 _ptr
 
 _num_src_points
 
 _num_tgt_points
 

Detailed Description

Definition at line 962 of file core.pyx.

Constructor & Destructor Documentation

◆ __init__()

src.core.InterpWeights.__init__ ( self)

Definition at line 966 of file core.pyx.

Member Function Documentation

◆ get_interpolation()

src.core.InterpWeights.get_interpolation ( self,
yac_interp_weights_reorder_type reorder = YAC_MAPPING_ON_SRC,
int | None collection_size = None,
float | None frac_mask_fallback_value = None,
float scaling_factor = 1.0,
float scaling_summand = 0.0,
str | None yaxt_exchanger_name = None,
bool is_source = True,
bool is_target = True,
List[int] | None collection_selection = None )

Definition at line 1008 of file core.pyx.

Here is the call graph for this function:

◆ write_to_file()

src.core.InterpWeights.write_to_file ( self,
str filename,
str src_grid_name = "src_grid",
str tgt_grid_name = "tgt_grid",
int num_global_src_points = 0,
int num_global_tgt_points = 0,
on_existing = YAC_WEIGHT_FILE_ERROR )

Definition at line 979 of file core.pyx.

Here is the call graph for this function:

Field Documentation

◆ _num_src_points

src.core.InterpWeights._num_src_points
staticprotected

Definition at line 975 of file core.pyx.

◆ _num_tgt_points

src.core.InterpWeights._num_tgt_points
staticprotected

Definition at line 976 of file core.pyx.

◆ _ptr

src.core.InterpWeights._ptr
staticprotected

Definition at line 974 of file core.pyx.

◆ interp_weights

src.core.InterpWeights.interp_weights
static

Definition at line 973 of file core.pyx.


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