YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
src.core Namespace Reference

Data Structures

class  BasicGrid
 
class  DistGridPair
 
class  InterpField
 
class  InterpGrid
 
class  Interpolation
 
class  InterpolationStack
 
class  InterpWeights
 

Functions

 lonlat2xyz (lon, lat)
 using int here is ok.
 
 _to_yac_int_np_array (arr)
 
 do_search (InterpolationStack interpolation_stack, InterpGrid interp_grid)
 
 compute_weights (InterpolationStack interpolation_stack, InterpField|None src_field, InterpField|None tgt_field, comm=None)
 
 __init__ (self)
 
 __call__ (self, src=None, *, tgt=None, frac_mask=None)
 
 execute_async (self, src=None, *, tgt=None, frac_mask=None)
 
 get_io_ranks (comm=None)
 Returns a list of ranks designated for I/O operations in the given communicator.
 

Variables

 logger = logging.getLogger("yac.core")
 
 comm = comm.py2f()
 
 Coordinates = namedtuple("Coordinates", ["basic_grid", "location", "coord_idx"])
 Initialization.
 
 Mask = namedtuple("Mask", ["basic_grid", "location", "mask_idx"])
 
 view1d = array
 
 ptr
 
 slic = array[i, ...]
 
 interp
 
 _ptr
 
 _num_src_points
 
 _num_tgt_points
 
 _collection_size
 

Function Documentation

◆ __call__()

src.core.__call__ ( self,
src = None,
* ,
tgt = None,
frac_mask = None )

Definition at line 1119 of file core.pyx.

Here is the call graph for this function:

◆ __init__()

src.core.__init__ ( self)

Definition at line 1105 of file core.pyx.

◆ _to_yac_int_np_array()

src.core._to_yac_int_np_array ( arr)
protected

Definition at line 358 of file core.pyx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_weights()

src.core.compute_weights ( InterpolationStack interpolation_stack,
InterpField | None src_field,
InterpField | None tgt_field,
comm = None )

Definition at line 1069 of file core.pyx.

Here is the call graph for this function:

◆ do_search()

src.core.do_search ( InterpolationStack interpolation_stack,
InterpGrid interp_grid )

Definition at line 1051 of file core.pyx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_async()

src.core.execute_async ( self,
src = None,
* ,
tgt = None,
frac_mask = None )

Definition at line 1150 of file core.pyx.

Here is the call graph for this function:

◆ get_io_ranks()

src.core.get_io_ranks ( comm = None)

Returns a list of ranks designated for I/O operations in the given communicator.

Definition at line 1187 of file core.pyx.

Here is the call graph for this function:

◆ lonlat2xyz()

src.core.lonlat2xyz ( lon,
lat )

using int here is ok.

In the C-File the actual typedef is used

Interpolations:

Definition at line 328 of file core.pyx.

Variable Documentation

◆ _collection_size

src.core._collection_size
protected

Definition at line 1116 of file core.pyx.

◆ _num_src_points

src.core._num_src_points
protected

Definition at line 1114 of file core.pyx.

◆ _num_tgt_points

src.core._num_tgt_points
protected

Definition at line 1115 of file core.pyx.

◆ _ptr

src.core._ptr
staticprotected

Definition at line 1113 of file core.pyx.

◆ comm

src.core.comm = comm.py2f()

Definition at line 346 of file core.pyx.

◆ Coordinates

src.core.Coordinates = namedtuple("Coordinates", ["basic_grid", "location", "coord_idx"])

Initialization.

Definition at line 373 of file core.pyx.

◆ interp

src.core.interp

Definition at line 1112 of file core.pyx.

◆ logger

src.core.logger = logging.getLogger("yac.core")

Definition at line 15 of file core.pyx.

◆ Mask

src.core.Mask = namedtuple("Mask", ["basic_grid", "location", "mask_idx"])

Definition at line 374 of file core.pyx.

◆ ptr

src.core.ptr

Definition at line 1085 of file core.pyx.

◆ slic

src.core.slic = array[i, ...]

Definition at line 1088 of file core.pyx.

◆ view1d

src.core.view1d = array

Definition at line 1083 of file core.pyx.