📄 nonlinearpoisson.form
字号:
# Copyright (C) 2005 Garth N. Wells.# Licensed under the GNU LGPL Version 2.1.## The linearised bilinear form a(v, U) and linear form L(v) for# the nonlinear equation - div (1+u^2) grad u = f## Compile this form with FFC: ffc -l dolfin NonlinearPoisson.form.element = FiniteElement("Lagrange", "triangle", 1)v = TestFunction(element)U = TrialFunction(element)U0= Function(element)f = Function(element)a = v.dx(i)*(1+U0*U0)*U.dx(i)*dx + v.dx(i)*2*U0*U*U0.dx(i)*dxL = v*f*dx - v.dx(i)*(1+U0*U0)*U0.dx(i)*dx
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -