Re: [deal.II] Question on resolving chains of constraints containing both periodic and hanging node constraints

2018-08-12 Thread Sambit Das
Dear Prof. Bangerth, I have now reproduced the above issue in the attached minimal example. Below is the algorithm of the minimal example 1) Create a hypercube (-20,20) with origin at the center 2) Set periodic boundary conditions on all faces of the hypercube 3) Refine mesh by first doing

Re: [deal.II] How do I calculate the (hdiv-semi) norm only on certain components of my (vector-valued) solution?

2018-08-12 Thread Wolfgang Bangerth
On 08/11/2018 09:37 AM, georgios.sialou...@gmail.com wrote: I would be most grateful for your help on the following matter.  I am solving a combined stokes-laplace problem (have a vector valued solution).  I am trying to calculate the hdiv norm on the first two components of my solution

Re: [deal.II] Re: implemention of periodic boundary condition

2018-08-12 Thread Wolfgang Bangerth
On 08/12/2018 12:30 AM, chucui1...@gmail.com wrote: So I cannot make sure the continuity of the gradient in boundary or internal faces. But I don' know how to implement what I need? Maybe some penalty part like in Discontinuous Gradient Method to make up for continuity of the gradient? Yes,

[deal.II] Re: implemention of periodic boundary condition

2018-08-12 Thread chucui1016
Dear Daniel and Wolfgang, Thank you very much! In fact, I only want the gradient of periodic, not the Dirichlet periodic boundary. I thought they are same in periodic boundary conditions before, i.e. all informations of the solution on the face pairs are same. Now, I get that I have made