pygalmesh:CGAL网格生成器的Python前端

时间:2021-05-04 20:41:17
【文件属性】:
文件名称:pygalmesh:CGAL网格生成器的Python前端
文件大小:62KB
文件格式:ZIP
更新时间:2021-05-04 20:41:17
python engineering mathematics cgal mesh 轻松创建高质量的网格物体。 pygalmesh是 和的Python前端。 pygalmesh使创建高质量2D,3D体积网格,周期性体积网格和曲面网格变得容易。 例子 2D网格 CGAL根据线性约束生成2D网格。 import numpy import pygalmesh points = numpy . array ([[ 0.0 , 0.0 ], [ 1.0 , 0.0 ], [ 1.0 , 1.0 ], [ 0.0 , 1.0 ]]) constraints = [[ 0 , 1 ], [ 1 , 2 ], [ 2 , 3 ], [ 3 , 0 ]] mesh = pygalmesh . generate_2d ( points , constraints , max_edge_size = 1.0e-1 , num_lloyd_steps =
【文件预览】:
pygalmesh-main
----setup.py(1KB)
----.gitignore(91B)
----.codecov.yml(12B)
----Makefile(1KB)
----pyproject.toml(113B)
----src()
--------generate_surface_mesh.hpp(583B)
--------generate.cpp(6KB)
--------generate_periodic.cpp(4KB)
--------polygon2d.hpp(8KB)
--------remesh_surface.hpp(554B)
--------generate_from_off.hpp(814B)
--------generate_from_inr.cpp(5KB)
--------remesh_surface.cpp(3KB)
--------generate_periodic.hpp(949B)
--------generate.hpp(1KB)
--------generate_2d.cpp(3KB)
--------sizing_field.hpp(334B)
--------generate_2d.hpp(767B)
--------domain.hpp(12KB)
--------generate_from_off.cpp(4KB)
--------generate_from_inr.hpp(1KB)
--------generate_surface_mesh.cpp(2KB)
--------primitives.hpp(11KB)
--------pybind11.cpp(15KB)
--------CMakeLists.txt(860B)
----MANIFEST.in(386B)
----LICENSE(34KB)
----setup.cfg(2KB)
----.github()
--------workflows()
----README.md(16KB)
----pygalmesh()
--------__init__.py(1KB)
--------__about__.py(299B)
--------_cli()
--------main.py(14KB)
----.gitattributes(126B)
----.flake8(107B)
----test()
--------test_periodic.py(1KB)
--------meshes()
--------test_2d.py(2KB)
--------test_inr.py(1KB)
--------test_remesh_surface.py(2KB)
--------test_volume_from_surface.py(2KB)
--------test_volume_mesh.py(20KB)
--------test_surface_mesh.py(850B)
--------test_readme.py(166B)
--------test_from_array.py(2KB)
--------helpers.py(1KB)
----CMakeLists.txt(205B)
----tox.ini(191B)

网友评论