Chi-Tech
chi_mesh::sweep_management::AAH_FLUDS Class Reference

#include <AAH_FLUDS.h>

Inheritance diagram for chi_mesh::sweep_management::AAH_FLUDS:
chi_mesh::sweep_management::FLUDS

Public Member Functions

 AAH_FLUDS (size_t num_groups, size_t num_angles, const AAH_FLUDSCommonData &common_data)
 
double * OutgoingPsi (int cell_so_index, int outb_face_counter, int face_dof, int n)
 
double * UpwindPsi (int cell_so_index, int inc_face_counter, int face_dof, int g, int n)
 
double * NLOutgoingPsi (int outb_face_count, int face_dof, int n)
 
double * NLUpwindPsi (int nonl_inc_face_counter, int face_dof, int g, int n)
 
size_t GetPrelocIFaceDOFCount (int prelocI) const
 
size_t GetDelayedPrelocIFaceDOFCount (int prelocI) const
 
size_t GetDeplocIFaceDOFCount (int deplocI) const
 
void ClearLocalAndReceivePsi () override
 
void ClearSendPsi () override
 
void AllocateInternalLocalPsi (size_t num_grps, size_t num_angles) override
 
void AllocateOutgoingPsi (size_t num_grps, size_t num_angles, size_t num_loc_sucs) override
 
void AllocateDelayedLocalPsi (size_t num_grps, size_t num_angles) override
 
void AllocatePrelocIOutgoingPsi (size_t num_grps, size_t num_angles, size_t num_loc_deps) override
 
void AllocateDelayedPrelocIOutgoingPsi (size_t num_grps, size_t num_angles, size_t num_loc_deps) override
 
std::vector< double > & DelayedLocalPsi () override
 
std::vector< double > & DelayedLocalPsiOld () override
 
std::vector< std::vector< double > > & DeplocIOutgoingPsi () override
 
std::vector< std::vector< double > > & PrelocIOutgoingPsi () override
 
std::vector< std::vector< double > > & DelayedPrelocIOutgoingPsi () override
 
std::vector< std::vector< double > > & DelayedPrelocIOutgoingPsiOld () override
 
- Public Member Functions inherited from chi_mesh::sweep_management::FLUDS
 FLUDS (size_t num_groups, size_t num_angles, const SPDS &spds)
 
const SPDSGetSPDS () const
 
virtual void ClearLocalAndReceivePsi ()
 
virtual void ClearSendPsi ()
 
virtual void AllocateInternalLocalPsi (size_t num_grps, size_t num_angles)
 
virtual void AllocateOutgoingPsi (size_t num_grps, size_t num_angles, size_t num_loc_sucs)
 
virtual void AllocateDelayedLocalPsi (size_t num_grps, size_t num_angles)
 
virtual void AllocatePrelocIOutgoingPsi (size_t num_grps, size_t num_angles, size_t num_loc_deps)
 
virtual void AllocateDelayedPrelocIOutgoingPsi (size_t num_grps, size_t num_angles, size_t num_loc_deps)
 
virtual std::vector< double > & DelayedLocalPsi ()=0
 
virtual std::vector< double > & DelayedLocalPsiOld ()=0
 
virtual std::vector< std::vector< double > > & DeplocIOutgoingPsi ()=0
 
virtual std::vector< std::vector< double > > & PrelocIOutgoingPsi ()=0
 
virtual std::vector< std::vector< double > > & DelayedPrelocIOutgoingPsi ()=0
 
virtual std::vector< std::vector< double > > & DelayedPrelocIOutgoingPsiOld ()=0
 
virtual ~FLUDS ()=default
 

Private Attributes

const AAH_FLUDSCommonDatacommon_data_
 
std::vector< size_t > local_psi_Gn_block_strideG
 
size_t delayed_local_psi_Gn_block_strideG
 
std::vector< std::vector< double > > local_psi_
 
std::vector< double > delayed_local_psi_
 
std::vector< double > delayed_local_psi_old_
 
std::vector< std::vector< double > > deplocI_outgoing_psi_
 
std::vector< std::vector< double > > prelocI_outgoing_psi_
 
std::vector< std::vector< double > > boundryI_incoming_psi_
 
std::vector< std::vector< double > > delayed_prelocI_outgoing_psi_
 
std::vector< std::vector< double > > delayed_prelocI_outgoing_psi_old_
 

Additional Inherited Members

- Protected Attributes inherited from chi_mesh::sweep_management::FLUDS
const size_t num_groups_
 
const size_t num_angles_
 
const size_t num_groups_and_angles_
 
const SPDSspds_
 

Detailed Description

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

Definition at line 12 of file AAH_FLUDS.h.

Constructor & Destructor Documentation

◆ AAH_FLUDS()

chi_mesh::sweep_management::AAH_FLUDS::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.

Definition at line 15 of file AAH_FLUDS.cc.

Member Function Documentation

◆ AllocateDelayedLocalPsi()

void chi_mesh::sweep_management::AAH_FLUDS::AllocateDelayedLocalPsi ( size_t  num_grps,
size_t  num_angles 
)
overridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 252 of file AAH_FLUDS.cc.

◆ AllocateDelayedPrelocIOutgoingPsi()

void chi_mesh::sweep_management::AAH_FLUDS::AllocateDelayedPrelocIOutgoingPsi ( size_t  num_grps,
size_t  num_angles,
size_t  num_loc_deps 
)
overridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 278 of file AAH_FLUDS.cc.

◆ AllocateInternalLocalPsi()

void chi_mesh::sweep_management::AAH_FLUDS::AllocateInternalLocalPsi ( size_t  num_grps,
size_t  num_angles 
)
overridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 226 of file AAH_FLUDS.cc.

◆ AllocateOutgoingPsi()

void chi_mesh::sweep_management::AAH_FLUDS::AllocateOutgoingPsi ( size_t  num_grps,
size_t  num_angles,
size_t  num_loc_sucs 
)
overridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 239 of file AAH_FLUDS.cc.

◆ AllocatePrelocIOutgoingPsi()

void chi_mesh::sweep_management::AAH_FLUDS::AllocatePrelocIOutgoingPsi ( size_t  num_grps,
size_t  num_angles,
size_t  num_loc_deps 
)
overridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 265 of file AAH_FLUDS.cc.

◆ ClearLocalAndReceivePsi()

void chi_mesh::sweep_management::AAH_FLUDS::ClearLocalAndReceivePsi ( )
overridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 215 of file AAH_FLUDS.cc.

◆ ClearSendPsi()

void chi_mesh::sweep_management::AAH_FLUDS::ClearSendPsi ( )
overridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 224 of file AAH_FLUDS.cc.

◆ DelayedLocalPsi()

std::vector< double > & chi_mesh::sweep_management::AAH_FLUDS::DelayedLocalPsi ( )
overridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 299 of file AAH_FLUDS.cc.

◆ DelayedLocalPsiOld()

std::vector< double > & chi_mesh::sweep_management::AAH_FLUDS::DelayedLocalPsiOld ( )
overridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 301 of file AAH_FLUDS.cc.

◆ DelayedPrelocIOutgoingPsi()

std::vector< std::vector< double > > & chi_mesh::sweep_management::AAH_FLUDS::DelayedPrelocIOutgoingPsi ( )
overridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 316 of file AAH_FLUDS.cc.

◆ DelayedPrelocIOutgoingPsiOld()

std::vector< std::vector< double > > & chi_mesh::sweep_management::AAH_FLUDS::DelayedPrelocIOutgoingPsiOld ( )
overridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 320 of file AAH_FLUDS.cc.

◆ DeplocIOutgoingPsi()

std::vector< std::vector< double > > & chi_mesh::sweep_management::AAH_FLUDS::DeplocIOutgoingPsi ( )
overridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 306 of file AAH_FLUDS.cc.

◆ GetDelayedPrelocIFaceDOFCount()

size_t chi_mesh::sweep_management::AAH_FLUDS::GetDelayedPrelocIFaceDOFCount ( int  prelocI) const

Definition at line 206 of file AAH_FLUDS.cc.

◆ GetDeplocIFaceDOFCount()

size_t chi_mesh::sweep_management::AAH_FLUDS::GetDeplocIFaceDOFCount ( int  deplocI) const

Definition at line 210 of file AAH_FLUDS.cc.

◆ GetPrelocIFaceDOFCount()

size_t chi_mesh::sweep_management::AAH_FLUDS::GetPrelocIFaceDOFCount ( int  prelocI) const

Definition at line 202 of file AAH_FLUDS.cc.

◆ NLOutgoingPsi()

double * chi_mesh::sweep_management::AAH_FLUDS::NLOutgoingPsi ( int  outb_face_counter,
int  face_dof,
int  n 
)

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

Definition at line 70 of file AAH_FLUDS.cc.

◆ NLUpwindPsi()

double * chi_mesh::sweep_management::AAH_FLUDS::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.

Definition at line 153 of file AAH_FLUDS.cc.

◆ OutgoingPsi()

double * chi_mesh::sweep_management::AAH_FLUDS::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.

Definition at line 34 of file AAH_FLUDS.cc.

◆ PrelocIOutgoingPsi()

std::vector< std::vector< double > > & chi_mesh::sweep_management::AAH_FLUDS::PrelocIOutgoingPsi ( )
overridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 311 of file AAH_FLUDS.cc.

◆ UpwindPsi()

double * chi_mesh::sweep_management::AAH_FLUDS::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.

Definition at line 107 of file AAH_FLUDS.cc.

Field Documentation

◆ boundryI_incoming_psi_

std::vector<std::vector<double> > chi_mesh::sweep_management::AAH_FLUDS::boundryI_incoming_psi_
private

Definition at line 34 of file AAH_FLUDS.h.

◆ common_data_

const AAH_FLUDSCommonData& chi_mesh::sweep_management::AAH_FLUDS::common_data_
private

Definition at line 20 of file AAH_FLUDS.h.

◆ delayed_local_psi_

std::vector<double> chi_mesh::sweep_management::AAH_FLUDS::delayed_local_psi_
private

Definition at line 30 of file AAH_FLUDS.h.

◆ delayed_local_psi_Gn_block_strideG

size_t chi_mesh::sweep_management::AAH_FLUDS::delayed_local_psi_Gn_block_strideG
private

Definition at line 27 of file AAH_FLUDS.h.

◆ delayed_local_psi_old_

std::vector<double> chi_mesh::sweep_management::AAH_FLUDS::delayed_local_psi_old_
private

Definition at line 31 of file AAH_FLUDS.h.

◆ delayed_prelocI_outgoing_psi_

std::vector<std::vector<double> > chi_mesh::sweep_management::AAH_FLUDS::delayed_prelocI_outgoing_psi_
private

Definition at line 36 of file AAH_FLUDS.h.

◆ delayed_prelocI_outgoing_psi_old_

std::vector<std::vector<double> > chi_mesh::sweep_management::AAH_FLUDS::delayed_prelocI_outgoing_psi_old_
private

Definition at line 37 of file AAH_FLUDS.h.

◆ deplocI_outgoing_psi_

std::vector<std::vector<double> > chi_mesh::sweep_management::AAH_FLUDS::deplocI_outgoing_psi_
private

Definition at line 32 of file AAH_FLUDS.h.

◆ local_psi_

std::vector<std::vector<double> > chi_mesh::sweep_management::AAH_FLUDS::local_psi_
private

Definition at line 29 of file AAH_FLUDS.h.

◆ local_psi_Gn_block_strideG

std::vector<size_t> chi_mesh::sweep_management::AAH_FLUDS::local_psi_Gn_block_strideG
private

Definition at line 25 of file AAH_FLUDS.h.

◆ prelocI_outgoing_psi_

std::vector<std::vector<double> > chi_mesh::sweep_management::AAH_FLUDS::prelocI_outgoing_psi_
private

Definition at line 33 of file AAH_FLUDS.h.


The documentation for this class was generated from the following files: