peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
Loading...
Searching...
No Matches
block_octree.hpp File Reference
#include <algorithm>
#include <array>
#include <cassert>
#include <cstdint>
#include <vector>
#include "morton/morton.hpp"
#include "peclet/amr/common.hpp"
#include "peclet/core/common/types.hpp"

Go to the source code of this file.

Classes

class  peclet::amr::BlockOctree< Dim, Bits >
 Per-block adaptive octree over block-local Morton codes. More...
 

Namespaces

namespace  peclet
 
namespace  peclet::amr
 

Functions

template<class M >
Index peclet::amr::amrLocate (const typename M::code_type *codes, const std::uint8_t *levels, Index n, typename M::code_type p)
 Locate the leaf containing Morton code p in sorted leaf arrays.