demo.py
来自「Dolfin provide a high-performance linear」· Python 代码 · 共 17 行
PY
17 行
__author__ = "Anders Logg and Magnus Vikstrom"__date__ = "2007-06-01 -- 2007-06-01"__copyright__ = "Copyright (C) 2007 Anders Logg and Magnus Vikstrom"__license__ = "GNU LGPL Version 2.1"from dolfin import *# Create meshmesh = UnitCube(16, 16, 16)# Partition meshpartitions = MeshFunction("uint")mesh.partition(20, partitions)# Plot mesh partitionplot(partitions)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?