18 std::shared_ptr<FLUDS>& in_fluds,
19 std::vector<size_t>& angle_indices,
20 std::map<uint64_t, std::shared_ptr<SweepBndry>>& sim_boundaries,
21 int sweep_eager_limit,
31 *in_fluds, num_grps, angle_indices.size(), sweep_eager_limit, in_comm_set)
47 const std::vector<size_t>& timing_tags,
66 status = Status::RECEIVING;
70 if (status == Status::RECEIVING)
return status;
71 else if (status == Status::READY_TO_EXECUTE and
72 permission == ExecutionPermission::EXECUTE)
77 sweep_chunk.
Sweep(*
this);
138 unsigned int angle_num,
139 uint64_t cell_local_id,
140 unsigned int face_num,
144 bool surface_source_active)
148 cell_local_id, face_num, fi, angle_num, g, gs_ss_begin);
150 if (not surface_source_active)
return ref_boundaries_[bndry_map]->ZeroFlux(g);
153 cell_local_id, face_num, fi, angle_num, g, gs_ss_begin);
159 unsigned int angle_num,
160 uint64_t cell_local_id,
161 unsigned int face_num,
166 cell_local_id, face_num, fi, angle_num, gs_ss_begin);
@ EVENT_BEGIN
Signals the begin of an event.
@ EVENT_END
Signals the end of an event.
void LogEvent(size_t ev_tag, EventType ev_type, const std::shared_ptr< EventInfo > &ev_info)
void ClearLocalAndReceiveBuffers()
void InitializeDelayedUpstreamData()
AngleSetStatus ReceiveUpstreamPsi(int angle_set_num)
void ClearDownstreamBuffers()
void SendDownstreamPsi(int angle_set_num)
void InitializeLocalAndDownstreamBuffers()
bool ReceiveDelayedData(int angle_set_num)
AngleSetStatus AngleSetAdvance(SweepChunk &sweep_chunk, const std::vector< size_t > &timing_tags, ExecutionPermission permission) override
void InitializeDelayedUpstreamData() override
void SetMaxBufferMessages(int new_max) override
int GetMaxBufferMessages() const override
chi_mesh::sweep_management::AAH_ASynchronousCommunicator async_comm_
const double * PsiBndry(uint64_t bndry_map, unsigned int angle_num, uint64_t cell_local_id, unsigned int face_num, unsigned int fi, int g, size_t gs_ss_begin, bool surface_source_active) override
double * ReflectingPsiOutBoundBndry(uint64_t bndry_map, unsigned int angle_num, uint64_t cell_local_id, unsigned int face_num, unsigned int fi, size_t gs_ss_begin) override
AngleSetStatus FlushSendBuffers() override
bool ReceiveDelayedData() override
AAH_AngleSet(size_t id, size_t in_numgrps, size_t in_ref_subset, const SPDS &in_spds, std::shared_ptr< FLUDS > &in_fluds, std::vector< size_t > &angle_indices, std::map< uint64_t, std::shared_ptr< SweepBndry > > &sim_boundaries, int sweep_eager_limit, const chi::ChiMPICommunicatorSet &in_comm_set)
void ResetSweepBuffers() override
std::map< uint64_t, SweepBndryPtr > & ref_boundaries_
const size_t ref_group_subset_
const std::vector< size_t > angles_
virtual void Sweep(AngleSet &angle_set)