ARTEMIS
|
#include <ParticleBoundaryBuffer.H>
Public Member Functions | |
ParticleBoundaryBuffer () | |
int | numSpecies () const |
const std::vector< std::string > & | getSpeciesNames () const |
void | gatherParticles (MultiParticleContainer &mypc, const amrex::Vector< const amrex::MultiFab * > &distance_to_eb) |
void | redistribute () |
void | clearParticles () |
void | clearParticles (int const i) |
void | printNumParticles () const |
int | getNumParticlesInContainer (const std::string species_name, int boundary, bool local) |
PinnedMemoryParticleContainer & | getParticleBuffer (const std::string species_name, int boundary) |
PinnedMemoryParticleContainer * | getParticleBufferPointer (const std::string species_name, int boundary) |
bool | isDefinedForAnySpecies (int const ibuffer) |
std::string | boundaryName (int const ibuffer) |
Static Public Member Functions | |
static constexpr int | numBoundaries () |
Private Attributes | |
std::vector< std::vector< PinnedMemoryParticleContainer > > | m_particle_containers |
std::vector< std::vector< int > > | m_do_boundary_buffer |
std::vector< int > | m_do_any_boundary |
std::vector< std::string > | m_boundary_names |
std::vector< std::string > | m_species_names |
This stores particles that have left / been absorbed by domain and embedded boundaries.
ParticleBoundaryBuffer::ParticleBoundaryBuffer | ( | ) |
|
inline |
void ParticleBoundaryBuffer::clearParticles | ( | ) |
void ParticleBoundaryBuffer::clearParticles | ( | int const | i | ) |
void ParticleBoundaryBuffer::gatherParticles | ( | MultiParticleContainer & | mypc, |
const amrex::Vector< const amrex::MultiFab * > & | distance_to_eb | ||
) |
int ParticleBoundaryBuffer::getNumParticlesInContainer | ( | const std::string | species_name, |
int | boundary, | ||
bool | local | ||
) |
PinnedMemoryParticleContainer & ParticleBoundaryBuffer::getParticleBuffer | ( | const std::string | species_name, |
int | boundary | ||
) |
PinnedMemoryParticleContainer * ParticleBoundaryBuffer::getParticleBufferPointer | ( | const std::string | species_name, |
int | boundary | ||
) |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inline |
void ParticleBoundaryBuffer::printNumParticles | ( | ) | const |
void ParticleBoundaryBuffer::redistribute | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |