📄 readme
字号:
PyDOLFIN - A Python module wrapper for DOLFIN---------------------------------------------Introduction:The idea behind PyDOLFIN is that DOLFIN should be usable from Python.This enables much simpler testing, experimenting, demonstration. For some applications it could likely replace the C++ interface entirely.Installation:PyDOLFIN requires a correctly configured DOLFIN source tree, as wellas an installation of DOLFIN. With that in place, simply type "make"in "src/pydolfin" to build the module, then "python setup.py install"to install it (a standard Python module installation procedure).Possibly "python setup.py install --prefix=/your/local/directory/"if you do not wish a system-wide install.If the DOLFIN interface has changed, you may need to regenerate theSWIG interface. Simply do "touch dolfin.i" followed by make to rebuild.Usage:PyDOLFIN is used just like any Python module:>>> from dolfin import *>>> mesh = UnitSquare(2, 2)See the included demos for usage examples.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -