Hello Prof. Bangerth,

I have 2 sets of dof_handlers. The one that is giving me a problem has 
6440067 dofs and it becomes 6x when initializing history_field_stress or 
history_field_strain. I also plan on increasing these in future simulations.
Can this only be addressed by increasing the memory allotted for the 
simulation? Or is there a way to decrease the memory demand?

Thanks in advance,
Raghunandan.
On Monday, August 22, 2022 at 10:47:46 AM UTC-5 Wolfgang Bangerth wrote:

> 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/519529e3-38e7-426c-9f78-786297ad2ba1n%40googlegroups.com.

Reply via email to