fix_view_arrays#

andes.system.fix_view_arrays(system)[source]#

Point NumPy arrays without OWNDATA (termed "view arrays" here) to the source array.

This function properly sets v and e arrays of internal variables as views of the corresponding DAE arrays.

Inputs will be refreshed for each model.

Parameters:
systemandes.system.System

System object to be fixed