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

2022-04-10 Thread Simon Sticko
Hi, In the stacktrace it looks like the error does not come from create_mass_matrix but from VectorTools::project. It complains that the passed Function has 1 component when it should have dim components. If you are projecting your own function, you need to make sure you set the number of

[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