Class LBSGroupset

Nested Relationships

Nested Types

Class Documentation

class LBSGroupset

Shared groupset state.

This class is not specific to LBSProblem. It is shared infrastructure used across problem implementations, including discrete ordinates, to carry both generic group-iteration settings and groupset-scoped transport data.

This class remains the sole groupset representation used by the transport solvers, so method-specific groupset data continues to live here.

Public Functions

explicit LBSGroupset(const InputParameters &params, int id, const LBSProblem &lbs_problem)
explicit LBSGroupset(int id)
LBSGroupset()
void PrintSweepInfoFile(size_t ev_tag, const std::string &file_name)
void InitializeGPUCarriers()

Initialize carrier for copying quadrature data to GPU.

void ResetGPUCarriers()

Delete carrier and deallocate memory on GPU.

~LBSGroupset()
unsigned int GetNumGroups() const

Return number of energy groups in the groupset.

Public Members

int id
unsigned int first_group

First energy-group index in the groupset.

unsigned int last_group

Last energy-group index in the groupset.

std::shared_ptr<AngularQuadrature> quadrature
std::shared_ptr<AngleAggregation> angle_agg
UniqueSOGroupings unique_so_groupings
DirIDToSOMap dir_id_to_so_map
int master_num_ang_subsets
LinearSystemSolver::IterativeMethod iterative_method
AngleAggregationType angleagg_method
double residual_tolerance
unsigned int max_iterations
unsigned int gmres_restart_intvl
bool allow_cycles
bool apply_wgdsa
bool apply_tgdsa
unsigned int wgdsa_max_iters
unsigned int tgdsa_max_iters
double wgdsa_tol
double tgdsa_tol
bool wgdsa_verbose
bool tgdsa_verbose
std::string wgdsa_string
std::string tgdsa_string
void *quad_carrier = nullptr
std::shared_ptr<DiffusionMIPSolver> wgdsa_solver = nullptr
std::shared_ptr<DiffusionMIPSolver> tgdsa_solver = nullptr
struct opensn::LBSGroupset::TwoGridAccelerationInfo tg_acceleration_info_
UnknownManager psi_uk_man_

Public Static Functions

static InputParameters GetInputParameters()
struct TwoGridAccelerationInfo

Public Members

std::map<unsigned int, TwoGridCollapsedInfo> map_mat_id_2_tginfo
EnergyCollapseScheme scheme = EnergyCollapseScheme::JFULL