dmsh:受distmesh启发的简单网格生成器

时间:2021-04-29 10:24:51
【文件属性】:
文件名称:dmsh:受distmesh启发的简单网格生成器
文件大小:54KB
文件格式:ZIP
更新时间:2021-04-29 10:24:51
python mathematics python3 mesh mesh-generation 您将使用的最差的网格生成器。 受到启发,dmsh速度很慢,需要大量内存,并且也不是很健壮。 从积极的一面, 它有一个用户友好的界面, 是纯Python(因此很容易在任何系统上安装),并且 它产生了相当高质量的网格物体。 结合 ,dmsh产生了西方最高质量的2D网格。 例子 原语 import dmsh import meshio import optimesh geo = dmsh . Circle ([ 0.0 , 0.0 ], 1.0 ) X , cells = dmsh . generate ( geo , 0.1 ) # optionally optimize the mesh X , cells = optimesh . optimize_points_cells ( X , cells , "CVT (full)" , 1.0e-10 , 100 ) # visua
【文件预览】:
dmsh-main
----.gitignore(116B)
----.codecov.yml(12B)
----Makefile(1KB)
----pyproject.toml(94B)
----LICENSE(34KB)
----setup.cfg(1KB)
----.github()
--------workflows()
----README.md(9KB)
----dmsh()
--------geometry()
--------__init__.py(554B)
--------__about__.py(214B)
--------main.py(11KB)
--------helpers.py(5KB)
----.flake8(107B)
----test()
--------test_large.py(527B)
--------test_scaling.py(488B)
--------test_closed_path.py(5KB)
--------test_halfspace.py(616B)
--------Makefile(204B)
--------test_path.py(778B)
--------test_ellipse.py(501B)
--------test_circle.py(1KB)
--------test_show_level_set.py(181B)
--------test_rotation.py(519B)
--------test_polygon.py(1KB)
--------test_union.py(3KB)
--------test_translation.py(416B)
--------compare-speed.py(3KB)
--------test_square_hole_refined.py(609B)
--------generate-readme-plots.py(3KB)
--------test_pacman.py(593B)
--------test_difference.py(2KB)
--------test_intersection.py(2KB)
--------test_speed.py(1KB)
--------test_readme.py(466B)
--------test_quarter_annulus.py(827B)
--------logo.py(133B)
--------test_refinement_point_line.py(624B)
--------test_rectangle.py(2KB)
--------helpers.py(924B)
--------test_stretch.py(495B)
--------test_rectangle_hole.py(917B)
----tox.ini(215B)

网友评论