Hi everyone,
I am trying to solve an eigenvalue problem and I need to create my matrices starting from the weak formulation of a system of equations. To do this I wrote the UFL file with three forms: the one relative to real part of the Jacobian matrix, the one relative to the imaginary part and the one relative to the mass matrix.
I have to assemble them in PETScMatrix respecting the homogeneous boundary conditions.
I have tried Assembler but id doesn't seem to work, since the results are not correct. Shall I use SystemAssembler instead? If yes, how?
Thanks for any answer.