StructuredGrid

class subsurface.structs.structured_elements.StructuredGrid(structured_data: subsurface.structs.base_structures.structured_data.StructuredData)[source]

Bases: object

Container for curvilinear mesh grids.

This is analogous to PyVista’s StructuredGrid class or discretize’s CurviMesh class.

Attributes Summary

cartesian_coords_names

cartesian_dimensions

coord

meshgrid_3d

Methods Summary

meshgrid_2d([attribute_name_coord_name])

param attribute_name_coord_name

Name of the xarray.Dataset coord that

Attributes Documentation

cartesian_coords_names
cartesian_dimensions
coord
meshgrid_3d

Methods Documentation

meshgrid_2d(attribute_name_coord_name: Optional[str] = None)[source]
Parameters

attribute_name_coord_name (str) – Name of the xarray.Dataset coord that will be used for the z direction. This must be 2d

Returns: