mixedmixed.form
来自「finite element library for mathematic ma」· FORM 代码 · 共 38 行
FORM
38 行
# Copyright (C) 2006-2007 Marie Rognes (meg@math.uio.no)# Licensed under the GNU GPL Version 3## Testing nested mixed elements with piola# Compile this form with FFC: ffc MixedPoisson.formq = 1shape = "triangle"BDM = FiniteElement("Brezzi-Douglas-Marini", shape, q)DG = FiniteElement("Discontinuous Lagrange", shape, q)element1 = BDM + DGelement2 = DG + BDMmixed_element = element1 + element2t = TestFunctions(element1)print "Testing BDM + DG:"print "t = ", tprints = TestFunctions(element2)print "Testing DG + BDM:"print "s = ", sprintp = TestFunctions(mixed_element)print "Testing [BDM+ DG] + [DG + BDM]:"print "p = ", pprintelement = DG + BDM + BDM + DG + (DG + mixed_element)r = TestFunctions(element)print "Testing DG + BDM + BDM + DG + (DG + mixed_element)"print "r = ", rprint
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?