附加坐标系张量场的numpy+symphy实现
tfields的Python项目详细描述
```从用户端安装我们建议通过pypi进行安装:
``bash
pip install w7x
````
在此过程中,所有依赖项都将自动解析。
并设置$pythonpath变量。
``bash
cd-fovorite\u目录
git-clone https://gitlab.mpcdf.mpg.de/dboe/tfields.git\clone-the-repository
git-submodule update--init--recursive\没有这一步,代码就可以运行。)
echo'export pythonpath=$pythonpath:<;/path/to/my/facovorite-directory/w7x>;'>;>>.bashrc;永久设置$pythonpath变量
source//.bashrc;使pythonpath的更改处于活动状态
;仅限开发人员:
经过测试。只有当代码覆盖率高于80%且单元测试没有失败时,才会发布新版本。
如果要检查这些代码,必须通过tfields目录中的git(见上文)下载代码,运行
``bash
make test
```
运行
``bash
make coverage
```
\git hooks
设置共享git hooks,运行
``bash
make init
``
我们仍处于领先地位,但进展很快。如果您想了解这个库的功能,请查看tfields/core.py,例如tensors类并阅读示例(unittesting中包含的所有博士)。如果您想使用三维网格,那么tfields/mesh3d.py可能是一个有趣的起点。
``bash
pip install w7x
````
在此过程中,所有依赖项都将自动解析。
并设置$pythonpath变量。
``bash
cd-fovorite\u目录
git-clone https://gitlab.mpcdf.mpg.de/dboe/tfields.git\clone-the-repository
git-submodule update--init--recursive\没有这一步,代码就可以运行。)
echo'export pythonpath=$pythonpath:<;/path/to/my/facovorite-directory/w7x>;'>;>>.bashrc;永久设置$pythonpath变量
source//.bashrc;使pythonpath的更改处于活动状态
;仅限开发人员:
经过测试。只有当代码覆盖率高于80%且单元测试没有失败时,才会发布新版本。
如果要检查这些代码,必须通过tfields目录中的git(见上文)下载代码,运行
``bash
make test
```
运行
``bash
make coverage
```
\git hooks
设置共享git hooks,运行
``bash
make init
``
我们仍处于领先地位,但进展很快。如果您想了解这个库的功能,请查看tfields/core.py,例如tensors类并阅读示例(unittesting中包含的所有博士)。如果您想使用三维网格,那么tfields/mesh3d.py可能是一个有趣的起点。