-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoPCM Inputs #1450
Comments
There is surely a bigger lesson than just this issue to be learned from this. |
@JacquesCarette That Drasil shouldn't allow conflicts between the stated inputs and the input file format definition? In terms of a lesson related to forgetting to state some inputs, Drasil already throws an error if it can't figure out how it can get from input -> output based on the given inputs and definitions. I'm wondering why that error wasn't thrown here... Okay I just investigated, and it's because none of the missing inputs are explicitly used in any of the equations for calculating the outputs. The absolute and relative tolerances and time step are passed to the ODE solver and |
Yes, this kind of stuff. Any argument passed to the ODE solver should be considered used, and so should be checked to make sure they are present. Same goes for checking a property, but the details matter, so that may be slightly trickier. |
Some of the inputs to NoPCM aren't included in the inputs field of the
SystemInformation
. Specifically,timeStep
,rel_tol
,abs_tol
, andcons_tol
are inputs but are not included in theSystemInformation
for NoPCM. Also,tau
is mistakenly included as in input in DataDesc.hs instead oftimeStep
. This breaks the generated code.The text was updated successfully, but these errors were encountered: