-
Notifications
You must be signed in to change notification settings - Fork 10
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
Firedrake warnings #137
Comments
Can you try pulling main and see if you still get these? This should have been resolved by #133, although I don't think we've rebuilt the Docker images yet. |
Currently rebuilding all the containers, we should hopefully be on top of the warnings soon. |
I use my own container with the last main hydrogym branch from 2-3 weeks ago. I am going to pull the last hydrogym main branch and let you know. |
Running Firedrake (0.13.0+6053.g93d4834ff) freshly downloaded from their installation script, I get the following deprecation warnings, I think the interpolation part can be fixed easily by applying the recommended replacement instruction. I could try to make a Pull Request for the interpolation part. However, I don't know Firedrake very much.
/home/firedrake/firedrake/src/firedrake/firedrake/function.py:325: FutureWarning: The .split() method is deprecated, please use the .subfunctions property instead
warnings.warn("The .split() method is deprecated, please use the .subfunctions property instead", category=FutureWarning)
/home/firedrake/firedrake/src/firedrake/firedrake/interpolation.py:385: FutureWarning: The use of
interpolate
to perform the numerical interpolation is deprecated.This feature will be removed very shortly.
Instead, import
interpolate
from thefiredrake.__future__
module to updatethe interpolation's behaviour to return the symbolic
ufl.Interpolate
object associatedwith this interpolation.
You can then assemble the resulting object to get the interpolated quantity
of interest. For example,
Alternatively, you can also perform other symbolic operations on the interpolation operator, such as taking
the derivative, and then assemble the resulting form.
The text was updated successfully, but these errors were encountered: