1#ifndef PBAT_GPU_IMPL_GEOMETRY_MORTON_H
2#define PBAT_GPU_IMPL_GEOMETRY_MORTON_H
7#include "pbat/gpu/impl/common/Buffer.cuh"
8#include "pbat/math/linalg/mini/Matrix.h"
18 using Bound = pbat::math::linalg::mini::SVector<GpuScalar, 3>;
21 Morton(std::size_t n);
23 void Encode(
Aabb<3> const& aabbs, Bound
const& wmin, Bound
const& wmax);
This file contains functions to compute Morton codes.
Type aliases for GPU code.
std::uint32_t MortonCodeType
Type used to represent Morton codes.
Definition Morton.h:24
GPU algorithm implementations.
Definition VertexTriangleMixedCcdDcd.h:21
GPU related public functionality.
Definition Buffer.cu:16
The main namespace of the library.
Definition Aliases.h:15