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
peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology Struct Reference

Flattened, value-only topology for the face-neighbour gather, established ONCE: the per-matvec exchange then moves only double values (no coords, no locateGlobal) over a fixed graph — the octree analogue of GridHaloTopology::flatten(). More...

#include <distributed_octree.hpp>

Public Attributes

std::vector< Index > localSlot
 
std::vector< Index > localLeaf
 
std::vector< int > sendRanks
 
std::vector< int > sendCounts
 
std::vector< Index > sendLeaf
 
std::vector< int > recvRanks
 
std::vector< int > recvCounts
 
std::vector< Index > recvSlot
 
Index nFaces = 0
 

Detailed Description

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
struct peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology

Flattened, value-only topology for the face-neighbour gather, established ONCE: the per-matvec exchange then moves only double values (no coords, no locateGlobal) over a fixed graph — the octree analogue of GridHaloTopology::flatten().

A device DistributedGatherHalo mirrors only the compact send/recv buffers across MPI (à la grid_halo.hpp); the field stays on the device.

Definition at line 584 of file distributed_octree.hpp.

Member Data Documentation

◆ localSlot

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<Index> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::localSlot

Definition at line 587 of file distributed_octree.hpp.

◆ localLeaf

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<Index> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::localLeaf

Definition at line 587 of file distributed_octree.hpp.

◆ sendRanks

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<int> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::sendRanks

Definition at line 590 of file distributed_octree.hpp.

◆ sendCounts

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<int> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::sendCounts

Definition at line 590 of file distributed_octree.hpp.

◆ sendLeaf

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<Index> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::sendLeaf

Definition at line 591 of file distributed_octree.hpp.

◆ recvRanks

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<int> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::recvRanks

Definition at line 593 of file distributed_octree.hpp.

◆ recvCounts

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<int> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::recvCounts

Definition at line 593 of file distributed_octree.hpp.

◆ recvSlot

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<Index> peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::recvSlot

Definition at line 594 of file distributed_octree.hpp.

◆ nFaces

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
Index peclet::amr::DistributedOctree< Dim, Bits >::GatherHaloTopology::nFaces = 0

The documentation for this struct was generated from the following file: