1 #ifndef OMEGA_H_REFINE_TOPOLOGY_HPP
2 #define OMEGA_H_REFINE_TOPOLOGY_HPP
4 #include <Omega_h_array.hpp>
5 #include <Omega_h_scalar.hpp>
11 void refine_domains_to_pairs(Mesh* mesh, Int dim, LOs keys2edges,
12 LOs keys2midverts, LOs old_verts2new_verts, LOs& keys2pairs,
13 LOs& pair_verts2verts);
15 void refine_domains_to_cuts(Mesh* mesh, Int dim, LOs keys2edges,
16 LOs keys2midverts, LOs old_verts2new_verts, LOs& keys2cuts,
17 LOs& cut_verts2verts);
19 void combine_pairs_and_cuts(Int ent_dim, LOs keys2cuts, LOs keys2pairs,
20 LOs cut_verts2verts, LOs pair_verts2verts, LOs& keys2prods,
21 LOs& prod_verts2verts);
23 void refine_products(Mesh* mesh, Int ent_dim, LOs keys2edges, LOs keys2midverts,
24 LOs old_verts2new_verts, LOs& keys2prods, LOs& prod_verts2verts);
40 OMEGA_H_INLINE
static void flip(T ev[]) {
47 OMEGA_H_INLINE
static void flip(T ev[]) {
51 template <Int dim,
typename T>
52 OMEGA_H_INLINE
void flip_new_elem(T ev[]) {
56 OMEGA_H_INLINE
void flip_new_elem(Int dim, T ev[]) {
57 if (dim == 3) swap2(ev[1], ev[2]);
Definition: amr_mpi_test.cpp:6
Definition: Omega_h_refine_topology.hpp:36