-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Make y, z optional arguments forFunctionParameters
that depend on space
#3631
Comments
From @ejfdickinson
Yes, this should work. Let's do that |
FunctionParameters
that depend on space differently depending on geometry optionFunctionParameters
that depend on space
In the actual model definitions, we will need to update the calls from |
Hi! I would like to take this on. |
From what I understand, we need to change the calls from |
I would like to work on this issue, can this be assigned to me? |
Some
FunctionParameters
depend on space and time (e.g. ambient temperature) but it doesn't always make sense to allow these to depend on space, for example if the thermal model is lumped then the temperature cannot depend on space. For the user, this can be confusing (see #3630).Is there a nice way to be able to define these functions differently depending on the model options? Then for lumped models users can pass
T(t)
and if they try to passT(y,z,t)
we can catch it and throw an informative error.The text was updated successfully, but these errors were encountered: