Chi-Tech
lbs::CBC_FLUDS Class Reference

#include <CBC_FLUDS.h>

Inheritance diagram for lbs::CBC_FLUDS:
chi_mesh::sweep_management::FLUDS

Public Types

typedef std::pair< uint64_t, unsigned int > CellFaceKey
 

Public Member Functions

 CBC_FLUDS (size_t num_groups, size_t num_angles, const CBC_FLUDSCommonData &common_data, std::vector< double > &local_psi_data, const chi_math::UnknownManager &psi_uk_man, const chi_math::SpatialDiscretization &sdm)
 
const chi_mesh::sweep_management::FLUDSCommonDataCommonData () const
 
const std::vector< double > & GetLocalUpwindDataBlock () const
 
const double * GetLocalCellUpwindPsi (const std::vector< double > &psi_data_block, const chi_mesh::Cell &cell)
 
const std::vector< double > & GetNonLocalUpwindData (uint64_t cell_global_id, unsigned int face_id) const
 
const double * GetNonLocalUpwindPsi (const std::vector< double > &psi_data, unsigned int face_node_mapped, unsigned int angle_set_index)
 
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
 
std::map< CellFaceKey, std::vector< double > > & DeplocsOutgoingMessages ()
 
- 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 CBC_FLUDSCommonDatacommon_data_
 
std::reference_wrapper< std::vector< double > > local_psi_data_
 
const chi_math::UnknownManagerpsi_uk_man_
 
const chi_math::SpatialDiscretizationsdm_
 
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_
 
std::map< CellFaceKey, std::vector< double > > deplocs_outgoing_messages_
 

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

Definition at line 24 of file CBC_FLUDS.h.

Member Typedef Documentation

◆ CellFaceKey

typedef std::pair<uint64_t, unsigned int> lbs::CBC_FLUDS::CellFaceKey

Definition at line 99 of file CBC_FLUDS.h.

Constructor & Destructor Documentation

◆ CBC_FLUDS()

lbs::CBC_FLUDS::CBC_FLUDS ( size_t  num_groups,
size_t  num_angles,
const CBC_FLUDSCommonData common_data,
std::vector< double > &  local_psi_data,
const chi_math::UnknownManager psi_uk_man,
const chi_math::SpatialDiscretization sdm 
)

Definition at line 10 of file CBC_FLUDS.cc.

Member Function Documentation

◆ AllocateDelayedLocalPsi()

void lbs::CBC_FLUDS::AllocateDelayedLocalPsi ( size_t  num_grps,
size_t  num_angles 
)
inlineoverridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 60 of file CBC_FLUDS.h.

◆ AllocateDelayedPrelocIOutgoingPsi()

void lbs::CBC_FLUDS::AllocateDelayedPrelocIOutgoingPsi ( size_t  num_grps,
size_t  num_angles,
size_t  num_loc_deps 
)
inlineoverridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 66 of file CBC_FLUDS.h.

◆ AllocateInternalLocalPsi()

void lbs::CBC_FLUDS::AllocateInternalLocalPsi ( size_t  num_grps,
size_t  num_angles 
)
inlineoverridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 53 of file CBC_FLUDS.h.

◆ AllocateOutgoingPsi()

void lbs::CBC_FLUDS::AllocateOutgoingPsi ( size_t  num_grps,
size_t  num_angles,
size_t  num_loc_sucs 
)
inlineoverridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 54 of file CBC_FLUDS.h.

◆ AllocatePrelocIOutgoingPsi()

void lbs::CBC_FLUDS::AllocatePrelocIOutgoingPsi ( size_t  num_grps,
size_t  num_angles,
size_t  num_loc_deps 
)
inlineoverridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 61 of file CBC_FLUDS.h.

◆ ClearLocalAndReceivePsi()

void lbs::CBC_FLUDS::ClearLocalAndReceivePsi ( )
inlineoverridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 48 of file CBC_FLUDS.h.

◆ ClearSendPsi()

void lbs::CBC_FLUDS::ClearSendPsi ( )
inlineoverridevirtual

Reimplemented from chi_mesh::sweep_management::FLUDS.

Definition at line 52 of file CBC_FLUDS.h.

◆ CommonData()

const chi_mesh::sweep_management::FLUDSCommonData & lbs::CBC_FLUDS::CommonData ( ) const

Definition at line 25 of file CBC_FLUDS.cc.

◆ DelayedLocalPsi()

std::vector< double > & lbs::CBC_FLUDS::DelayedLocalPsi ( )
inlineoverridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 72 of file CBC_FLUDS.h.

◆ DelayedLocalPsiOld()

std::vector< double > & lbs::CBC_FLUDS::DelayedLocalPsiOld ( )
inlineoverridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 73 of file CBC_FLUDS.h.

◆ DelayedPrelocIOutgoingPsi()

std::vector< std::vector< double > > & lbs::CBC_FLUDS::DelayedPrelocIOutgoingPsi ( )
inlineoverridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 88 of file CBC_FLUDS.h.

◆ DelayedPrelocIOutgoingPsiOld()

std::vector< std::vector< double > > & lbs::CBC_FLUDS::DelayedPrelocIOutgoingPsiOld ( )
inlineoverridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 92 of file CBC_FLUDS.h.

◆ DeplocIOutgoingPsi()

std::vector< std::vector< double > > & lbs::CBC_FLUDS::DeplocIOutgoingPsi ( )
inlineoverridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 78 of file CBC_FLUDS.h.

◆ DeplocsOutgoingMessages()

std::map< CellFaceKey, std::vector< double > > & lbs::CBC_FLUDS::DeplocsOutgoingMessages ( )
inline

Definition at line 101 of file CBC_FLUDS.h.

◆ GetLocalCellUpwindPsi()

const double * lbs::CBC_FLUDS::GetLocalCellUpwindPsi ( const std::vector< double > &  psi_data_block,
const chi_mesh::Cell cell 
)

Definition at line 36 of file CBC_FLUDS.cc.

◆ GetLocalUpwindDataBlock()

const std::vector< double > & lbs::CBC_FLUDS::GetLocalUpwindDataBlock ( ) const

Definition at line 30 of file CBC_FLUDS.cc.

◆ GetNonLocalUpwindData()

const std::vector< double > & lbs::CBC_FLUDS::GetNonLocalUpwindData ( uint64_t  cell_global_id,
unsigned int  face_id 
) const

Definition at line 46 of file CBC_FLUDS.cc.

◆ GetNonLocalUpwindPsi()

const double * lbs::CBC_FLUDS::GetNonLocalUpwindPsi ( const std::vector< double > &  psi_data,
unsigned int  face_node_mapped,
unsigned int  angle_set_index 
)

Definition at line 53 of file CBC_FLUDS.cc.

◆ PrelocIOutgoingPsi()

std::vector< std::vector< double > > & lbs::CBC_FLUDS::PrelocIOutgoingPsi ( )
inlineoverridevirtual

Implements chi_mesh::sweep_management::FLUDS.

Definition at line 83 of file CBC_FLUDS.h.

Field Documentation

◆ boundryI_incoming_psi_

std::vector<std::vector<double> > lbs::CBC_FLUDS::boundryI_incoming_psi_
private

Definition at line 116 of file CBC_FLUDS.h.

◆ common_data_

const CBC_FLUDSCommonData& lbs::CBC_FLUDS::common_data_
private

Definition at line 107 of file CBC_FLUDS.h.

◆ delayed_local_psi_

std::vector<double> lbs::CBC_FLUDS::delayed_local_psi_
private

Definition at line 112 of file CBC_FLUDS.h.

◆ delayed_local_psi_old_

std::vector<double> lbs::CBC_FLUDS::delayed_local_psi_old_
private

Definition at line 113 of file CBC_FLUDS.h.

◆ delayed_prelocI_outgoing_psi_

std::vector<std::vector<double> > lbs::CBC_FLUDS::delayed_prelocI_outgoing_psi_
private

Definition at line 118 of file CBC_FLUDS.h.

◆ delayed_prelocI_outgoing_psi_old_

std::vector<std::vector<double> > lbs::CBC_FLUDS::delayed_prelocI_outgoing_psi_old_
private

Definition at line 119 of file CBC_FLUDS.h.

◆ deplocI_outgoing_psi_

std::vector<std::vector<double> > lbs::CBC_FLUDS::deplocI_outgoing_psi_
private

Definition at line 114 of file CBC_FLUDS.h.

◆ deplocs_outgoing_messages_

std::map<CellFaceKey, std::vector<double> > lbs::CBC_FLUDS::deplocs_outgoing_messages_
private

Definition at line 121 of file CBC_FLUDS.h.

◆ local_psi_data_

std::reference_wrapper<std::vector<double> > lbs::CBC_FLUDS::local_psi_data_
private

Definition at line 108 of file CBC_FLUDS.h.

◆ prelocI_outgoing_psi_

std::vector<std::vector<double> > lbs::CBC_FLUDS::prelocI_outgoing_psi_
private

Definition at line 115 of file CBC_FLUDS.h.

◆ psi_uk_man_

const chi_math::UnknownManager& lbs::CBC_FLUDS::psi_uk_man_
private

Definition at line 109 of file CBC_FLUDS.h.

◆ sdm_

const chi_math::SpatialDiscretization& lbs::CBC_FLUDS::sdm_
private

Definition at line 110 of file CBC_FLUDS.h.


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