|
YAC 3.20.0
Yet Another Coupler
|
Stores the grid_id and provides further functionality. More...


Public Member Functions | |
| __init__ (self, grid_id) | |
| set_global_index (self, global_index, Location location) | |
| Set global indices for grid points using yac_int type. | |
| get_points (self, Location location, str point_name) | |
| get_mask (self, Location location, str mask_name) | |
| nbr_cells (self) | |
| nbr_corners (self) | |
| nbr_edges (self) | |
| set_core_mask (self, is_core, Location location) | |
| def_mask (self, Location location, is_valid, name=None) | |
| compute_grid_cell_areas (self, cell_areas=None) | |
Data Fields | |
| grid_id | |
Stores the grid_id and provides further functionality.
Base class for Reg2dGrid and UnstructuredGrid
| yac.Grid.__init__ | ( | self, | |
| grid_id ) |
Reimplemented in yac._UnstructuredGridBase, yac.CloudGrid, yac.Curve2dGrid, yac.Reg2dGrid, yac.UnstructuredGrid, and yac.UnstructuredGridEdge.
| yac.Grid.compute_grid_cell_areas | ( | self, | |
| cell_areas = None ) |
Definition at line 1461 of file yac.pyx.

| yac.Grid.def_mask | ( | self, | |
| Location | location, | ||
| is_valid, | |||
| name = None ) |
| yac.Grid.get_mask | ( | self, | |
| Location | location, | ||
| str | mask_name ) |
Definition at line 1402 of file yac.pyx.

| yac.Grid.get_points | ( | self, | |
| Location | location, | ||
| str | point_name ) |
Definition at line 1392 of file yac.pyx.

| yac.Grid.nbr_cells | ( | self | ) |
int, read-only) Definition at line 1413 of file yac.pyx.

| yac.Grid.nbr_corners | ( | self | ) |
int, read-only) | yac.Grid.nbr_edges | ( | self | ) |
int, read-only) | yac.Grid.set_core_mask | ( | self, | |
| is_core, | |||
| Location | location ) |
Definition at line 1433 of file yac.pyx.

| yac.Grid.set_global_index | ( | self, | |
| global_index, | |||
| Location | location ) |