Dear all, 

It is not very clear to me what is the order followed when using 
multi-components. As an example to put my question more clear I cann point 
to step-29 where there are 2 components used.

My common sense would be that the system_matrix global operator would have 
first real and then the imaginar components. However, printing the matrix 
and looking at it, I can see the values are somehow intercalated (rows and 
columns).
*Could someone please clarify this?*

I would also like to ask how can I get the mass matrix of one of the 
components. Using the following for each cell and locating for the global 
matrix I get the two components (again not sure how the order is...)
*Mass_matrix(i,j)+=((fe_values.shape_value(i, q_point) * 
fe_values.shape_value(j, q_point)) * fe_values.JxW(q_point));*

On the other hand, using the following, does not allow me to use the 
local_dof_indices 
function, as using only one component, the dof is half:
*Mass_matrix(i,j)+=((fe_values.shape_value_component(i, q_point,0) * 
fe_values.shape_value(j, q_point,0)) * fe_values.JxW(q_point));*
*What is the best way to get this?*

Thank you very much for your time.

-- 
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/30f00326-7228-49b5-b152-935d0ed2e945n%40googlegroups.com.

Reply via email to