SpECTRE  v2024.09.29
Particles::MonteCarlo::McGhostZoneData< Dim > Struct Template Reference

The container for ghost zone data to be communicated in the Monte-Carlo algorithm. More...

#include <GhostZoneCommunicationTags.hpp>

Public Member Functions

void pup (PUP::er &p)
 

Public Attributes

DataVector ghost_zone_hydro_variables {}
 
std::optional< std::vector< Particles::MonteCarlo::Packet > > packets_entering_this_element {}
 

Detailed Description

template<size_t Dim>
struct Particles::MonteCarlo::McGhostZoneData< Dim >

The container for ghost zone data to be communicated in the Monte-Carlo algorithm.

The stored data consists of (1) The fluid variables in those ghost cells, in the form of a DataVector. The data should contain the scalars (baryon density, temperature, electron fraction, and cell light-crossing time) in pre-step communication and (coupling_tilde_tau, coupling_tilde_s, coupling_rho_ye) in post-step communication (2) The packets moved from a neighbor to this element. This can be std::null_ptr in pre-step communication


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