You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The structure of the output is very complex at the time, with for each scale a vector with values for each time-step with a vector of the results for each node inside. When we transform it into a DataFrame, it takes as long as making the whole simulation.
Proposition: simplify the output structure with for each scale one vector of nametuple with the timestep, the node, and the values of the variables, e.g.:
The structure of the output is very complex at the time, with for each scale a vector with values for each time-step with a vector of the results for each node inside. When we transform it into a DataFrame, it takes as long as making the whole simulation.
Proposition: simplify the output structure with for each scale one vector of nametuple with the timestep, the node, and the values of the variables, e.g.:
This way it would already follow the
Tables.jl
interface, so no copy would be done when transforming into a DataFrame.The text was updated successfully, but these errors were encountered: