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

Pre-factorize local_solver #44

Open
jorgensd opened this issue Sep 7, 2023 · 0 comments
Open

Pre-factorize local_solver #44

jorgensd opened this issue Sep 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jorgensd
Copy link
Collaborator

jorgensd commented Sep 7, 2023

As an optimization at a later stage, we can pre-factorize the projection operator introduced by Johannes by adding:
https://bitbucket.org/fenics-project/dolfin/src/fd662efc1c0ddefa341c1dac753f717f6b6292a8/dolfin/fem/LocalSolver.h?at=master#lines-114:115
instead of solve_local_rhs/solve_global_rhs depending on the RHS.
We could then first assemble the lhs (in a class initialization), factorize the matrix once (if the mesh doesn't deform) and keep a cache of all the local element matrix factorizations.

@jorgensd jorgensd added the enhancement New feature or request label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant