Chi-Tech
lbs::CellLBSView Class Reference

#include <lbs_structs.h>

Public Member Functions

 CellLBSView (size_t phi_address, int num_nodes, int num_groups, int num_moments, const chi_physics::MultiGroupXS &xs_mapping, double volume, const std::vector< bool > &face_local_flags, const std::vector< int > &face_locality, const std::vector< const chi_mesh::Cell * > &neighbor_cell_ptrs, bool cell_on_boundary)
 
size_t MapDOF (int node, int moment, int grp) const
 
const chi_physics::MultiGroupXSXS () const
 
bool IsFaceLocal (int f) const
 
int FaceLocality (int f) const
 
const chi_mesh::CellFaceNeighbor (int f) const
 
int NumNodes () const
 
double Volume () const
 
void ZeroOutflow ()
 
void ZeroOutflow (int g)
 
void AddOutflow (int g, double intS_mu_psi)
 
double GetOutflow (int g) const
 
void ReassingXS (const chi_physics::MultiGroupXS &xs_mapped)
 

Private Attributes

size_t phi_address_
 
int num_nodes_
 
int num_groups_
 
int num_grps_moms_
 
const chi_physics::MultiGroupXSxs_
 
double volume_
 
const std::vector< bool > face_local_flags_
 
const std::vector< int > face_locality_
 
const std::vector< const chi_mesh::Cell * > neighbor_cell_ptrs_
 
std::vector< double > outflow_
 

Detailed Description

Transport view of a cell

Definition at line 160 of file lbs_structs.h.

Constructor & Destructor Documentation

◆ CellLBSView()

lbs::CellLBSView::CellLBSView ( size_t  phi_address,
int  num_nodes,
int  num_groups,
int  num_moments,
const chi_physics::MultiGroupXS xs_mapping,
double  volume,
const std::vector< bool > &  face_local_flags,
const std::vector< int > &  face_locality,
const std::vector< const chi_mesh::Cell * > &  neighbor_cell_ptrs,
bool  cell_on_boundary 
)
inline

Definition at line 175 of file lbs_structs.h.

Member Function Documentation

◆ AddOutflow()

void lbs::CellLBSView::AddOutflow ( int  g,
double  intS_mu_psi 
)
inline

Definition at line 221 of file lbs_structs.h.

◆ FaceLocality()

int lbs::CellLBSView::FaceLocality ( int  f) const
inline

Definition at line 206 of file lbs_structs.h.

◆ FaceNeighbor()

const chi_mesh::Cell * lbs::CellLBSView::FaceNeighbor ( int  f) const
inline

Definition at line 207 of file lbs_structs.h.

◆ GetOutflow()

double lbs::CellLBSView::GetOutflow ( int  g) const
inline

Definition at line 226 of file lbs_structs.h.

◆ IsFaceLocal()

bool lbs::CellLBSView::IsFaceLocal ( int  f) const
inline

Definition at line 205 of file lbs_structs.h.

◆ MapDOF()

size_t lbs::CellLBSView::MapDOF ( int  node,
int  moment,
int  grp 
) const
inline

Definition at line 198 of file lbs_structs.h.

◆ NumNodes()

int lbs::CellLBSView::NumNodes ( ) const
inline

Definition at line 212 of file lbs_structs.h.

◆ ReassingXS()

void lbs::CellLBSView::ReassingXS ( const chi_physics::MultiGroupXS xs_mapped)
inline

Definition at line 233 of file lbs_structs.h.

◆ Volume()

double lbs::CellLBSView::Volume ( ) const
inline

Definition at line 214 of file lbs_structs.h.

◆ XS()

const chi_physics::MultiGroupXS & lbs::CellLBSView::XS ( ) const
inline

Definition at line 203 of file lbs_structs.h.

◆ ZeroOutflow() [1/2]

void lbs::CellLBSView::ZeroOutflow ( )
inline

Definition at line 216 of file lbs_structs.h.

◆ ZeroOutflow() [2/2]

void lbs::CellLBSView::ZeroOutflow ( int  g)
inline

Definition at line 217 of file lbs_structs.h.

Field Documentation

◆ face_local_flags_

const std::vector<bool> lbs::CellLBSView::face_local_flags_
private

Definition at line 169 of file lbs_structs.h.

◆ face_locality_

const std::vector<int> lbs::CellLBSView::face_locality_
private

Definition at line 170 of file lbs_structs.h.

◆ neighbor_cell_ptrs_

const std::vector<const chi_mesh::Cell*> lbs::CellLBSView::neighbor_cell_ptrs_
private

Definition at line 171 of file lbs_structs.h.

◆ num_groups_

int lbs::CellLBSView::num_groups_
private

Definition at line 165 of file lbs_structs.h.

◆ num_grps_moms_

int lbs::CellLBSView::num_grps_moms_
private

Definition at line 166 of file lbs_structs.h.

◆ num_nodes_

int lbs::CellLBSView::num_nodes_
private

Definition at line 164 of file lbs_structs.h.

◆ outflow_

std::vector<double> lbs::CellLBSView::outflow_
private

Definition at line 172 of file lbs_structs.h.

◆ phi_address_

size_t lbs::CellLBSView::phi_address_
private

Definition at line 163 of file lbs_structs.h.

◆ volume_

double lbs::CellLBSView::volume_
private

Definition at line 168 of file lbs_structs.h.

◆ xs_

const chi_physics::MultiGroupXS* lbs::CellLBSView::xs_
private

Definition at line 167 of file lbs_structs.h.


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