-
-
Notifications
You must be signed in to change notification settings - Fork 74
space-dependent coefficients #372
Comments
If you multiply by an array of coefficients it should work. |
Hi, I thought about using space-dependent coefficients to restrict some processes to certain regions in space but could not get past the discretization step: When multiplying by an array of coefficients I am not sure how to handle broadcasting within the symbolic equation and end up with
Alternatively, when adding
|
oh with MOLFiniteDifference just make the coefficient be a function: |
Thanks! That makes sense and indeed works. |
Hello.
which does not throw any errors. However, when one changes the definition of
it throws an error: |
That should be supported by #371 ? |
Hello. Could someone please comment on using space-dependent coefficients for convection, diffusion and convection-diffusion equations? Sorry if this is not the right place to ask such things. If not yet available, I might want to help with this.
The text was updated successfully, but these errors were encountered: