Class AAH_AngleSet

Inheritance Relationships

Base Type

Class Documentation

class AAH_AngleSet : public opensn::AngleSet

Manages the workstages of a single angle set.

Public Functions

AAH_AngleSet(size_t id, size_t num_groups, const SPDS &spds, std::shared_ptr<FLUDS> &fluds, std::vector<size_t> &angle_indices, std::map<uint64_t, std::shared_ptr<SweepBoundary>> &boundaries, int maximum_message_size, const MPICommunicatorSet &in_comm_set, bool use_gpu)
virtual void InitializeDelayedUpstreamData() override

Initializes delayed upstream data. This method gets called when a sweep scheduler is constructed.

virtual int GetMaxBufferMessages() const override

Returns the maximum buffer size from the sweepbuffer.

virtual void SetMaxBufferMessages(int count) override

Sets the maximum buffer size for the sweepbuffer.

virtual AngleSetStatus AngleSetAdvance(SweepChunk &sweep_chunk, AngleSetStatus permission) override

This function advances the work stages of an angleset.

virtual AngleSetStatus FlushSendBuffers() override
virtual void ResetSweepBuffers() override

Resets the sweep buffer.

virtual bool ReceiveDelayedData() override

Instructs the sweep buffer to receive delayed data.

virtual const double *PsiBoundary(uint64_t boundary_id, unsigned int angle_num, uint64_t cell_local_id, unsigned int face_num, unsigned int fi, int g, bool surface_source_active) override

Returns a pointer to a boundary flux data.

virtual double *PsiReflected(uint64_t boundary_id, unsigned int angle_num, uint64_t cell_local_id, unsigned int face_num, unsigned int fi) override

Returns a pointer to outbound reflected flux data.

Protected Attributes

AAH_ASynchronousCommunicator async_comm_