chombo-discharge
Loading...
Searching...
No Matches
Classes | Typedefs
CD_ParticleMap.H File Reference

Implementation of CD_ParticleOps.H. More...

#include <cstdint>
#include <utility>
#include <unordered_map>
#include <map>
#include <CD_NamespaceHeader.H>
#include <CD_NamespaceFooter.H>
Include dependency graph for CD_ParticleMap.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PairHash
 Simple pair-hashing struct for interfacing into unordered_map. More...
 

Typedefs

template<typename T >
using ParticleMap = std::unordered_map< std::pair< uint32_t, uint32_t >, T, PairHash >
 Underlying particle map when gathering/scattering particles.
 

Detailed Description

Implementation of CD_ParticleOps.H.

Author
Robert Marskar

Typedef Documentation

◆ ParticleMap

Underlying particle map when gathering/scattering particles.

This is a map that maps a list of particles to a specific grid level and grid patch.