Rajat,

1. Once the solution is known on a coarse mesh, and mesh is refined locally in some regions, SolutionTransfer class
is used to get the solution interpolated on the new mesh.

Yes.

2. In order to have gauss point history to be interpolated to the new mesh, I can make a new vector which is numbered as per the dif handler of discontinuous Galerkin. I can then store the gauss point history in this vector. This vector can then be interpolated to the new mesh and its value at the Gauss points will give the new point history.

Yes, that's the easiest way to do this.

You could also look at the classes declared in include/deal.II/base/quadrature_point_data.h as they do similar things.


3. Constraints related to hanging nodes have to be taken care.

Yes. But since you use a discontinuous field for your Gauss point data, there are no hanging node constraints for those fields.


I also have 2 questions now:
1. Apart from the transfer of these things (like explained above), is there anything else one needs to keep in mind while working on AMR?

I can't think of anything, but step-31/32/15 will show you what we do there.


2. After repartition, there can be 3 cases that *a)* a new cell (previously belonging to the different processor) becomes a part as a result of repartition. *b)*  there are newly refined cells with parent cell belonging to same processors (pure refinement) *c)*  there are newly refined cells with parent cell belonging to same processors (refinement + repartition).

Yes.


In case of no repartition, are material id and boundary conditions flags transferred to newly generated cells? In other words, as long as no motion of cells from one processor to other takes place, the data is inherited from parent cells. Is this right?

Yes.


In case of repartition,  are the material id and boundary conditions transferred along with these cells (when they move)?

No.

The link https://www.dealii.org/8.5.0/doxygen/deal.II/classparallel_1_1distributed_1_1Triangulation.html says that when cells are moved from one processor to other, this information is not carried.

Correct.
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to