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() override
virtual void AllocateOutgoingPsi() override
virtual void AllocateDelayedLocalPsi() override
virtual void AllocatePrelocIOutgoingPsi() override
virtual void AllocateDelayedPrelocIOutgoingPsi() override
virtual void SetDelayedOutgoingPsiOldToNew() override
virtual void SetDelayedOutgoingPsiNewToOld() override
virtual void SetDelayedLocalPsiOldToNew() override
virtual void SetDelayedLocalPsiNewToOld() override