Class AAH_FLUDS

Inheritance Relationships

Base Type

Class Documentation

class AAH_FLUDS : public opensn::FLUDS

Implementation of the Adams-Adams-Hawkins Flux data structure.

Public Functions

AAH_FLUDS(size_t num_groups, size_t num_angles, const AAH_FLUDSCommonData &common_data)

This constructor initializes an auxiliary FLUDS based on a primary FLUDS. The restriction here is that the auxiliary FLUDS has the exact same sweep ordering as the primary FLUDS.

double *OutgoingPsi(int cell_so_index, int outb_face_counter, int face_dof, int n)

Given a sweep ordering index, the outgoing face counter, the outgoing face dof, this function computes the location of this position’s upwind psi in the local upwind psi vector and returns a reference to it.

double *UpwindPsi(int cell_so_index, int inc_face_counter, int face_dof, int g, int n)

Given a sweep ordering index, the incoming face counter, the incoming face dof, this function computes the location where to store this position’s outgoing psi and returns a reference to it.

double *NLOutgoingPsi(int outb_face_count, int face_dof, int n)

Given a outbound face counter this method returns a pointer to the location.

double *NLUpwindPsi(int nonl_inc_face_counter, int face_dof, int g, int n)

Given a sweep ordering index, the incoming face counter, the incoming face dof, this function computes the location where to obtain the position’s upwind psi.

size_t GetPrelocIFaceDOFCount(int prelocI) const
size_t GetDelayedPrelocIFaceDOFCount(int prelocI) const
size_t GetDeplocIFaceDOFCount(int deplocI) const
virtual void ClearLocalAndReceivePsi() override
virtual void ClearSendPsi() override
virtual void AllocateInternalLocalPsi(size_t num_grps, size_t num_angles) override
virtual void AllocateOutgoingPsi(size_t num_grps, size_t num_angles, size_t num_loc_sucs) override
virtual void AllocateDelayedLocalPsi(size_t num_grps, size_t num_angles) override
virtual void AllocatePrelocIOutgoingPsi(size_t num_grps, size_t num_angles, size_t num_loc_deps) override
virtual void AllocateDelayedPrelocIOutgoingPsi(size_t num_grps, size_t num_angles, size_t num_loc_deps) override
virtual std::vector<double> &DelayedLocalPsi() override
virtual std::vector<double> &DelayedLocalPsiOld() override
virtual std::vector<std::vector<double>> &DeplocIOutgoingPsi() override
virtual std::vector<std::vector<double>> &PrelocIOutgoingPsi() override
virtual std::vector<std::vector<double>> &DelayedPrelocIOutgoingPsi() override
virtual std::vector<std::vector<double>> &DelayedPrelocIOutgoingPsiOld() override