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

#include <AAH_FLUDSCommonData.h>

Inheritance diagram for chi_mesh::sweep_management::AAH_FLUDSCommonData:
chi_mesh::sweep_management::FLUDSCommonData

Data Structures

struct  INCOMING_FACE_INFO
 

Public Member Functions

 AAH_FLUDSCommonData (const std::vector< CellFaceNodalMapping > &grid_nodal_mappings, const SPDS &spds, const chi_mesh::GridFaceHistogram &grid_face_histogram)
 
- Public Member Functions inherited from chi_mesh::sweep_management::FLUDSCommonData
 FLUDSCommonData (const SPDS &spds, const std::vector< CellFaceNodalMapping > &grid_nodal_mappings)
 
virtual ~FLUDSCommonData ()=default
 
const SPDSGetSPDS () const
 
const FaceNodalMappingGetFaceNodalMapping (uint64_t cell_local_id, unsigned int face_id) const
 

Protected Attributes

int largest_face = 0
 
size_t num_face_categories = 0
 
std::vector< size_t > local_psi_stride
 
std::vector< size_t > local_psi_max_elements
 
size_t delayed_local_psi_stride = 0
 
size_t delayed_local_psi_max_elements = 0
 
std::vector< size_t > local_psi_n_block_stride
 
std::vector< size_t > local_psi_Gn_block_strideG
 
size_t delayed_local_psi_Gn_block_stride = 0
 
size_t delayed_local_psi_Gn_block_strideG = 0
 
std::vector< int > boundary_dependencies
 
std::vector< int > deplocI_face_dof_count
 
std::vector< std::vector< CompactCellView > > deplocI_cell_views
 
std::vector< int * > so_cell_outb_face_slot_indices
 
std::vector< short * > so_cell_outb_face_face_category
 
std::vector< short * > so_cell_inco_face_face_category
 
- Protected Attributes inherited from chi_mesh::sweep_management::FLUDSCommonData
const SPDSspds_
 
const std::vector< CellFaceNodalMapping > & grid_nodal_mappings_
 

Private Member Functions

void InitializeAlphaElements (const SPDS &spds, const GridFaceHistogram &grid_face_histogram)
 
void SlotDynamics (const chi_mesh::Cell &cell, const SPDS &spds, const GridFaceHistogram &grid_face_histogram, std::vector< std::vector< std::pair< int, short > > > &lock_boxes, std::vector< std::pair< int, short > > &delayed_lock_box, std::set< int > &location_boundary_dependency_set)
 
void AddFaceViewToDepLocI (int deplocI, int cell_g_index, int face_slot, const chi_mesh::CellFace &face)
 
void LocalIncidentMapping (const chi_mesh::Cell &cell, const SPDS &spds, std::vector< int > &local_so_cell_mapping)
 
void InitializeBetaElements (const SPDS &spds, int tag_index=0)
 
void NonLocalIncidentMapping (const chi_mesh::Cell &cell, const SPDS &spds)
 

Static Private Member Functions

static void SerializeCellInfo (std::vector< CompactCellView > &cell_views, std::vector< int > &face_indices, int num_face_dofs)
 
static void DeSerializeCellInfo (std::vector< CompactCellView > &cell_views, std::vector< int > *face_indices, int &num_face_dofs)
 

Private Attributes

std::vector< INCOMING_FACE_INFO * > so_cell_inco_face_dof_indices
 
std::vector< std::pair< int, int > > nonlocal_outb_face_deplocI_slot
 
std::vector< std::vector< CompactCellView > > prelocI_cell_views
 
std::vector< std::vector< CompactCellView > > delayed_prelocI_cell_views
 
std::vector< int > prelocI_face_dof_count
 
std::vector< int > delayed_prelocI_face_dof_count
 
std::vector< std::pair< int, std::pair< int, std::vector< int > > > > nonlocal_inc_face_prelocI_slot_dof
 
std::vector< std::pair< int, std::pair< int, std::vector< int > > > > delayed_nonlocal_inc_face_prelocI_slot_dof
 

Friends

class AAH_FLUDS
 

Detailed Description

Definition at line 27 of file AAH_FLUDSCommonData.h.

Constructor & Destructor Documentation

◆ AAH_FLUDSCommonData()

chi_mesh::sweep_management::AAH_FLUDSCommonData::AAH_FLUDSCommonData ( const std::vector< CellFaceNodalMapping > &  grid_nodal_mappings,
const SPDS spds,
const chi_mesh::GridFaceHistogram grid_face_histogram 
)
explicit

Definition at line 6 of file AAH_FLUDSCommonData.cc.

Member Function Documentation

◆ AddFaceViewToDepLocI()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::AddFaceViewToDepLocI ( int  deplocI,
int  cell_g_index,
int  face_slot,
const chi_mesh::CellFace face 
)
private

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.

Definition at line 261 of file AAH_FLUDSCommonData_00a_slotdynamics.cc.

◆ DeSerializeCellInfo()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::DeSerializeCellInfo ( std::vector< CompactCellView > &  cell_views,
std::vector< int > *  face_indices,
int &  num_face_dofs 
)
staticprivate

Deserializes face indices.

Definition at line 54 of file AAH_FLUDSCommonData_01a_serial.cc.

◆ InitializeAlphaElements()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::InitializeAlphaElements ( const SPDS spds,
const GridFaceHistogram grid_face_histogram 
)
private

Definition at line 15 of file AAH_FLUDSCommonData_00_alphapass.cc.

◆ InitializeBetaElements()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::InitializeBetaElements ( const SPDS spds,
int  tag_index = 0 
)
private

Definition at line 13 of file AAH_FLUDSCommonData_01_betapass.cc.

◆ LocalIncidentMapping()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::LocalIncidentMapping ( const chi_mesh::Cell cell,
const SPDS spds,
std::vector< int > &  local_so_cell_mapping 
)
private

Definition at line 9 of file AAH_FLUDSCommonData_00b_local_inc_mapping.cc.

◆ NonLocalIncidentMapping()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::NonLocalIncidentMapping ( const chi_mesh::Cell cell,
const SPDS spds 
)
private

◆ SerializeCellInfo()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::SerializeCellInfo ( std::vector< CompactCellView > &  cell_views,
std::vector< int > &  face_indices,
int  num_face_dofs 
)
staticprivate

This cell takes a hierarchy of a cell compact view and serializes it for MPI transmission. This is easy since all the values are integers.

Definition at line 10 of file AAH_FLUDSCommonData_01a_serial.cc.

◆ SlotDynamics()

void chi_mesh::sweep_management::AAH_FLUDSCommonData::SlotDynamics ( const chi_mesh::Cell cell,
const SPDS spds,
const GridFaceHistogram grid_face_histogram,
std::vector< std::vector< std::pair< int, short > > > &  lock_boxes,
std::vector< std::pair< int, short > > &  delayed_lock_box,
std::set< int > &  location_boundary_dependency_set 
)
private

Definition at line 14 of file AAH_FLUDSCommonData_00a_slotdynamics.cc.

Friends And Related Function Documentation

◆ AAH_FLUDS

friend class AAH_FLUDS
friend

Definition at line 51 of file AAH_FLUDSCommonData.h.

Field Documentation

◆ boundary_dependencies

std::vector<int> chi_mesh::sweep_management::AAH_FLUDSCommonData::boundary_dependencies
protected

Definition at line 68 of file AAH_FLUDSCommonData.h.

◆ delayed_local_psi_Gn_block_stride

size_t chi_mesh::sweep_management::AAH_FLUDSCommonData::delayed_local_psi_Gn_block_stride = 0
protected

Definition at line 64 of file AAH_FLUDSCommonData.h.

◆ delayed_local_psi_Gn_block_strideG

size_t chi_mesh::sweep_management::AAH_FLUDSCommonData::delayed_local_psi_Gn_block_strideG = 0
protected

Definition at line 65 of file AAH_FLUDSCommonData.h.

◆ delayed_local_psi_max_elements

size_t chi_mesh::sweep_management::AAH_FLUDSCommonData::delayed_local_psi_max_elements = 0
protected

Definition at line 57 of file AAH_FLUDSCommonData.h.

◆ delayed_local_psi_stride

size_t chi_mesh::sweep_management::AAH_FLUDSCommonData::delayed_local_psi_stride = 0
protected

Definition at line 56 of file AAH_FLUDSCommonData.h.

◆ delayed_nonlocal_inc_face_prelocI_slot_dof

std::vector<std::pair<int, std::pair<int, std::vector<int> > > > chi_mesh::sweep_management::AAH_FLUDSCommonData::delayed_nonlocal_inc_face_prelocI_slot_dof
private

Definition at line 135 of file AAH_FLUDSCommonData.h.

◆ delayed_prelocI_cell_views

std::vector<std::vector<CompactCellView> > chi_mesh::sweep_management::AAH_FLUDSCommonData::delayed_prelocI_cell_views
private

Definition at line 120 of file AAH_FLUDSCommonData.h.

◆ delayed_prelocI_face_dof_count

std::vector<int> chi_mesh::sweep_management::AAH_FLUDSCommonData::delayed_prelocI_face_dof_count
private

Definition at line 125 of file AAH_FLUDSCommonData.h.

◆ deplocI_cell_views

std::vector<std::vector<CompactCellView> > chi_mesh::sweep_management::AAH_FLUDSCommonData::deplocI_cell_views
protected

Definition at line 82 of file AAH_FLUDSCommonData.h.

◆ deplocI_face_dof_count

std::vector<int> chi_mesh::sweep_management::AAH_FLUDSCommonData::deplocI_face_dof_count
protected

Definition at line 72 of file AAH_FLUDSCommonData.h.

◆ largest_face

int chi_mesh::sweep_management::AAH_FLUDSCommonData::largest_face = 0
protected

Definition at line 52 of file AAH_FLUDSCommonData.h.

◆ local_psi_Gn_block_strideG

std::vector<size_t> chi_mesh::sweep_management::AAH_FLUDSCommonData::local_psi_Gn_block_strideG
protected

Definition at line 63 of file AAH_FLUDSCommonData.h.

◆ local_psi_max_elements

std::vector<size_t> chi_mesh::sweep_management::AAH_FLUDSCommonData::local_psi_max_elements
protected

Definition at line 55 of file AAH_FLUDSCommonData.h.

◆ local_psi_n_block_stride

std::vector<size_t> chi_mesh::sweep_management::AAH_FLUDSCommonData::local_psi_n_block_stride
protected

Definition at line 62 of file AAH_FLUDSCommonData.h.

◆ local_psi_stride

std::vector<size_t> chi_mesh::sweep_management::AAH_FLUDSCommonData::local_psi_stride
protected

Definition at line 54 of file AAH_FLUDSCommonData.h.

◆ nonlocal_inc_face_prelocI_slot_dof

std::vector<std::pair<int, std::pair<int, std::vector<int> > > > chi_mesh::sweep_management::AAH_FLUDSCommonData::nonlocal_inc_face_prelocI_slot_dof
private

Definition at line 132 of file AAH_FLUDSCommonData.h.

◆ nonlocal_outb_face_deplocI_slot

std::vector<std::pair<int, int> > chi_mesh::sweep_management::AAH_FLUDSCommonData::nonlocal_outb_face_deplocI_slot
private

Definition at line 108 of file AAH_FLUDSCommonData.h.

◆ num_face_categories

size_t chi_mesh::sweep_management::AAH_FLUDSCommonData::num_face_categories = 0
protected

Definition at line 53 of file AAH_FLUDSCommonData.h.

◆ prelocI_cell_views

std::vector<std::vector<CompactCellView> > chi_mesh::sweep_management::AAH_FLUDSCommonData::prelocI_cell_views
private

Definition at line 119 of file AAH_FLUDSCommonData.h.

◆ prelocI_face_dof_count

std::vector<int> chi_mesh::sweep_management::AAH_FLUDSCommonData::prelocI_face_dof_count
private

Definition at line 124 of file AAH_FLUDSCommonData.h.

◆ so_cell_inco_face_dof_indices

std::vector<INCOMING_FACE_INFO*> chi_mesh::sweep_management::AAH_FLUDSCommonData::so_cell_inco_face_dof_indices
private

Definition at line 104 of file AAH_FLUDSCommonData.h.

◆ so_cell_inco_face_face_category

std::vector<short*> chi_mesh::sweep_management::AAH_FLUDSCommonData::so_cell_inco_face_face_category
protected

Definition at line 97 of file AAH_FLUDSCommonData.h.

◆ so_cell_outb_face_face_category

std::vector<short*> chi_mesh::sweep_management::AAH_FLUDSCommonData::so_cell_outb_face_face_category
protected

Definition at line 92 of file AAH_FLUDSCommonData.h.

◆ so_cell_outb_face_slot_indices

std::vector<int*> chi_mesh::sweep_management::AAH_FLUDSCommonData::so_cell_outb_face_slot_indices
protected

Definition at line 87 of file AAH_FLUDSCommonData.h.


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