|
YAC 3.13.0
Yet Another Coupler
|
Variables | |
| rank = MPI.COMM_WORLD.rank | |
| size = MPI.COMM_WORLD.size | |
| yac_def_instance = yac.YAC(default_instance=True) | |
| yac_def_instance2 = yac.YAC.default_instance | |
| yac_from_id = yac.YAC.from_id(yac_def_instance2.instance_id) | |
| yac_comm = yac.YAC(comm=MPI.COMM_WORLD) | |
| yac_instance = yac.YAC() | |
| comp1 = yac_instance.predef_comp("comp1") | |
| comp2 = yac_instance.def_comp("comp2") | |
| comp3 | |
| x = np.array([-1., 0., 1.]) | |
| write | |
| grid1 = yac.Reg2dGrid("grid1", x, x) | |
| points1 = grid1.def_points(yac.Location.CELL, [-0.5, 0.5], [-0.5, 0.5]) | |
| grid2 | |
| mask1 = grid2.def_mask(yac.Location.CELL, [True], name="mask1") | |
| points2 = grid2.def_points(yac.Location.CELL, [0.5], [0.5]) | |
| grid3 | |
| grid4 | |
| points4 | |
| grid5 | |
| points5 = grid5.def_points(yac.Location.CELL, [0.5], [0.5]) | |
| grid6 | |
| grid7 = yac.Reg2dGrid("grid7", x, x, north_pole = [3.6, 0.7]) | |
| points7 = grid1.def_points(yac.Location.CELL, [-0.5, 0.5], [-0.5, 0.5]) | |
| field1 = yac.Field.create("field1", comp1, points1, 3, "1", yac.TimeUnit.MINUTE) | |
| field2 | |
| field3 | |
| field4 | |
| interp = yac.InterpolationStack() | |
| src_lag | |
| yaxt_exchanger_name | |
| collection_selection | |
| interp_yaml | |
| interp_json | |
| field1_id = yac_instance.get_field_id("comp1", "grid1", "field1") | |
| data | |
| send_info | |
| recv_info | |
| test_interface.collection_selection |
Definition at line 181 of file test_interface.py.
| test_interface.comp1 = yac_instance.predef_comp("comp1") |
Definition at line 50 of file test_interface.py.
| test_interface.comp2 = yac_instance.def_comp("comp2") |
Definition at line 51 of file test_interface.py.
| test_interface.comp3 |
Definition at line 53 of file test_interface.py.
| test_interface.data |
Definition at line 259 of file test_interface.py.
| test_interface.field1 = yac.Field.create("field1", comp1, points1, 3, "1", yac.TimeUnit.MINUTE) |
Definition at line 136 of file test_interface.py.
| test_interface.field1_id = yac_instance.get_field_id("comp1", "grid1", "field1") |
Definition at line 234 of file test_interface.py.
| test_interface.field2 |
Definition at line 142 of file test_interface.py.
| test_interface.field3 |
Definition at line 145 of file test_interface.py.
| test_interface.field4 |
Definition at line 148 of file test_interface.py.
| test_interface.grid1 = yac.Reg2dGrid("grid1", x, x) |
Definition at line 71 of file test_interface.py.
| test_interface.grid2 |
Definition at line 85 of file test_interface.py.
| test_interface.grid3 |
Definition at line 96 of file test_interface.py.
| test_interface.grid4 |
Definition at line 105 of file test_interface.py.
| test_interface.grid5 |
Definition at line 112 of file test_interface.py.
| test_interface.grid6 |
Definition at line 122 of file test_interface.py.
| test_interface.grid7 = yac.Reg2dGrid("grid7", x, x, north_pole = [3.6, 0.7]) |
Definition at line 132 of file test_interface.py.
| test_interface.interp = yac.InterpolationStack() |
Definition at line 153 of file test_interface.py.
| test_interface.interp_json |
Definition at line 190 of file test_interface.py.
| test_interface.interp_yaml |
Definition at line 185 of file test_interface.py.
| test_interface.mask1 = grid2.def_mask(yac.Location.CELL, [True], name="mask1") |
Definition at line 93 of file test_interface.py.
| test_interface.points1 = grid1.def_points(yac.Location.CELL, [-0.5, 0.5], [-0.5, 0.5]) |
Definition at line 79 of file test_interface.py.
| test_interface.points2 = grid2.def_points(yac.Location.CELL, [0.5], [0.5]) |
Definition at line 94 of file test_interface.py.
| test_interface.points4 |
Definition at line 109 of file test_interface.py.
| test_interface.points5 = grid5.def_points(yac.Location.CELL, [0.5], [0.5]) |
Definition at line 120 of file test_interface.py.
| test_interface.points7 = grid1.def_points(yac.Location.CELL, [-0.5, 0.5], [-0.5, 0.5]) |
Definition at line 133 of file test_interface.py.
| test_interface.rank = MPI.COMM_WORLD.rank |
Definition at line 17 of file test_interface.py.
| test_interface.recv_info |
Definition at line 259 of file test_interface.py.
| test_interface.send_info |
Definition at line 259 of file test_interface.py.
| test_interface.size = MPI.COMM_WORLD.size |
Definition at line 18 of file test_interface.py.
| test_interface.src_lag |
Definition at line 179 of file test_interface.py.
| test_interface.write |
Definition at line 70 of file test_interface.py.
| test_interface.x = np.array([-1., 0., 1.]) |
Definition at line 69 of file test_interface.py.
| test_interface.yac_comm = yac.YAC(comm=MPI.COMM_WORLD) |
Definition at line 40 of file test_interface.py.
| test_interface.yac_def_instance = yac.YAC(default_instance=True) |
Definition at line 26 of file test_interface.py.
| test_interface.yac_def_instance2 = yac.YAC.default_instance |
Definition at line 27 of file test_interface.py.
| test_interface.yac_from_id = yac.YAC.from_id(yac_def_instance2.instance_id) |
Definition at line 28 of file test_interface.py.
| test_interface.yac_instance = yac.YAC() |
Definition at line 44 of file test_interface.py.
| test_interface.yaxt_exchanger_name |
Definition at line 180 of file test_interface.py.