On 8/20/22 12:56, Raghunandan Pratoori wrote:

         for (unsigned int i=0; i<dim; i++)
             for (unsigned int j=0; j<dim; j++)
             {
history_field_stress[i][j].reinit(history_dof_handler.n_dofs());
local_history_values_at_qpoints[i][j].reinit(qf_cell.size()); local_history_fe_values[i][j].reinit(history_fe.dofs_per_cell);
history_field_strain[i][j].reinit(history_dof_handler.n_dofs());
             }

This does not look crazy, unless you have a large number of degrees of freedom. How large is history_dof_handler.n_dofs() in your case?

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/40e5d166-8160-7548-19ef-eefd2b9f04a6%40colostate.edu.

Reply via email to