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 method is way too complicated and its implementation is very crude. We could do what it does with much fewer lines of code, and also more elegantly. For example, we should recursively search for variables that are inputs but computed at another scale, and it may even be possible to get the scale at which a variable is computed without giving it explicitly (just by searching for it as an output).
In this case we could have a method for MultiScaleModel with just the model, and without the mapping. Then our function would search for the variable at other scales, and if it finds several occurrences, it would guide the user on how to use the two-argument method of MultiScaleModel for the different possibilities.
The text was updated successfully, but these errors were encountered:
The method is way too complicated and its implementation is very crude. We could do what it does with much fewer lines of code, and also more elegantly. For example, we should recursively search for variables that are inputs but computed at another scale, and it may even be possible to get the scale at which a variable is computed without giving it explicitly (just by searching for it as an output).
In this case we could have a method for
MultiScaleModel
with just the model, and without the mapping. Then our function would search for the variable at other scales, and if it finds several occurrences, it would guide the user on how to use the two-argument method ofMultiScaleModel
for the different possibilities.The text was updated successfully, but these errors were encountered: