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

How to use pySDC with Fenics? #379

Open
zhyxue0 opened this issue Nov 15, 2023 · 1 comment
Open

How to use pySDC with Fenics? #379

zhyxue0 opened this issue Nov 15, 2023 · 1 comment

Comments

@zhyxue0
Copy link

zhyxue0 commented Nov 15, 2023

Hello, everyone!
I am a newer on pySDC. I notice that pySDC works with FEniCS, mpi4py-fft and PETSc (through petsc4py).
Which versions of Fenics are compatible?
Are there any examples of using it with Fenics?
Is it suitable for firedrakes like Fenics?

Thanks a lot!

@pancetta
Copy link
Member

pancetta commented Nov 15, 2023

Hi @zhyxue0, thanks for your inquiry. pySDC currently supports FEniCS 2019.x, not the new version which is currently being developed. I tested using FEniCSx a few months ago and for simple algorithms (like SDC) this seems to work. For multilevel algorithms like MLSDC or PFASST they were still missing interpolation operators and I could not figure out a way to get this to work. This may have changed since then, though.

To see how pySDC works with FEniCS 2019, see the corresponding tutorial.

Concerning firedrake: this does not work out of the box and probably also not inside the box.. I know that Jemma Shipton from Exeter and her team there played with this. She may know more about the status.

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