On 8/22/24 15:42, Mark Simmons wrote:

1.) can I check to see if deal.ii is actually reassembling my matrix at every time step? 2.) how can I make sure that my matrix is only assembled once at the beginning?

deal.II is not calling functions behind your back. If your run() function is not calling assemble_system(), then assemble_system() is not called.

But if you want to make sure, why don't you just put something like
  std::cout << "********* ASSEMBLING MATRIX ***********" << std::endl;
at the top of the function that assembles the matrix? Then you just have to read through your program's output to see where that function is apparently executed.

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/e0816e09-4a03-4882-bac4-1d63c9a20270%40colostate.edu.

Reply via email to