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

Data Structures

class  BasicGrid
 
class  DistGridPair
 
class  InterpField
 
class  InterpGrid
 
class  InterpMethodConfig
 User-oriented wrapper around a YAC interpolation method configuration. More...
 
class  Interpolation
 
class  InterpolationStack
 
class  InterpWeights
 

Functions

 version ()
 using int here is ok.
 
 lonlat2xyz (lon, lat)
 
 _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 1342 of file core.pyx.

Here is the call graph for this function:

◆ __init__()

src.core.__init__ ( self)

Definition at line 1328 of file core.pyx.

◆ _to_yac_int_np_array()

src.core._to_yac_int_np_array ( arr)
protected

Definition at line 431 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 1292 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 1274 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 1373 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 1410 of file core.pyx.

Here is the call graph for this function:

◆ lonlat2xyz()

src.core.lonlat2xyz ( lon,
lat )

Definition at line 401 of file core.pyx.

◆ version()

src.core.version ( )

using int here is ok.

In the C-File the actual typedef is used

Interpolations:

Returns the YAC core library version string.

See also
yac_get_core_version

Definition at line 356 of file core.pyx.

Here is the call graph for this function:

Variable Documentation

◆ _collection_size

src.core._collection_size
protected

Definition at line 1339 of file core.pyx.

◆ _num_src_points

src.core._num_src_points
protected

Definition at line 1337 of file core.pyx.

◆ _num_tgt_points

src.core._num_tgt_points
protected

Definition at line 1338 of file core.pyx.

◆ _ptr

src.core._ptr
staticprotected

Definition at line 1336 of file core.pyx.

◆ comm

src.core.comm = comm.py2f()

Definition at line 419 of file core.pyx.

◆ Coordinates

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

Initialization.

Definition at line 446 of file core.pyx.

◆ interp

src.core.interp

Definition at line 1335 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 447 of file core.pyx.

◆ ptr

src.core.ptr

Definition at line 1308 of file core.pyx.

◆ slic

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

Definition at line 1311 of file core.pyx.

◆ view1d

src.core.view1d = array

Definition at line 1306 of file core.pyx.