Hi everyone,
I’m trying to implement the Proper Orthogonal Decomposition in Fenicsx.
I have collected N_s snapshots u_i in a list. I need to compute the correlation matrix as
C_{ij} = \int_\Omega u_i\cdot u_j\,d\Omega
Then, the eigen-decomposition of this matrix must be performed C\vec{\eta}_n = \lambda_n\vec{\eta}_n to be used in the definition of the basis functions (POD modes) \phi_n
Thank you very much for the quick reply.
The main issue is related to the definition of the correlation matrix. How is the compute_inner_product defined?
I had a look at the repository and to my understanding there are a lot of “dependencies”…
There are definitely dependencies, that’s just how a non trivial library works
You may want to look at the unit tests, which have a very basic and standalone example at
From there, you will see that compute_inner_product is defined by passing a bilinear form to
and in particular
I would suggest that if you have further questions which are specific to RBniCSx rather than general FEniCSx, it would probably best to discuss them at