Chi-Tech
lbs::DiscreteOrdinatesSolver Class Reference

#include <lbs_discrete_ordinates_solver.h>

Inheritance diagram for lbs::DiscreteOrdinatesSolver:
lbs::LBSSolver chi_physics::Solver ChiObject lbs::DiscreteOrdinatesAdjointSolver lbs::DiscreteOrdinatesCurvilinearSolver

Public Member Functions

 DiscreteOrdinatesSolver (const chi::InputParameters &params)
 
const std::string & SweepType () const
 
virtual ~DiscreteOrdinatesSolver () override
 
std::pair< size_t, size_t > GetNumPhiIterativeUnknowns () override
 
void Initialize () override
 
void ScalePhiVector (PhiSTLOption which_phi, double value) override
 
void SetGSPETScVecFromPrimarySTLvector (LBSGroupset &groupset, Vec x, PhiSTLOption which_phi) override
 
void SetPrimarySTLvectorFromGSPETScVec (LBSGroupset &groupset, Vec x_src, PhiSTLOption which_phi) override
 
void GSScopedCopyPrimarySTLvectors (LBSGroupset &groupset, PhiSTLOption from_which_phi, PhiSTLOption to_which_phi) override
 
void SetMultiGSPETScVecFromPrimarySTLvector (const std::vector< int > &gs_ids, Vec x, PhiSTLOption which_phi) override
 
void SetPrimarySTLvectorFromMultiGSPETScVecFrom (const std::vector< int > &gs_ids, Vec x_src, PhiSTLOption which_phi) override
 
void ZeroOutflowBalanceVars (LBSGroupset &groupset)
 
void ComputeBalance ()
 
std::vector< double > ComputeLeakage (int groupset_id, uint64_t boundary_id) const
 
- Public Member Functions inherited from lbs::LBSSolver
 LBSSolver (const std::string &text_name)
 
 LBSSolver (const chi::InputParameters &params)
 
 LBSSolver (const LBSSolver &)=delete
 
LBSSolveroperator= (const LBSSolver &)=delete
 
virtual ~LBSSolver ()=default
 
size_t GetSourceEventTag () const
 
double LastRestartWrite () const
 
double & LastRestartWrite ()
 
lbs::OptionsOptions ()
 
const lbs::OptionsOptions () const
 
void SetOptions (const chi::InputParameters &params)
 
void SetBoundaryOptions (const chi::InputParameters &params)
 
size_t NumMoments () const
 
size_t NumGroups () const
 
size_t NumPrecursors () const
 
size_t GetMaxPrecursorsPerMaterial () const
 
void AddGroup (int id)
 
const std::vector< LBSGroup > & Groups () const
 
void AddGroupset ()
 
std::vector< LBSGroupset > & Groupsets ()
 
const std::vector< LBSGroupset > & Groupsets () const
 
void AddPointSource (PointSource psrc)
 
void ClearPointSources ()
 
const std::vector< PointSource > & PointSources () const
 
const std::map< int, XSPtr > & GetMatID2XSMap () const
 
const std::map< int, IsotropicSrcPtr > & GetMatID2IsoSrcMap () const
 
const chi_math::SpatialDiscretizationSpatialDiscretization () const
 
const std::vector< UnitCellMatrices > & GetUnitCellMatrices () const
 
const chi_mesh::MeshContinuumGrid () const
 
const std::vector< lbs::CellLBSView > & GetCellTransportViews () const
 
std::map< uint64_t, BoundaryPreference > & BoundaryPreferences ()
 
const chi_math::UnknownManagerUnknownManager () const
 
size_t LocalNodeCount () const
 
size_t GlobalNodeCount () const
 
std::vector< double > & QMomentsLocal ()
 
const std::vector< double > & QMomentsLocal () const
 
std::vector< double > & ExtSrcMomentsLocal ()
 
const std::vector< double > & ExtSrcMomentsLocal () const
 
std::vector< double > & PhiOldLocal ()
 
const std::vector< double > & PhiOldLocal () const
 
std::vector< double > & PhiNewLocal ()
 
const std::vector< double > & PhiNewLocal () const
 
std::vector< double > & PrecursorsNewLocal ()
 
const std::vector< double > & PrecursorsNewLocal () const
 
std::vector< VecDbl > & PsiNewLocal ()
 
const std::vector< VecDbl > & PsiNewLocal () const
 
const std::map< uint64_t, std::shared_ptr< SweepBndry > > & SweepBoundaries () const
 
SetSourceFunction GetActiveSetSourceFunction () const
 
AGSLinSolverPtr GetPrimaryAGSSolver ()
 
std::vector< LinSolvePtr > & GetWGSSolvers ()
 
WGSContext< Mat, Vec, KSP > & GetWGSContext (int groupset_id)
 
virtual std::pair< size_t, size_t > GetNumPhiIterativeUnknowns ()
 
size_t MapPhiFieldFunction (size_t g, size_t m) const
 
size_t GetHandleToPowerGenFieldFunc () const
 
void Initialize () override
 
void InitMaterials ()
 
void InitializePointSources ()
 
void InitWGDSA (LBSGroupset &groupset, bool vaccum_bcs_are_dirichlet=true)
 
std::vector< double > WGSCopyOnlyPhi0 (const LBSGroupset &groupset, const std::vector< double > &phi_in)
 
void GSProjectBackPhi0 (const LBSGroupset &groupset, const std::vector< double > &input, std::vector< double > &output)
 
void AssembleWGDSADeltaPhiVector (const LBSGroupset &groupset, const std::vector< double > &phi_in, std::vector< double > &delta_phi_local)
 
void DisAssembleWGDSADeltaPhiVector (const LBSGroupset &groupset, const std::vector< double > &delta_phi_local, std::vector< double > &ref_phi_new)
 
void AssembleTGDSADeltaPhiVector (const LBSGroupset &groupset, const std::vector< double > &phi_in, std::vector< double > &delta_phi_local)
 
void DisAssembleTGDSADeltaPhiVector (const LBSGroupset &groupset, const std::vector< double > &delta_phi_local, std::vector< double > &ref_phi_new)
 
void WriteRestartData (const std::string &folder_name, const std::string &file_base)
 
void ReadRestartData (const std::string &folder_name, const std::string &file_base)
 
void WriteGroupsetAngularFluxes (const LBSGroupset &groupset, const std::string &file_base)
 
void ReadGroupsetAngularFluxes (LBSGroupset &groupset, const std::string &file_base)
 
std::vector< double > MakeSourceMomentsFromPhi ()
 
void WriteFluxMoments (const std::string &file_base, const std::vector< double > &flux_moments)
 
void ReadFluxMoments (const std::string &file_base, std::vector< double > &flux_moments, bool single_file=false)
 
void UpdateFieldFunctions ()
 
void SetPhiFromFieldFunctions (PhiSTLOption which_phi, const std::vector< size_t > &m_indices, const std::vector< size_t > &g_indices)
 
double ComputeFissionProduction (const std::vector< double > &phi)
 
double ComputeFissionRate (const std::vector< double > &phi)
 
void ComputePrecursors ()
 
virtual void SetPhiVectorScalarValues (std::vector< double > &phi_vector, double value)
 
virtual void ScalePhiVector (PhiSTLOption which_phi, double value)
 
virtual void SetGSPETScVecFromPrimarySTLvector (LBSGroupset &groupset, Vec x, PhiSTLOption which_phi)
 
virtual void SetPrimarySTLvectorFromGSPETScVec (LBSGroupset &groupset, Vec x_src, PhiSTLOption which_phi)
 
virtual void GSScopedCopyPrimarySTLvectors (LBSGroupset &groupset, const std::vector< double > &x_src, std::vector< double > &y)
 
virtual void GSScopedCopyPrimarySTLvectors (LBSGroupset &groupset, PhiSTLOption from_which_phi, PhiSTLOption to_which_phi)
 
virtual void SetGroupScopedPETScVecFromPrimarySTLvector (int first_group_id, int last_group_id, Vec x, const std::vector< double > &y)
 
virtual void SetPrimarySTLvectorFromGroupScopedPETScVec (int first_group_id, int last_group_id, Vec x_src, std::vector< double > &y)
 
virtual void SetMultiGSPETScVecFromPrimarySTLvector (const std::vector< int > &gs_ids, Vec x, PhiSTLOption which_phi)
 
virtual void SetPrimarySTLvectorFromMultiGSPETScVecFrom (const std::vector< int > &gs_ids, Vec x_src, PhiSTLOption which_phi)
 
- Public Member Functions inherited from chi_physics::Solver
 Solver (std::string in_text_name)
 
 Solver (std::string in_text_name, std::initializer_list< BasicOption > in_options)
 
 Solver (const chi::InputParameters &params)
 
virtual ~Solver ()=default
 
std::string TextName () const
 
BasicOptionsGetBasicOptions ()
 
const BasicOptionsGetBasicOptions () const
 
std::vector< std::shared_ptr< FieldFunctionGridBased > > & GetFieldFunctions ()
 
const std::vector< std::shared_ptr< FieldFunctionGridBased > > & GetFieldFunctions () const
 
TimeStepperGetTimeStepper ()
 
const TimeStepperGetTimeStepper () const
 
virtual void Initialize ()
 
virtual void Execute ()
 
virtual void Step ()
 
virtual void Advance ()
 
virtual chi::ParameterBlock GetInfo (const chi::ParameterBlock &params) const
 
virtual void SetProperties (const chi::ParameterBlock &params)
 
chi::ParameterBlock GetInfoWithPreCheck (const chi::ParameterBlock &params) const
 
- Public Member Functions inherited from ChiObject
 ChiObject ()
 
 ChiObject (const chi::InputParameters &params)
 
void SetStackID (size_t stack_id)
 
size_t StackID () const
 
virtual void PushOntoStack (std::shared_ptr< ChiObject > &new_object)
 
virtual ~ChiObject ()=default
 

Static Public Member Functions

static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from lbs::LBSSolver
static chi::InputParameters GetInputParameters ()
 
static chi::InputParameters OptionsBlock ()
 
static chi::InputParameters BoundaryOptionsBlock ()
 
- Static Public Member Functions inherited from chi_physics::Solver
static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from ChiObject
static chi::InputParameters GetInputParameters ()
 

Protected Types

typedef chi_mesh::sweep_management::SweepChunk SweepChunk
 
typedef std::shared_ptr< chi_math::AngularQuadratureAngQuadPtr
 
typedef std::pair< UniqueSOGroupings, DirIDToSOMapSwpOrderGroupingInfo
 
typedef std::shared_ptr< chi_mesh::sweep_management::SPDSSPDS_ptr
 
typedef std::vector< SPDS_ptrSPDS_ptrs
 
typedef chi_mesh::sweep_management::FLUDSCommonData FLUDSCommonData
 
typedef std::unique_ptr< FLUDSCommonDataFLUDSCommonDataPtr
 
typedef std::vector< FLUDSCommonDataPtrFLUDSCommonDataPtrs
 
- Protected Types inherited from lbs::LBSSolver
typedef chi_mesh::sweep_management::CellFaceNodalMapping CellFaceNodalMapping
 

Protected Member Functions

 DiscreteOrdinatesSolver (const std::string &text_name)
 
void InitializeWGSSolvers () override
 
void InitializeSweepDataStructures ()
 
void InitFluxDataStructures (LBSGroupset &groupset)
 
void ResetSweepOrderings (LBSGroupset &groupset)
 
virtual std::shared_ptr< SweepChunkSetSweepChunk (LBSGroupset &groupset)
 
- Protected Member Functions inherited from lbs::LBSSolver
virtual void PerformInputChecks ()
 
void PrintSimHeader ()
 
virtual void InitializeSpatialDiscretization ()
 
void ComputeUnitIntegrals ()
 
void InitializeGroupsets ()
 
void ComputeNumberOfMoments ()
 
virtual void InitializeParrays ()
 
void InitializeFieldFunctions ()
 
void InitializeBoundaries ()
 
virtual void InitializeSolverSchemes ()
 
virtual void InitializeWGSSolvers ()
 
void InitTGDSA (LBSGroupset &groupset)
 

Static Protected Member Functions

static std::pair< UniqueSOGroupings, DirIDToSOMapAssociateSOsAndDirections (const chi_mesh::MeshContinuum &grid, const chi_math::AngularQuadrature &quadrature, AngleAggregationType agg_type, lbs::GeometryType lbs_geo_type)
 
- Static Protected Member Functions inherited from lbs::LBSSolver
static void CleanUpWGDSA (LBSGroupset &groupset)
 
static void CleanUpTGDSA (LBSGroupset &groupset)
 

Protected Attributes

std::map< AngQuadPtr, SwpOrderGroupingInfoquadrature_unq_so_grouping_map_
 
std::map< AngQuadPtr, SPDS_ptrsquadrature_spds_map_
 
std::map< AngQuadPtr, FLUDSCommonDataPtrsquadrature_fluds_commondata_map_
 
std::vector< size_t > verbose_sweep_angles_
 
const std::string sweep_type_
 
- Protected Attributes inherited from lbs::LBSSolver
size_t source_event_tag_ = 0
 
double last_restart_write_ = 0.0
 
lbs::Options options_
 
size_t num_moments_ = 0
 
size_t num_groups_ = 0
 
size_t num_precursors_ = 0
 
size_t max_precursors_per_material_ = 0
 
std::vector< LBSGroupgroups_
 
std::vector< LBSGroupsetgroupsets_
 
std::vector< PointSourcepoint_sources_
 
std::map< int, XSPtrmatid_to_xs_map_
 
std::map< int, IsotropicSrcPtrmatid_to_src_map_
 
std::shared_ptr< chi_math::SpatialDiscretizationdiscretization_ = nullptr
 
chi_mesh::MeshContinuumPtr grid_ptr_
 
std::vector< CellFaceNodalMappinggrid_nodal_mappings_
 
MPILocalCommSetPtr grid_local_comm_set_ = nullptr
 
GridFaceHistogramPtr grid_face_histogram_ = nullptr
 
std::vector< UnitCellMatricesunit_cell_matrices_
 
std::map< uint64_t, UnitCellMatricesunit_ghost_cell_matrices_
 
std::vector< lbs::CellLBSViewcell_transport_views_
 
std::map< uint64_t, BoundaryPreferenceboundary_preferences_
 
std::map< uint64_t, std::shared_ptr< SweepBndry > > sweep_boundaries_
 
chi_math::UnknownManager flux_moments_uk_man_
 
size_t max_cell_dof_count_ = 0
 
uint64_t local_node_count_ = 0
 
uint64_t glob_node_count_ = 0
 
std::vector< double > q_moments_local_
 
std::vector< double > ext_src_moments_local_
 
std::vector< double > phi_new_local_
 
std::vector< double > phi_old_local_
 
std::vector< std::vector< double > > psi_new_local_
 
std::vector< double > precursor_new_local_
 
SetSourceFunction active_set_source_function_
 
std::vector< AGSLinSolverPtrags_solvers_
 
std::vector< LinSolvePtrwgs_solvers_
 
AGSLinSolverPtr primary_ags_solver_
 
std::map< std::pair< size_t, size_t >, size_t > phi_field_functions_local_map_
 
size_t power_gen_fieldfunc_local_handle_ = 0
 
std::shared_ptr< const chi_math::TimeIntegrationtime_integration_ = nullptr
 
- Protected Attributes inherited from chi_physics::Solver
BasicOptions basic_options_
 
std::vector< std::shared_ptr< FieldFunctionGridBased > > field_functions_
 
std::shared_ptr< TimeSteppertimestepper_ = nullptr
 

Additional Inherited Members

- Public Types inherited from lbs::LBSSolver
typedef std::shared_ptr< AGSLinearSolver< Mat, Vec, KSP > > AGSLinSolverPtr
 
typedef std::shared_ptr< chi_math::LinearSolver< Mat, Vec, KSP > > LinSolvePtr
 

Detailed Description

Base class for Discrete Ordinates solvers. This class mostly establishes utilities related to sweeping. From here we can derive a steady-state, transient, adjoint, and k-eigenvalue solver.

Definition at line 14 of file lbs_discrete_ordinates_solver.h.

Member Typedef Documentation

◆ AngQuadPtr

Definition at line 19 of file lbs_discrete_ordinates_solver.h.

◆ FLUDSCommonData

◆ FLUDSCommonDataPtr

Definition at line 27 of file lbs_discrete_ordinates_solver.h.

◆ FLUDSCommonDataPtrs

◆ SPDS_ptr

◆ SPDS_ptrs

typedef std::vector<SPDS_ptr> lbs::DiscreteOrdinatesSolver::SPDS_ptrs
protected

Definition at line 24 of file lbs_discrete_ordinates_solver.h.

◆ SweepChunk

◆ SwpOrderGroupingInfo

Constructor & Destructor Documentation

◆ DiscreteOrdinatesSolver() [1/2]

lbs::DiscreteOrdinatesSolver::DiscreteOrdinatesSolver ( const chi::InputParameters params)
explicit

Static registration based constructor.

Definition at line 41 of file lbsDO_00_constrdestraccesors.cc.

◆ DiscreteOrdinatesSolver() [2/2]

lbs::DiscreteOrdinatesSolver::DiscreteOrdinatesSolver ( const std::string &  text_name)
explicitprotected

Definition at line 10 of file lbsDO_00_constrdestraccesors.cc.

◆ ~DiscreteOrdinatesSolver()

lbs::DiscreteOrdinatesSolver::~DiscreteOrdinatesSolver ( )
overridevirtual

Destructor for LBS

Definition at line 51 of file lbsDO_00_constrdestraccesors.cc.

Member Function Documentation

◆ AssociateSOsAndDirections()

std::pair< UniqueSOGroupings, DirIDToSOMap > lbs::DiscreteOrdinatesSolver::AssociateSOsAndDirections ( const chi_mesh::MeshContinuum grid,
const chi_math::AngularQuadrature quadrature,
AngleAggregationType  agg_type,
lbs::GeometryType  lbs_geo_type 
)
staticprotected

This routine groups angle-indices to groups sharing the same sweep ordering. It also takes geometry into account.

Lambda to convert indices and push it onto unq_so_grps.

Definition at line 41 of file lbsDO_sweepdata_00a_assSOs.cc.

◆ ComputeBalance()

void lbs::DiscreteOrdinatesSolver::ComputeBalance ( )

Compute balance.

Definition at line 23 of file lbsDO_balance.cc.

◆ ComputeLeakage()

std::vector< double > lbs::DiscreteOrdinatesSolver::ComputeLeakage ( int  groupset_id,
uint64_t  boundary_id 
) const

Computes the angular flux based leakage from boundary surfaces.

Parameters
groupset_idThe groupset for which to compute the leakage.
boundary_iduint64_t The boundary-id for which to perform the integration.
Returns
The leakage as a value.

Definition at line 11 of file lbsDO_compute_leakage.cc.

◆ GetInputParameters()

chi::InputParameters lbs::DiscreteOrdinatesSolver::GetInputParameters ( )
static

Definition at line 16 of file lbsDO_00_constrdestraccesors.cc.

◆ GetNumPhiIterativeUnknowns()

std::pair< size_t, size_t > lbs::DiscreteOrdinatesSolver::GetNumPhiIterativeUnknowns ( )
overridevirtual

Gets the local and global number of iterative unknowns. This normally is only the flux moments, however, the sweep based solvers might include delayed angular fluxes in this number.

Reimplemented from lbs::LBSSolver.

Definition at line 66 of file lbsDO_00_constrdestraccesors.cc.

◆ GSScopedCopyPrimarySTLvectors()

void lbs::DiscreteOrdinatesSolver::GSScopedCopyPrimarySTLvectors ( LBSGroupset groupset,
PhiSTLOption  from_which_phi,
PhiSTLOption  to_which_phi 
)
overridevirtual

Assembles a vector for a given groupset from a source vector.

Reimplemented from lbs::LBSSolver.

Definition at line 153 of file lbsDO_07_vectorassembly.cc.

◆ InitFluxDataStructures()

void lbs::DiscreteOrdinatesSolver::InitFluxDataStructures ( LBSGroupset groupset)
protected

Initializes fluds_ data structures.

Definition at line 26 of file lbsDO_sweepdata_00b_initFLUDS.cc.

◆ Initialize()

void lbs::DiscreteOrdinatesSolver::Initialize ( )
overridevirtual

Initialize the solver.

Reimplemented from lbs::LBSSolver.

Reimplemented in lbs::DiscreteOrdinatesAdjointSolver.

Definition at line 14 of file lbsDO_01_main_initialize.cc.

◆ InitializeSweepDataStructures()

void lbs::DiscreteOrdinatesSolver::InitializeSweepDataStructures ( )
protected

This routine initializes basic sweep datastructures that are agnostic of the number of groups and essentially the groupsets. The routine rebuilds the data structures i) quadrature_unq_so_grouping_map_, ii) quadrature_spds_map_ and iii) quadrature_fluds_templates_map_. i) is a mapping, per quadrature, to a collection of angle-index-sets where all the angles in a particular angleset share the same sweep ordering. ii) is a mapping, per quadrature, to a collection of SPDSs where each SPDS mirrors an angle-index-set in i) iii) is again a mapping, per quadrature, to a collection of Template FLUDS where each FLUDS mirrors a SPDS in ii).

The Template FLUDS can be scaled with number of angles and groups which provides us with the angle-set-subset- and groupset-subset capability.

Definition at line 42 of file lbsDO_sweepdata_00.cc.

◆ InitializeWGSSolvers()

void lbs::DiscreteOrdinatesSolver::InitializeWGSSolvers ( )
overrideprotectedvirtual

Initializes Within-GroupSet solvers.

Reimplemented from lbs::LBSSolver.

Definition at line 41 of file lbsDO_01_main_initialize.cc.

◆ ResetSweepOrderings()

void lbs::DiscreteOrdinatesSolver::ResetSweepOrderings ( LBSGroupset groupset)
protected

Clears all the sweep orderings for a groupset in preperation for another.

Definition at line 16 of file lbsDO_sweepdata_00c_cleanup.cc.

◆ ScalePhiVector()

void lbs::DiscreteOrdinatesSolver::ScalePhiVector ( PhiSTLOption  which_phi,
double  value 
)
overridevirtual

Scales a flux moment vector. For sweep methods the delayed angular fluxes will also be scaled.

Reimplemented from lbs::LBSSolver.

Definition at line 9 of file lbsDO_07_vectorassembly.cc.

◆ SetGSPETScVecFromPrimarySTLvector()

void lbs::DiscreteOrdinatesSolver::SetGSPETScVecFromPrimarySTLvector ( LBSGroupset groupset,
Vec  x,
PhiSTLOption  which_phi 
)
overridevirtual

Assembles a vector for a given groupset from a source vector.

Reimplemented from lbs::LBSSolver.

Definition at line 46 of file lbsDO_07_vectorassembly.cc.

◆ SetMultiGSPETScVecFromPrimarySTLvector()

void lbs::DiscreteOrdinatesSolver::SetMultiGSPETScVecFromPrimarySTLvector ( const std::vector< int > &  gs_ids,
Vec  x,
PhiSTLOption  which_phi 
)
overridevirtual

Assembles a PETSc vector from multiple groupsets.

Reimplemented from lbs::LBSSolver.

Definition at line 206 of file lbsDO_07_vectorassembly.cc.

◆ SetPrimarySTLvectorFromGSPETScVec()

void lbs::DiscreteOrdinatesSolver::SetPrimarySTLvectorFromGSPETScVec ( LBSGroupset groupset,
Vec  x_src,
PhiSTLOption  which_phi 
)
overridevirtual

Assembles a vector for a given groupset from a source vector.

Reimplemented from lbs::LBSSolver.

Definition at line 100 of file lbsDO_07_vectorassembly.cc.

◆ SetPrimarySTLvectorFromMultiGSPETScVecFrom()

void lbs::DiscreteOrdinatesSolver::SetPrimarySTLvectorFromMultiGSPETScVecFrom ( const std::vector< int > &  gs_ids,
Vec  x_src,
PhiSTLOption  which_phi 
)
overridevirtual

Disassembles a multiple Groupset PETSc vector STL vectors.

Reimplemented from lbs::LBSSolver.

Definition at line 265 of file lbsDO_07_vectorassembly.cc.

◆ SetSweepChunk()

std::shared_ptr< SweepChunk > lbs::DiscreteOrdinatesSolver::SetSweepChunk ( LBSGroupset groupset)
protectedvirtual

Sets up the sweek chunk for the given discretization method.

Reimplemented in lbs::DiscreteOrdinatesCurvilinearSolver.

Definition at line 13 of file lbsDO_sweepdata_00d_setswpchunk.cc.

◆ SweepType()

const std::string & lbs::DiscreteOrdinatesSolver::SweepType ( ) const
inline

Definition at line 46 of file lbs_discrete_ordinates_solver.h.

◆ ZeroOutflowBalanceVars()

void lbs::DiscreteOrdinatesSolver::ZeroOutflowBalanceVars ( LBSGroupset groupset)

Zeroes all the outflow data-structures required to compute balance.

Definition at line 14 of file lbsDO_balance.cc.

Field Documentation

◆ quadrature_fluds_commondata_map_

std::map<AngQuadPtr, FLUDSCommonDataPtrs> lbs::DiscreteOrdinatesSolver::quadrature_fluds_commondata_map_
protected

Definition at line 33 of file lbs_discrete_ordinates_solver.h.

◆ quadrature_spds_map_

std::map<AngQuadPtr, SPDS_ptrs> lbs::DiscreteOrdinatesSolver::quadrature_spds_map_
protected

Definition at line 32 of file lbs_discrete_ordinates_solver.h.

◆ quadrature_unq_so_grouping_map_

std::map<AngQuadPtr, SwpOrderGroupingInfo> lbs::DiscreteOrdinatesSolver::quadrature_unq_so_grouping_map_
protected

Definition at line 31 of file lbs_discrete_ordinates_solver.h.

◆ sweep_type_

const std::string lbs::DiscreteOrdinatesSolver::sweep_type_
protected

Definition at line 36 of file lbs_discrete_ordinates_solver.h.

◆ verbose_sweep_angles_

std::vector<size_t> lbs::DiscreteOrdinatesSolver::verbose_sweep_angles_
protected

Definition at line 35 of file lbs_discrete_ordinates_solver.h.


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