On 11/13/23 03:05, Lance Zhang wrote:

I wonder whether the stiffness matrix could be converted to a matrix with rows = cell_numbers and columns = cell_numbers.

Lance:
I think I mentioned this before: You can't. The entries of the stiffness matrix are sums over contributions from different cells. So, in 2d with Q1 elements for example, every matrix entry A_{ij} has the form

  A_{ij} = a+b+c+d

where a...d are the contributions of the four cells adjacent to vertex i (or j). Once you add these four numbers together, you can no longer determine what the four numbers were. If you need the contributions of individual cells, you need to store them before you add them together.

Best
 W.

--
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/b50df74b-e825-4a66-b6bb-4fbd72aa43f9%40colostate.edu.

Reply via email to