smash.Model.mesh#
- property Model.mesh#
The mesh of the Model.
The model mesh is represented as a MeshDT object. See
MeshDT.Notes
This object is a wrapped derived type from f90wrap.
Examples
>>> setup, mesh = smash.load_dataset("cance") >>> model = smash.Model(setup, mesh)
If you are using IPython, tab completion allows you to visualize all the attributes and methods:
>>> model.mesh.<TAB> model.mesh.active_cell model.mesh.gauge_pos model.mesh.area model.mesh.nac model.mesh.code model.mesh.ncol model.mesh.copy() model.mesh.ng model.mesh.dx model.mesh.nrow model.mesh.flwacc model.mesh.path model.mesh.flwdir model.mesh.xmin model.mesh.flwdst model.mesh.ymax model.mesh.from_handle(