hydromodpy.spatial.mesh.gmsh_grid.extruded_mesh_values#

Attach scalar values to an extruded prism mesh and export the result.

The mesh geometry lives in extruded_prism_mesh; this module adds the data layer on top of it. It stores one scalar per prism, reshapes values between a flat 3D ordering and a (n_layers, n_cells_2d) view, and computes compact summaries for diagnostics.

It is the module to use once a 3D mesh already exists and the remaining task is inspection, postprocessing, or export to formats such as .npy or .vtu.

Functions

attach_extruded_values(mesh_3d, values_3d, *)

Convenience wrapper returning a valued extrusion from mesh plus values.

Classes

ExtrudedMeshValuesSummary(label, shape_3d, ...)

Typed summary of one valued extruded prism mesh.

ExtrudedPrismMeshWithValues(mesh, values_3d)

One extruded prism mesh carrying one scalar value per prism.

ExtrudedVerticalProfile(source_cell_index, ...)

Typed vertical profile extracted from one planar source cell.