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

#include <SPDS.h>

Inheritance diagram for chi_mesh::sweep_management::SPDS:
chi_mesh::sweep_management::SPDS_AdamsAdamsHawkins lbs::CBC_SPDS

Public Types

typedef std::vector< int > VecInt
 

Public Member Functions

 SPDS (const chi_mesh::Vector3 &in_omega, const chi_mesh::MeshContinuum &in_grid, bool verbose)
 
const chi_mesh::MeshContinuumGrid () const
 
const chi_mesh::Vector3Omega () const
 
const SPLSGetSPLS () const
 
const VecIntGetLocationDependencies () const
 
const VecIntGetLocationSuccessors () const
 
const VecIntGetDelayedLocationDependencies () const
 
const VecIntGetDelayedLocationSuccessors () const
 
const std::vector< std::pair< int, int > > & GetLocalCyclicDependencies () const
 
const std::vector< std::vector< FaceOrientation > > & CellFaceOrientations () const
 
int MapLocJToPrelocI (int locJ) const
 
int MapLocJToDeplocI (int locJ) const
 
virtual ~SPDS ()=default
 

Protected Member Functions

void PopulateCellRelationships (const chi_mesh::Vector3 &omega, std::set< int > &location_dependencies, std::set< int > &location_successors, std::vector< std::set< std::pair< int, double > > > &cell_successors)
 
void PrintedGhostedGraph () const
 

Protected Attributes

chi_mesh::Vector3 omega_
 
const chi_mesh::MeshContinuumgrid_
 
SPLS spls_
 
std::vector< int > location_dependencies_
 
std::vector< int > location_successors_
 
std::vector< int > delayed_location_dependencies_
 
std::vector< int > delayed_location_successors_
 
std::vector< std::pair< int, int > > local_cyclic_dependencies_
 
std::vector< std::vector< FaceOrientation > > cell_face_orientations_
 
bool verbose_ = false
 

Detailed Description

Contains multiple levels

Definition at line 14 of file SPDS.h.

Member Typedef Documentation

◆ VecInt

typedef std::vector<int> chi_mesh::sweep_management::SPDS::VecInt

Definition at line 28 of file SPDS.h.

Constructor & Destructor Documentation

◆ SPDS()

chi_mesh::sweep_management::SPDS::SPDS ( const chi_mesh::Vector3 in_omega,
const chi_mesh::MeshContinuum in_grid,
bool  verbose 
)
inline

Definition at line 17 of file SPDS.h.

◆ ~SPDS()

virtual chi_mesh::sweep_management::SPDS::~SPDS ( )
virtualdefault

Member Function Documentation

◆ CellFaceOrientations()

const std::vector< std::vector< FaceOrientation > > & chi_mesh::sweep_management::SPDS::CellFaceOrientations ( ) const
inline

Definition at line 46 of file SPDS.h.

◆ GetDelayedLocationDependencies()

const VecInt & chi_mesh::sweep_management::SPDS::GetDelayedLocationDependencies ( ) const
inline

Definition at line 34 of file SPDS.h.

◆ GetDelayedLocationSuccessors()

const VecInt & chi_mesh::sweep_management::SPDS::GetDelayedLocationSuccessors ( ) const
inline

Definition at line 38 of file SPDS.h.

◆ GetLocalCyclicDependencies()

const std::vector< std::pair< int, int > > & chi_mesh::sweep_management::SPDS::GetLocalCyclicDependencies ( ) const
inline

Definition at line 42 of file SPDS.h.

◆ GetLocationDependencies()

const VecInt & chi_mesh::sweep_management::SPDS::GetLocationDependencies ( ) const
inline

Definition at line 29 of file SPDS.h.

◆ GetLocationSuccessors()

const VecInt & chi_mesh::sweep_management::SPDS::GetLocationSuccessors ( ) const
inline

Definition at line 33 of file SPDS.h.

◆ GetSPLS()

const SPLS & chi_mesh::sweep_management::SPDS::GetSPLS ( ) const
inline

Definition at line 26 of file SPDS.h.

◆ Grid()

const chi_mesh::MeshContinuum & chi_mesh::sweep_management::SPDS::Grid ( ) const
inline

Definition at line 24 of file SPDS.h.

◆ MapLocJToDeplocI()

int chi_mesh::sweep_management::SPDS::MapLocJToDeplocI ( int  locJ) const

Given a location J index, maps to a dependent location.

Definition at line 36 of file SPDS.cc.

◆ MapLocJToPrelocI()

int chi_mesh::sweep_management::SPDS::MapLocJToPrelocI ( int  locJ) const

Given a location J index, maps to a predecessor location.

Definition at line 16 of file SPDS.cc.

◆ Omega()

const chi_mesh::Vector3 & chi_mesh::sweep_management::SPDS::Omega ( ) const
inline

Definition at line 25 of file SPDS.h.

◆ PopulateCellRelationships()

void chi_mesh::sweep_management::SPDS::PopulateCellRelationships ( const chi_mesh::Vector3 omega,
std::set< int > &  location_dependencies,
std::set< int > &  location_successors,
std::vector< std::set< std::pair< int, double > > > &  cell_successors 
)
protected

Populates cell relationships and cell_face_orientations.

Populates cell relationships

Definition at line 51 of file SPDS.cc.

◆ PrintedGhostedGraph()

void chi_mesh::sweep_management::SPDS::PrintedGhostedGraph ( ) const
protected

Definition at line 179 of file SPDS.cc.

Field Documentation

◆ cell_face_orientations_

std::vector<std::vector<FaceOrientation> > chi_mesh::sweep_management::SPDS::cell_face_orientations_
protected

Definition at line 70 of file SPDS.h.

◆ delayed_location_dependencies_

std::vector<int> chi_mesh::sweep_management::SPDS::delayed_location_dependencies_
protected

Definition at line 65 of file SPDS.h.

◆ delayed_location_successors_

std::vector<int> chi_mesh::sweep_management::SPDS::delayed_location_successors_
protected

Definition at line 66 of file SPDS.h.

◆ grid_

const chi_mesh::MeshContinuum& chi_mesh::sweep_management::SPDS::grid_
protected

Definition at line 59 of file SPDS.h.

◆ local_cyclic_dependencies_

std::vector<std::pair<int, int> > chi_mesh::sweep_management::SPDS::local_cyclic_dependencies_
protected

Definition at line 68 of file SPDS.h.

◆ location_dependencies_

std::vector<int> chi_mesh::sweep_management::SPDS::location_dependencies_
protected

Definition at line 63 of file SPDS.h.

◆ location_successors_

std::vector<int> chi_mesh::sweep_management::SPDS::location_successors_
protected

Definition at line 64 of file SPDS.h.

◆ omega_

chi_mesh::Vector3 chi_mesh::sweep_management::SPDS::omega_
protected

Definition at line 57 of file SPDS.h.

◆ spls_

SPLS chi_mesh::sweep_management::SPDS::spls_
protected

Definition at line 61 of file SPDS.h.

◆ verbose_

bool chi_mesh::sweep_management::SPDS::verbose_ = false
protected

Definition at line 72 of file SPDS.h.


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