utils.solver.build_state_from_history
utils.solver.build_state_from_history(time, history, state_variables_names)Build a structured state array from a solved trajectory.
Parameters
Returns
state : structured ndarray or ndarray-
Structured array with named fields if
state_variables_namesis non-empty; otherwise the raw history array.