⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mixedpoissonbc.form

📁 finite element library for mathematic majored research
💻 FORM
字号:
# Copyright (C) 2007 Marie Rognes (meg@math.uio.no)"# Licensed under the GNU GPL version 3 or any later version## The bilinear form a(v, u) and linear form L(v) for a mixed# formulation of Poisson's equation with non-homogenous boundary# conditions, namely:#             - div grad u = f#             u(x) = g(x) for x on (parts of) boundary# Compile this form with FFC: ffc MixedPoissonBC.formq = 1shape = "triangle"BDM = FiniteElement("Brezzi-Douglas-Marini", shape, q)DG  = FiniteElement("Discontinuous Lagrange", shape, q - 1)mixed_element = BDM + DG(tau, w) = TestFunctions(mixed_element)(sigma, u) = TrialFunctions(mixed_element)f = Function(DG) g = Function(DG) n = FacetNormal(shape)a = (dot(tau, sigma) - div(tau)*u + w*div(sigma))*dxL = w*f*dx - dot(tau, n)*g*ds

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -