Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-10 Thread Stephen
I just basically wanted to ensure that the code would work if there were hanging nodes on the boundary but it looks like the deal.II library already takes care of that; still your code could be useful if I decide to go down that route so thanks! On Thursday, 8 April 2021 at 15:35:32 UTC-4

Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-08 Thread Jean-Paul Pelteret
Hi Stephen, I know that Wolfgang has already answered you and has mentioned that having the refinement levels differ across periodic interfaces is permitted. At some point I wanted to ensure that they were identical, and I wrote a little function to do that and have pasted it below just in

Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Wolfgang Bangerth
On 4/7/21 1:48 PM, Stephen wrote: Thanks! I see they have mesh refinement in that tutorial. Maybe I misunderstood the way periodicity constraints work in deal.II; is it the case then that DoFTools::make_periodicity_constraints is able to automatically handle meshes in which the cells on

Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Stephen
Thanks! I see they have mesh refinement in that tutorial. Maybe I misunderstood the way periodicity constraints work in deal.II; is it the case then that DoFTools::make_periodicity_constraints is able to automatically handle meshes in which the cells on periodic boundaries don't necessarily

Re: [deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Wolfgang Bangerth
On 4/7/21 12:24 PM, Stephen wrote: Has anyone here successfully implemented mesh refinement for problems with (spatial) periodic boundary conditions before? If so, I'd welcome ideas on the best way to approach the problem. As far as I can tell, it is a requirement in deal.II for the elements

[deal.II] Mesh Refinement & Periodic B.C.

2021-04-07 Thread Stephen
Hi all, Has anyone here successfully implemented mesh refinement for problems with (spatial) periodic boundary conditions before? If so, I'd welcome ideas on the best way to approach the problem. As far as I can tell, it is a requirement in deal.II for the elements on opposite sides of linked