YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_interface.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_interface
 

Variables

 test_interface.rank = MPI.COMM_WORLD.rank
 
 test_interface.size = MPI.COMM_WORLD.size
 
 test_interface.yac_def_instance = yac.YAC(default_instance=True)
 
 test_interface.yac_def_instance2 = yac.YAC.default_instance
 
 test_interface.yac_from_id = yac.YAC.from_id(yac_def_instance2.instance_id)
 
 test_interface.yac_comm = yac.YAC(comm=MPI.COMM_WORLD)
 
 test_interface.yac_instance = yac.YAC()
 
 test_interface.start_dt
 
 test_interface.end_dt
 
 test_interface.comp1 = yac_instance.predef_comp("comp1")
 
 test_interface.comp2 = yac_instance.def_comp("comp2")
 
 test_interface.comp3
 
 test_interface.x = np.array([-1., 0., 1.])
 
 test_interface.write
 
 test_interface.prelim_grid1 = yac_instance.get_grid("grid1")
 
 test_interface.grid1 = yac.Reg2dGrid("grid1", x, x)
 
 test_interface.points1
 
 test_interface.grid2
 
 test_interface.prelim_mask1_id = grid2.get_mask(yac.Location.CELL, "mask1").mask_id
 
 test_interface.mask1 = grid2.def_mask(yac.Location.CELL, [True], name="mask1")
 
 test_interface.points2
 
 test_interface.grid3
 
 test_interface.grid4
 
 test_interface.points4
 
 test_interface.grid5
 
 test_interface.points5
 
 test_interface.grid6
 
 test_interface.grid7 = yac.Reg2dGrid("grid7", x, x, north_pole = [3.6, 0.7])
 
 test_interface.points7
 
 test_interface.field1 = yac.Field.create("field1", comp1, points1, 3, "1", yac.TimeUnit.MINUTE)
 
 test_interface.field3
 
 test_interface.field4
 
 test_interface.interp = yac.InterpolationStack()
 
 test_interface.src_lag
 
 test_interface.yaxt_exchanger_name
 
 test_interface.collection_selection
 
 test_interface.field2
 
 test_interface.interp_yaml
 
 test_interface.interp_json
 
 test_interface.field1_id = yac_instance.get_field_id("comp1", "grid1", "field1")
 
 test_interface.data
 
 test_interface.send_info
 
 test_interface.recv_info
 

Detailed Description

Test
A test for the python interface

Definition in file test_interface.py.