On 9/14/23 15:50, Raghunandan Pratoori wrote:

It took me some time to get around to trying it out. I am unable to figure out how to compress the vector. The simple 'history_field.compress(VectorOperation::add);' did not work as expected. Can you tell me how to use it for type std::vector<std::vector<TrilinosWrappers::MPI::Vector>>?

Pratoori:
you will have to be more specific in explaining what doesn't work. "did not work" is not enough for me to understand what you are doing, nor what is going wrong. It's as if you were saying "I've tried to prove the Riemann hypothesis, but the proof doesn't work. Can you tell me how to fix it?" without showing what you already did :-)

Show us the code and the error message, and then we can perhaps help!

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/8614306f-1a8e-5079-b16f-d4bbe361fff8%40colostate.edu.

Reply via email to