New periodic bc fails for discontinuous elements
Bug #1131088 reported by
Garth Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
New
|
Undecided
|
Unassigned |
Bug Description
Hi, I tried to make DG work in periodic domain following the code in demo/undocument
The program crashes when constructing the function space. Can someone point out, what I am doing
wrong? I am running trunk version of dolfin. Thanks.
from dolfin import *
mesh = UnitSquareMesh(4,4)
class PeriodicBoundar
def inside(self, x, on_boundary):
return bool(x[0] < DOLFIN_EPS and x[0] > -DOLFIN_EPS and on_boundary)
def map(self, x, y):
y[0] = x[0] - 1.0
y[1] = x[1]
pbc = PeriodicBoundary()
V = FunctionSpace(
To post a comment you must log in.
DG methods will not work because integrals over periodic facets is not supported yet.
Is it still sensible that a DofMap does something for discontinuous elements of order p > 0?