GhostParticleUpdateCache Struct Reference

Developer Documentation: MeltPoolDG::CellListParticleHandler< dim, number, ObstacleType >::GhostParticleUpdateCache Struct Reference
Developer Documentation
MeltPoolDG::CellListParticleHandler< dim, number, ObstacleType >::GhostParticleUpdateCache Struct Reference

Public Member Functions

void reset (MPI_Comm mpi_communicator)
 

Public Attributes

std::vector< std::vector< dealii::Particles::ParticleIterator< dim > > > particles_to_send
 
std::vector< unsigned int > n_particles_to_receive
 
std::vector< unsigned int > rank_ghost_particle_start_handle
 
std::vector< std::vector< typename dealii::Particles::PropertyPool< dim >::Handle > > rank_to_ghost_handle
 

Member Function Documentation

◆ reset()

template<int dim, typename number , typename ObstacleType >
void MeltPoolDG::CellListParticleHandler< dim, number, ObstacleType >::GhostParticleUpdateCache::reset ( MPI_Comm  mpi_communicator)
inline

Resets the cache for ghost particle updates by clearing all data and resizing (with default initialization) the internal structures based on the number of MPI processes in the provided communicator.

Parameters
mpi_communicatorThe MPI communicator.

Member Data Documentation

◆ n_particles_to_receive

template<int dim, typename number , typename ObstacleType >
std::vector<unsigned int> MeltPoolDG::CellListParticleHandler< dim, number, ObstacleType >::GhostParticleUpdateCache::n_particles_to_receive

◆ particles_to_send

template<int dim, typename number , typename ObstacleType >
std::vector<std::vector<dealii::Particles::ParticleIterator<dim> > > MeltPoolDG::CellListParticleHandler< dim, number, ObstacleType >::GhostParticleUpdateCache::particles_to_send

◆ rank_ghost_particle_start_handle

template<int dim, typename number , typename ObstacleType >
std::vector<unsigned int> MeltPoolDG::CellListParticleHandler< dim, number, ObstacleType >::GhostParticleUpdateCache::rank_ghost_particle_start_handle

◆ rank_to_ghost_handle

template<int dim, typename number , typename ObstacleType >
std::vector<std::vector<typename dealii::Particles::PropertyPool<dim>::Handle> > MeltPoolDG::CellListParticleHandler< dim, number, ObstacleType >::GhostParticleUpdateCache::rank_to_ghost_handle

A map that associates each MPI rank with the handles in the property pool of the ghost particles storing those particles which are owned by the corresponding rank.


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