Skip to content

weihuayi/fealpy

Repository files navigation

FEALPy: Finite Element Analysis Library in Python

Join the chat at https://gitter.im/weihuayi/fealpy Python package Upload Python Package

We want to develop an efficient and easy to use finite element software package to support our teach and research work.

We still have lot work to do.

关于 FEALPy 的中文帮助与安装信息请查看: FEALPy 帮助与安装

Installation

Common

To install the latest release from PyPi, use

pip install -U fealpy

If you have no root access on Linux/MacOS, please try

python -m pip install -U fealpy

Users in China can install FEALPy from mirrors such as:

From Source

git clone https://github.com/weihuayi/fealpy.git
cd fealpy
pip install .

For developers, please use pip install -e . to install it in develop mode.

On Linux system such as Ubuntu or Fedora, or MacOS, maybe you should use pip3 install -e . to install it in develop mode.

Uninstallation

pip uninstall fealpy

Warning

The sparse pattern of the matrix A generated by FEALPy may not be the same as the theoretical pattern, since there exists nonzero values that are close to machine precision due to rounding. If you care about the sparse pattern of the matrix, you can use the following commands to eliminate them

eps = 10**(-15)
A.data[ np.abs(A.data) < eps ] = 0
A.eliminate_zeros()

Docker

To be added.

Reference and Acknowledgement

We thank Dr. Long Chen for the guidance and compiling a systematic documentation for programming finite element methods.

Citation

Please cite fealpy if you use it in your paper

H. Wei and Y. Huang, FEALPy: Finite Element Analysis Library in Python, https://github.com/weihuayi/fealpy, Xiangtan University, 2017-2023.

@misc{fealpy,
	title = {FEALPy: Finite Element Analysis Library in Python. https://github.com/weihuayi/fealpy},
	url = {https://github.com/weihuayi/fealpy},
	author = {Wei, Huayi and Huang, Yunqing},
    institution = {Xiangtan University},
	year = {Xiangtan University, 2017-2023},
}