[deal.II] How to use create_mass_matrix tools with FESystem

2022-04-09 Thread Matthew Rich
Hi all, I am trying to use the helper tools to assemble a system for a vector valued problem. I am looking to have 2 or 3 displacement DoFs. So I use FESystem fe; and initialize with fe(FE_Q (1), dim) So my code

Re: [deal.II] convert linear_operator to SparseMatrix or get the inverse of linear_operator

2022-04-09 Thread Marco Feder
Hi Chen, You can work directly with LinearOperator(s). What you need is the *inverse operator* of op_M , and you can get it by giving a Solver and a corresponding preconditioner to inverse_operator()

Re: [deal.II] Error using Operator/ in Vector and FullMatrix

2022-04-09 Thread Jean-Paul Pelteret
Hi Raghunandan, I think that you misinterpreted the documentation: operator/= is implemented for the Vector class and operator*=