Can I run a discontinous galerkin code for periodic boundary conditions in free fem ++? Which version is good for this?
Yes but it is written in the formulation due to discontinuity.
Can you please explain how to write the boundary terms in the code?