📄 mixedpoisson.form
字号:
# Copyright (C) 2006-2007 Anders Logg (logg@simula.no)# Licensed under the GNU LGPL Version 2.1## The bilinear form a(v, u) and linear form L(v) for# a mixed formulation of Poisson's equation with BDM# (Brezzi-Douglas-Marini) elements.# Compile this form with FFC: ffc -l dolfin MixedPoisson.formq = 1BDM = FiniteElement("Brezzi-Douglas-Marini", "triangle", q)DG = FiniteElement("Discontinuous Lagrange", "triangle", q - 1)mixed_element = BDM + DG(v, w) = TestFunctions(mixed_element)(q, u) = TrialFunctions(mixed_element)f = Function(DG)a = (dot(v, q) - div(v)*u + w*div(q))*dxL = w*f*dx
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -