overlap:精确计算球体和网格单元的重叠体积和面积

时间:2021-05-23 01:09:57
【文件属性】:
文件名称:overlap:精确计算球体和网格单元的重叠体积和面积
文件大小:56KB
文件格式:ZIP
更新时间:2021-05-23 01:09:57
computational-geometry numerical-simulations mesh-processing C++ 精确计算球体和网格单元的重叠体积和面积 计算球体与通常使用的网格元素(例如四面体或六面体)之一的相交或重叠体积是令人惊讶的挑战。 这个仅标头的库实现了一种数字健壮的方法来确定此卷。 该代码中使用的数学表达式和算法在进行了描述。 因此,如果您在产生任何出版物的项目中使用该代码,请引用本文。 利用用于计算重叠体积的概念和例程,也可以使用此库来计算球体的相交或重叠区域以及网格元素的小平面。 用法 支持的原语 重叠计算直接支持以下元素类型: 四面体(4个节点/顶点,数据类型为Tetrahedron ) 五面体/楔形/三角棱镜(5个节点/顶点,数据类型为Wedge ) hexahedra(6个节点/顶点,数据类型为Hexahedron ) 元素必须是凸形的,并且必须指定为三维节点/顶点的列表,而球体(数据类型Sphere )则需要一个中心点和半径。 节点排序 重叠库的元素类型遵循项目的
【文件预览】:
overlap-master
----.gitmodules(317B)
----pyproject.toml(206B)
----.github()
--------workflows()
----test()
--------normal_newell.cpp(2KB)
--------sphere_element_overlap_edgecases.cpp(2KB)
--------elements.cpp(2KB)
--------decompose_elements.cpp(2KB)
--------detail_clamp.cpp(1KB)
--------sphere_tet_overlap_edgecases.cpp(2KB)
--------sphere_tet_area.cpp(4KB)
--------sphere_element_area_edgecases.cpp(2KB)
--------sphere.cpp(2KB)
--------detail_regularizedWedge.cpp(3KB)
--------detail_regularizedWedgeArea.cpp(2KB)
--------sphere_hex_area.cpp(3KB)
--------polygon.cpp(1KB)
--------CMakeLists.txt(2KB)
--------common.hpp(5KB)
--------sphere_element_overlap.cpp(2KB)
--------test_overlap.py(4KB)
----python()
--------overlap.cpp(4KB)
--------__init__.py(24B)
--------CMakeLists.txt(457B)
----LICENSE(34KB)
----setup.py(1KB)
----CMakeLists.txt(2KB)
----third_party()
--------googletest()
--------eigen()
--------pybind11()
----README.md(7KB)
----overlap.hpp(65KB)

网友评论