Paras,

You can also use add_periodicity with regular Triangulation objects, see
https://www.dealii.org/current/doxygen/deal.II/classTriangulation.html#adbf04756b28dae69194870812acaf941.
This should make sure that periodic neighbors differ at most by one
refinement.

Best,
Daniel

On Wed, Apr 20, 2022 at 4:20 AM Wolfgang Bangerth <[email protected]>
wrote:

> On 4/19/22 13:17, Paras Kumar wrote:
> >
> > One follow-up question: The mesh (which is initially periodic at the
> > boundaries)  is refined adaptively during the simulation and it cannot
> be
> > guaranteed if both the left and the right boundary faces would be
> refined at
> > the same time. Will make_periodicity_constraints() work in that case? If
> yes,
> > how would the periodic constraints look like for the child cell dofs? In
> case
> > it matters, I currently have a dealii::Triangulation and also wish to
> update
> > to p:d:T in future.
>
> I don't recall the details, but at least for p::d::T, it is possible to
> tell
> the triangulation about the periodicity of sides and it will ensure that
> if
> you refine the cells on one side the ones on the other side are refined
> accordingly.
>
> Others might remember more of the details.
>
> 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/be3be255-d6a0-bdbd-fb56-f46161fc0856%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWb%2BrZbnXhr%2ByKzMNaYj%3DWurZ1TFezVG6XD-4-g2VGhoJfA%40mail.gmail.com.

Reply via email to