3 #include "core/cl/representation.h" 4 #include "core/cl/traits.h" 5 #include "core/geo/box.h" 15 static constexpr
auto no_neighbor = ~cl_uint{0};
23 return std::tie(x.min_corner, x.dimensions, x.spacing);
27 return to_tuple(a) == to_tuple(b);
38 glm::ivec3 compute_locator(
const mesh_descriptor& d,
const glm::vec3& v);
40 glm::vec3 compute_position(
const mesh_descriptor& d,
const glm::ivec3& locator);
43 void compute_neighbors(
const mesh_descriptor& d,
size_t index, cl_uint* output);
49 double compute_sample_rate(
const mesh_descriptor& d,
double speed_of_sound);
53 util::aligned::vector<glm::vec3> compute_node_positions(
60 static constexpr
auto value = R
"( Definition: representation.h:7
Definition: capsule_base.h:9
Definition: mesh_descriptor.h:14