19 #ifndef __PLAZA_REFINEMENT_ND_H 20 #define __PLAZA_REFINEMENT_ND_H 26 class ParallelRefinement;
49 static void refine(
Mesh& new_mesh,
const Mesh& mesh,
bool redistribute,
50 bool calculate_parent_facets);
69 bool calculate_parent_facets);
86 bool calculate_parent_facets,
106 (std::vector<std::size_t>& simplex_set,
107 const std::vector<bool>& marked_edges,
108 const std::vector<std::size_t>& longest_edge,
109 std::size_t tdim,
bool uniform);
114 static void face_long_edge(std::vector<unsigned int>& long_edge,
115 std::vector<bool>& edge_ratio_ok,
119 static void get_triangles
120 (std::vector<std::size_t>& tri_set,
121 const std::vector<bool>& marked_edges,
122 const std::size_t longest_edge,
126 static void get_tetrahedra
127 (std::vector<std::size_t>& tet_set,
128 const std::vector<bool>& marked_edges,
129 const std::vector<std::size_t>& longest_edge);
132 static void do_refine(
Mesh& new_mesh,
const Mesh& mesh,
134 const std::vector<unsigned int>& long_edge,
135 const std::vector<bool>& edge_ratio_ok,
137 bool calculate_parent_facets,
144 const std::vector<unsigned int>& long_edge);
148 static void set_parent_facet_markers(
const Mesh& mesh,
Mesh& new_mesh,
149 const std::map<std::size_t, std::size_t>& new_vertex_map);
Definition: MeshRelation.h:34
static void get_simplices(std::vector< std::size_t > &simplex_set, const std::vector< bool > &marked_edges, const std::vector< std::size_t > &longest_edge, std::size_t tdim, bool uniform)
Definition: PlazaRefinementND.cpp:43
Data structure and methods for refining meshes in parallel.
Definition: ParallelRefinement.h:42
Definition: PlazaRefinementND.h:33
static void refine(Mesh &new_mesh, const Mesh &mesh, bool redistribute, bool calculate_parent_facets)
Definition: PlazaRefinementND.cpp:311