From: Roy S. <roy...@ic...> - 2018-05-02 17:00:25
|
On Tue, 1 May 2018, Renato Poli wrote: > Are DirichletBoundary BCs expected to work in Discontinuous Galerkin > (L2_LAGRANGE)? Nope. And you wouldn't want them to, would you? I'm not a DG person myself, but I was under the impression that you always want the solution to be allowed to be discontinuous at *every* element boundary, even the ones on the domain boundary, with Dirichlet conditions instead enforced weakly via boundary penalties, to avoid overconstraining your solution. I'd love to let users be able to do "create a boundary condition object and then forget" about it with DG as well as CG, but I don't know if there's any simple way to make that happen; the boundary terms are inherently formulation-dependent, aren't they? --- Roy |