YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
yac.Grid Class Reference

Stores the grid_id and provides further functionality. More...

Inheritance diagram for yac.Grid:
Inheritance graph
Collaboration diagram for yac.Grid:
Collaboration graph

Public Member Functions

 __init__ (self, grid_id)
 
 set_global_index (self, global_index, Location location)
 
 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
 

Detailed Description

Stores the grid_id and provides further functionality.

Base class for Reg2dGrid and UnstructuredGrid

Definition at line 1025 of file yac.pyx.

Constructor & Destructor Documentation

◆ __init__()

yac.Grid.__init__ ( self,
grid_id )

Member Function Documentation

◆ compute_grid_cell_areas()

yac.Grid.compute_grid_cell_areas ( self,
cell_areas = None )
See also
yac_ccompute_grid_cell_areas

Definition at line 1094 of file yac.pyx.

Here is the call graph for this function:

◆ def_mask()

yac.Grid.def_mask ( self,
Location location,
is_valid,
name = None )

Definition at line 1076 of file yac.pyx.

◆ nbr_cells()

yac.Grid.nbr_cells ( self)
See also
yac_cget_grid_size (int, read-only)

Definition at line 1046 of file yac.pyx.

Here is the caller graph for this function:

◆ nbr_corners()

yac.Grid.nbr_corners ( self)
See also
yac_cget_grid_size (int, read-only)

Definition at line 1053 of file yac.pyx.

◆ nbr_edges()

yac.Grid.nbr_edges ( self)
See also
yac_cget_grid_size (int, read-only)

Definition at line 1060 of file yac.pyx.

◆ set_core_mask()

yac.Grid.set_core_mask ( self,
is_core,
Location location )
See also
yac_cset_core_mask

Definition at line 1066 of file yac.pyx.

Here is the call graph for this function:

◆ set_global_index()

yac.Grid.set_global_index ( self,
global_index,
Location location )
See also
yac_cset_global_index

Definition at line 1035 of file yac.pyx.

Here is the call graph for this function:

Field Documentation

◆ grid_id

yac.Grid.grid_id

Definition at line 1033 of file yac.pyx.


The documentation for this class was generated from the following file: