[d03d99]: inst / example / Poisson / Poisson.ufl  Maximize  Restore  History

Download this file

11 lines (8 with data), 243 Bytes

# Copyright (C) 2005-2009 Anders Logg
element = FiniteElement("Lagrange", triangle, 1)

u = TrialFunction(element)
v = TestFunction(element)
f = Coefficient(element)
g = Coefficient(element)

a = inner(grad(u), grad(v))*dx
L = f*v*dx + g*v*ds

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks