On 8/23/24 01:06, Giacomo bottacini wrote:

i'm working on a parallel FE code and i have written a function to assemble my matrix. I would like to know if i'm using the right functions to make it since deal.ii is a very extended library and i'm not very familiar with it. I'm iterating cell by cell constructing a local matrix and then passing it to the global one. I am attaching my code in this image, where I have kept only the main parts for clarity.
I have kept only the essential functions to make it more clear.

Giacomo:
we don't know what it is you want to do, and so it is impossible for us to say whether what you are doing is right or wrong. But, before anyone starts to look at your code: What happens when you run your code? Do you have any reason to believe that it may not be correct? If so, *how specifically* is the output wrong? These are all debugging questions for which you will have to learn the necessary skills sooner or later anyway.

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/0047aa5c-4e18-4d3b-800e-6178f6ca60e7%40colostate.edu.

Reply via email to