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

NIRB implementation with Feelpp #25

Open
alielarif opened this issue Aug 25, 2022 · 2 comments
Open

NIRB implementation with Feelpp #25

alielarif opened this issue Aug 25, 2022 · 2 comments
Assignees
Milestone

Comments

@alielarif
Copy link

Make the implementation of NIRB methods by using Feelpp environment

@alielarif
Copy link
Author

We use feelpp to compute initial Snapshots and to generate interpolation operator.
However, to generate reduced basis, we used numpy linear algebra to solve eigen value problem, so that the reduced basis matrix is in numpy format. To perform the computation, I would like to :

  • find a way to solve eigen value problem with feelpp solver (to be able to use feelpp environment for all computation)
  • how to save petsc matrix on a disk and load them in the same format (I need to save mass matrix and reduced basis matrix from Offline part in Ptsc format and load them in Online part)

@prudhomm
Copy link
Member

@alielarif we do have eigenvalue solvers for dense and sparse problems.
Slepc is the library (using petsc) to do this for eigen solves.
We have a function called eigs() that will do the job.
See eg https://github.com/feelpp/feelpp/blob/develop/testsuite/feelalg/test_eigenmode.cpp

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

3 participants