omega_h
Reliable mesh adaptation
Omega_h_inertia.hpp
1 #ifndef OMEGA_H_INERTIA_HPP
2 #define OMEGA_H_INERTIA_HPP
3 
4 #include <vector>
5 
6 #include "Omega_h_remotes.hpp"
7 #include "Omega_h_vector.hpp"
8 
9 namespace Omega_h {
10 
11 namespace inertia {
12 
13 struct Rib {
14  std::vector<Vector<3>> axes;
15 };
16 
17 Read<I8> mark_bisection(
18  CommPtr comm, Reals coords, Reals masses, Real tolerance, Vector<3>& axis);
19 Read<I8> mark_bisection_given_axis(
20  CommPtr comm, Reals coords, Reals masses, Real tolerance, Vector<3> axis);
21 void recursively_bisect(CommPtr comm, Real tolerance, Reals* p_coords,
22  Reals* p_masses, Remotes* p_owners, Rib* p_hints);
23 } // namespace inertia
24 
25 } // end namespace Omega_h
26 
27 #endif
Definition: Omega_h_few.hpp:61
Definition: amr_mpi_test.cpp:6
Definition: Omega_h_remotes.hpp:9
Definition: Omega_h_inertia.hpp:13