Model.get_inputs#

Model.get_inputs(refresh=False)[source]#

Get an OrderedDict of the inputs to the numerical function calls.

Parameters:
refreshbool

Refresh the values in the dictionary. This is only used when the memory addresses of arrays change. After initialization, all array assignments are in place. To avoid overhead, refresh should not be used after initialization.

Returns:
OrderedDict

The input name and value array pairs in an OrderedDict

Notes

dae.t is now a numpy.ndarray which has stable memory. There is no need to refresh dat_t in this version.