Chi-Tech
AAH_AngleSet.h
Go to the documentation of this file.
1#ifndef CHITECH_AAH_ANGLESET_H
2#define CHITECH_AAH_ANGLESET_H
3
4#include "AngleSet.h"
5
7{
8
9// ###################################################################
10/**Manages the workstages of a single angle set.*/
11class AAH_AngleSet : public AngleSet
12{
13public:
14 AAH_AngleSet(size_t id,
15 size_t in_numgrps,
16 size_t in_ref_subset,
17 const SPDS& in_spds,
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,
22 const chi::ChiMPICommunicatorSet& in_comm_set);
23
24 void InitializeDelayedUpstreamData() override;
25
26 int GetMaxBufferMessages() const override;
27
28 void SetMaxBufferMessages(int new_max) override;
29
31 SweepChunk& sweep_chunk,
32 const std::vector<size_t>& timing_tags,
33 ExecutionPermission permission) override;
35 void ResetSweepBuffers() override;
36 bool ReceiveDelayedData() override;
37
38 const double* PsiBndry(uint64_t bndry_map,
39 unsigned int angle_num,
40 uint64_t cell_local_id,
41 unsigned int face_num,
42 unsigned int fi,
43 int g,
44 size_t gs_ss_begin,
45 bool surface_source_active) override;
46 double* ReflectingPsiOutBoundBndry(uint64_t bndry_map,
47 unsigned int angle_num,
48 uint64_t cell_local_id,
49 unsigned int face_num,
50 unsigned int fi,
51 size_t gs_ss_begin) override;
52
53protected:
55};
56
57}
58
59#endif // CHITECH_AAH_ANGLESET_H
AngleSetStatus AngleSetAdvance(SweepChunk &sweep_chunk, const std::vector< size_t > &timing_tags, ExecutionPermission permission) override
Definition: AAH_AngleSet.cc:46
void SetMaxBufferMessages(int new_max) override
chi_mesh::sweep_management::AAH_ASynchronousCommunicator async_comm_
Definition: AAH_AngleSet.h:54
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
Definition: AAH_AngleSet.cc:97
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)
Definition: AAH_AngleSet.cc:13