Thread Previous • Date Previous • Date Next • Thread Next |
1) What is wrong with this form? 2) If it's a user mistake and not an ffc bug, ffc should raise an exception and not return None from ffc import * fe = FiniteElement("Lagrange", "triangle", 1) v = TestFunction(fe) u = TrialFunction(fe) w = Function(fe) Dw = grad(w) Du = grad(u) uDw = dot(u, Dw) print u print Dw print uDw # None! wDu = dot(w, Du) a = dot(v, uDw+wDu) * dx -- Martin
Thread Previous • Date Previous • Date Next • Thread Next |