|
PolyFEM
|
Functions | |
| void | build_connectivity (Mesh3DStorage &hmi) |
| void | reorder_hex_mesh_propogation (Mesh3DStorage &hmi) |
| double | a_jacobian (Eigen::Vector3d &v0, Eigen::Vector3d &v1, Eigen::Vector3d &v2, Eigen::Vector3d &v3) |
| void | global_orientation_hexes (Mesh3DStorage &hmi) |
| void | refine_catmul_clark_polar (Mesh3DStorage &M, int iter, std::vector< int > &Parents) |
| void | refine_red_refinement_tet (Mesh3DStorage &M, int iter) |
| void | orient_surface_mesh (Mesh3DStorage &hmi) |
| void | orient_volume_mesh (Mesh3DStorage &hmi) |
| void | ele_subdivison_levels (const Mesh3DStorage &hmi, std::vector< int > &Ls) |
| template<typename RangeA , typename RangeB > | |
| void | set_intersection_own (const RangeA &A, const RangeB &B, std::array< uint32_t, 2 > &C, int &num) |
| The first num common ids of A and B (in the order of A). | |
Variables | |
| const int | hex_face_table [6][4] |
| const int | hex_tetra_table [8][4] |
| const int | tet_faces [4][3] |
| const int | tet_edges [6][2] |
| double polyfem::mesh::MeshProcessing3D::a_jacobian | ( | Eigen::Vector3d & | v0, |
| Eigen::Vector3d & | v1, | ||
| Eigen::Vector3d & | v2, | ||
| Eigen::Vector3d & | v3 | ||
| ) |
| void polyfem::mesh::MeshProcessing3D::build_connectivity | ( | Mesh3DStorage & | hmi | ) |
Definition at line 170 of file MeshProcessing3D.cpp.
References polyfem::mesh::JaggedArray< T >::assign_sizes(), polyfem::mesh::Mesh3DStorage::cell_fs, polyfem::mesh::Mesh3DStorage::cell_vs, polyfem::mesh::JaggedArray< T >::clear(), polyfem::mesh::Mesh3DStorage::edge_boundary, polyfem::mesh::Mesh3DStorage::edge_fs, polyfem::mesh::Mesh3DStorage::edge_vs, polyfem::mesh::Mesh3DStorage::face_boundary, polyfem::mesh::Mesh3DStorage::face_es, polyfem::mesh::Mesh3DStorage::face_hs, polyfem::mesh::Mesh3DStorage::face_vs, hex_face_table, polyfem::mesh::Mesh3DStorage::n_cells(), polyfem::mesh::Mesh3DStorage::n_edges(), polyfem::mesh::Mesh3DStorage::n_faces(), polyfem::mesh::Mesh3DStorage::n_vertices(), polyfem::mesh::JaggedArray< T >::push_back(), polyfem::mesh::JaggedArray< T >::reserve(), polyfem::mesh::JaggedArray< T >::row_size(), polyfem::mesh::JaggedArray< T >::size(), polyfem::mesh::Mesh3DStorage::type, polyfem::mesh::Mesh3DStorage::vertex_boundary, polyfem::mesh::Mesh3DStorage::vertex_es, and polyfem::mesh::Mesh3DStorage::vertex_fs.
Referenced by global_orientation_hexes(), orient_volume_mesh(), polyfem::mesh::Navigation3D::prepare_mesh(), refine_catmul_clark_polar(), and refine_red_refinement_tet().
| void polyfem::mesh::MeshProcessing3D::ele_subdivison_levels | ( | const Mesh3DStorage & | hmi, |
| std::vector< int > & | Ls | ||
| ) |
Definition at line 1351 of file MeshProcessing3D.cpp.
References polyfem::mesh::Mesh3DStorage::cell_fs, polyfem::mesh::Mesh3DStorage::cell_hex, polyfem::mesh::JaggedArray< T >::clear(), polyfem::mesh::Mesh3DStorage::face_vs, polyfem::mesh::Mesh3DStorage::n_cells(), polyfem::mesh::Mesh3DStorage::points, x, y, and z.
Referenced by refine_catmul_clark_polar().
| void polyfem::mesh::MeshProcessing3D::global_orientation_hexes | ( | Mesh3DStorage & | hmi | ) |
Definition at line 589 of file MeshProcessing3D.cpp.
References build_connectivity(), polyfem::mesh::Mesh3DStorage::cell_hex, polyfem::mesh::Mesh3DStorage::cell_vs, polyfem::mesh::Mesh3DStorage::n_cells(), polyfem::mesh::Mesh3DStorage::points, polyfem::mesh::JaggedArray< T >::push_back(), reorder_hex_mesh_propogation(), polyfem::mesh::JaggedArray< T >::size(), and polyfem::mesh::Mesh3DStorage::type.
Referenced by polyfem::mesh::Navigation3D::prepare_mesh().
| void polyfem::mesh::MeshProcessing3D::orient_surface_mesh | ( | Mesh3DStorage & | hmi | ) |
Definition at line 1152 of file MeshProcessing3D.cpp.
References polyfem::mesh::Mesh3DStorage::edge_fs, polyfem::mesh::Mesh3DStorage::edge_vs, polyfem::mesh::Mesh3DStorage::face_es, polyfem::mesh::Mesh3DStorage::face_vs, polyfem::mesh::Mesh3DStorage::n_faces(), polyfem::mesh::Mesh3DStorage::points, x, y, and z.
Referenced by orient_volume_mesh().
| void polyfem::mesh::MeshProcessing3D::orient_volume_mesh | ( | Mesh3DStorage & | hmi | ) |
Definition at line 1216 of file MeshProcessing3D.cpp.
References build_connectivity(), polyfem::mesh::Mesh3DStorage::cell_fs, polyfem::mesh::Mesh3DStorage::cell_fs_flag, polyfem::mesh::Mesh3DStorage::edge_fs, polyfem::mesh::Mesh3DStorage::edge_vs, polyfem::mesh::Mesh3DStorage::face_boundary, polyfem::mesh::Mesh3DStorage::face_es, polyfem::mesh::Mesh3DStorage::face_hs, polyfem::mesh::Mesh3DStorage::face_vs, polyfem::logger(), polyfem::mesh::Mesh3DStorage::n_cells(), polyfem::mesh::Mesh3DStorage::n_faces(), polyfem::mesh::Mesh3DStorage::n_vertices(), orient_surface_mesh(), polyfem::mesh::Mesh3DStorage::points, polyfem::mesh::JaggedArray< T >::push_back(), polyfem::mesh::JaggedArray< T >::row_size(), polyfem::mesh::Mesh3DStorage::type, and polyfem::mesh::Mesh3DStorage::vertex_boundary.
Referenced by refine_catmul_clark_polar(), and refine_red_refinement_tet().
| void polyfem::mesh::MeshProcessing3D::refine_catmul_clark_polar | ( | Mesh3DStorage & | M, |
| int | iter, | ||
| std::vector< int > & | Parents | ||
| ) |
Definition at line 620 of file MeshProcessing3D.cpp.
References build_connectivity(), ele_subdivison_levels(), polyfem::mesh::find(), hex_face_table, and orient_volume_mesh().
Referenced by polyfem::mesh::CMesh3D::refine().
| void polyfem::mesh::MeshProcessing3D::refine_red_refinement_tet | ( | Mesh3DStorage & | M, |
| int | iter | ||
| ) |
Definition at line 958 of file MeshProcessing3D.cpp.
References a_jacobian(), build_connectivity(), orient_volume_mesh(), point, polyfem::mesh::signed_volume(), tet_edges, and tet_faces.
Referenced by polyfem::mesh::CMesh3D::refine().
| void polyfem::mesh::MeshProcessing3D::reorder_hex_mesh_propogation | ( | Mesh3DStorage & | hmi | ) |
Definition at line 458 of file MeshProcessing3D.cpp.
References polyfem::mesh::Mesh_Quality::ave_Jacobian, polyfem::mesh::Mesh3DStorage::cell_fs, polyfem::mesh::Mesh3DStorage::cell_vs, polyfem::mesh::Mesh3DStorage::face_boundary, polyfem::mesh::Mesh3DStorage::face_hs, polyfem::mesh::Mesh3DStorage::face_vs, hex_face_table, polyfem::mesh::Mesh_Quality::min_Jacobian, polyfem::mesh::Mesh3DStorage::n_cells(), polyfem::mesh::Mesh3DStorage::points, polyfem::mesh::JaggedArray< T >::push_back(), and polyfem::mesh::Mesh3DStorage::vertex_vs.
Referenced by global_orientation_hexes().
| void polyfem::mesh::MeshProcessing3D::set_intersection_own | ( | const RangeA & | A, |
| const RangeB & | B, | ||
| std::array< uint32_t, 2 > & | C, | ||
| int & | num | ||
| ) |
The first num common ids of A and B (in the order of A).
Definition at line 62 of file MeshProcessing3D.hpp.
Referenced by polyfem::mesh::Navigation3D::get_index_from_element_face(), and polyfem::mesh::Navigation3D::switch_face().
| const int polyfem::mesh::MeshProcessing3D::hex_face_table[6][4] |
Definition at line 15 of file MeshProcessing3D.hpp.
Referenced by build_connectivity(), refine_catmul_clark_polar(), and reorder_hex_mesh_propogation().
| const int polyfem::mesh::MeshProcessing3D::hex_tetra_table[8][4] |
Definition at line 24 of file MeshProcessing3D.hpp.
| const int polyfem::mesh::MeshProcessing3D::tet_edges[6][2] |
Definition at line 40 of file MeshProcessing3D.hpp.
Referenced by refine_red_refinement_tet().
| const int polyfem::mesh::MeshProcessing3D::tet_faces[4][3] |
Definition at line 35 of file MeshProcessing3D.hpp.
Referenced by refine_red_refinement_tet().