|
FuncDef |
Top Previous Next |
|
{ FUNCDEF.PDE } { This problem demonstrates the use of parametrized definitions (or "functions") }
title 'Parameterized Definition test'
Variables u
definitions
uu(arg) = arg*arg
equations div(grad(u)) + 8*uu(u)*dx(u) +4 = 0
boundaries region 1 start(0,0) value(u)=0 line to (2,0) to (2,2) to (0,2) to close
monitors contour(u)
plots surface(u) contour(u)
end |