smash.Model.states#

property Model.states#

The states of the Model.

The model states is represented as a StatesDT object. See StatesDT.

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.states.<TAB>
model.states.copy()        model.states.hlsl
model.states.from_handle(  model.states.hp
model.states.hft           model.states.hst
model.states.hi            model.states.husl1
model.states.hlr           model.states.husl2