On 11/9/21 8:24 AM, Joss G. wrote:
*Is it correct the following approach to get the global mass matrix of one component? *I get a big 2x2 block matrix with non-zero values on the left top block. Is this corresponding to the global mass matrix of one of the components? /Mass_matrix_tmp(i,j)+=((fe_values[real_component].value(i, q_point) * fe_values[real_component].value(j, q_point)) * fe_values.JxW(q_point));/

Yes, this will work.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/96022ec0-7d85-3e0f-37c0-df575d050c4b%40colostate.edu.

Reply via email to