Thank you so much! Subramanya. सुब्रह्मण्य .
On Fri, Jan 3, 2025 at 10:18 PM Wolfgang Bangerth <bange...@colostate.edu> wrote: > On 1/3/25 09:14, subramanya gautam wrote: > > I am trying to implement a staggered thermal-elastic solver using the > > matrix-free multigrid solver approach from step-37. I got an elasticity > solver > > and a thermal solver working and now I am trying to associate the two. I > have > > a shared triangulation, with two separate dof_handlers for the thermal > and > > stress problems. The question I have is when I do the assembly loop, > does the > > cell refer to the same cell for both the thermal and elastic problems? > > So from step-37, can I just call phi_temp.reinit(cell), and > > phi_stress.reinit(cell), and have cell refer to the same physical cell > in the > > triangulation? > > Yes, the order of cells of DoFHandlers follows the order of the > triangulation. > So two DoFHandlers using the same triangulation have the same order of > cells. > step-31, for example, uses this fact. > > Best > Wolfgang > > -- > ------------------------------------------------------------------------ > 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 visit > https://groups.google.com/d/msgid/dealii/f40ad605-daf4-4347-b4ff-2b589c5b04cb%40colostate.edu > . > -- 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 visit https://groups.google.com/d/msgid/dealii/CAHCJNxMga4ME7CG98UpDEPtBENhW%3DdO_vbqHQTyBO-eBiShgcg%40mail.gmail.com.