Wildmeshing Toolkit
grid_utils.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <array>
3 #include <cstdint>
4 
6 
7 
8 int64_t grid_index(const std::array<int64_t, 3>& dimensions, const std::array<int64_t, 3>& i);
9 int64_t grid_index(const std::array<int64_t, 2>& dimensions, const std::array<int64_t, 2>& i);
10 } // namespace wmtk::components::procedural
int64_t grid_index(const std::array< int64_t, 3 > &d, const std::array< int64_t, 3 > &i)
Definition: grid_utils.cpp:16