Re: [deal.II] Extension of Step-18

2023-09-04 Thread Wolfgang Bangerth

On 9/4/23 20:57, Raghunandan Pratoori wrote:

I want to clarify if the below is the correct implementation of it -

std::vector>> 
history_field_stressĀ (dim, 
std::vector>(dim)),



history_field.compress(VectorOperation::add);



A good first test is to try and see what happens! In fact, that's often faster 
than writing a question, and then waiting to see whether anyone answers it :-)


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/4df65aff-4280-71a4-4a1b-462254f2cbf4%40colostate.edu.


[deal.II] Extension of Step-18

2023-09-04 Thread Raghunandan Pratoori
Hello team,

I want to implement Refinement during timesteps 

 as 
described in Step-18, but for a much larger problem. I want to do this 
using a parallel vector for history_field. I want to clarify if the below 
is the correct implementation of it -

std::vector>> 
history_field_stress (dim, 
std::vector>(dim)),


history_field.compress(VectorOperation::add);


Thanks in advance,
Raghunandan.

-- 
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/e340ead9-505d-401c-aebb-c8fd2cc2a193n%40googlegroups.com.