Skip to content
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

Wrap DMFieldEvaluate and expose it to users #235

Open
julesghub opened this issue Aug 28, 2024 · 2 comments
Open

Wrap DMFieldEvaluate and expose it to users #235

julesghub opened this issue Aug 28, 2024 · 2 comments

Comments

@julesghub
Copy link
Member

DMFieldEvaluate looks like it works with DMPlex and retrieves values, 1st and 2nd derivatives for a field.
https://petsc.org/release/manualpages/DM/DMFieldEvaluate/

Yes to having access to this feature for visualisation, model checking and debugging.
Wrapping it involves some extra cython code and a way to pythonically caputure the output data.

@bknight1

@knepley
Copy link
Collaborator

knepley commented Aug 28, 2024

Yes, this was Toby's idea. It is a different object named DMField, which is designed to be evaluatable over the mesh. We currently use this for interaction withcoordinates.

@julesghub
Copy link
Member Author

Excellent @knepley ! Is it likely to be wrapped anytime soon in petsc4py? That would be super.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants