Grids¶
Grid¶
- class Grid(*args, **kwargs)[source]¶
Bases:
SpatialComponentBasic grid class.
- property actnum_ids¶
Raveled indices of active cells.
- property as_corner_point¶
Corner-point representation of the grid.
- bounding_box¶
Pair of diagonal corner points for grid’s bounding box.
- property cell_centroids¶
Centroids of cells.
- property cell_volumes¶
Volumes of cells.
- property dx_¶
DX attribute.
- property dy_¶
DY attribute.
- property dz_¶
DZ attribute.
- property ex¶
Unit vector along grid X axis.
- property ey¶
Unit vector along grid Y axis.
- property locator¶
VTK locator.
- property origin¶
Grid axes origin relative to the map coordinates.
- property vtk_grid¶
VTK unstructured grid.
Orthogonal grid¶
Corner-point grid¶
- class CornerPointGrid(*args, **kwargs)[source]¶
Bases:
GridCorner point grid.
- property as_corner_point¶
Returns itself.
- map_grid()[source]¶
Map pillars (COORD) to axis defined by `MAPAXES’.
- Returns:
Grid with updated COORD and MAPAXES fields.
- Return type:
- property origin¶
Grid axes origin relative to the map coordinates.