Class PowerIterationKEigenSolver

Inheritance Relationships

Base Type

Class Documentation

class PowerIterationKEigenSolver : public opensn::Solver

Public Functions

explicit PowerIterationKEigenSolver(const InputParameters &params)
virtual void Initialize() override

Initialize function.

virtual void Execute() override

Execution function.

inline double GetEigenvalue() const

Return the current k-eigenvalue.

void SetLBSFissionSource(const std::vector<double> &input, bool additive)

Combines function calls to set fission source.

void SetLBSScatterSource(const std::vector<double> &input, bool additive, bool suppress_wg_scat = false)

Combines function calls to set scattering source source.

Public Static Functions

static InputParameters GetInputParameters()
static std::shared_ptr<PowerIterationKEigenSolver> Create(const ParameterBlock &params)

Protected Attributes

std::shared_ptr<DiscreteOrdinatesProblem> do_problem_
const std::shared_ptr<DiscreteOrdinatesKEigenAcceleration> acceleration_
size_t max_iters_
double k_eff_
double k_tolerance_
double F_prev_
bool reset_phi0_
std::vector<double> &q_moments_local_
std::vector<double> &phi_old_local_
std::vector<double> &phi_new_local_
std::vector<LBSGroupset> &groupsets_
std::shared_ptr<AGSLinearSolver> ags_solver_
SetSourceFunction active_set_source_function_
LBSGroupset &front_gs_
std::shared_ptr<LinearSolver> front_wgs_solver_
std::shared_ptr<WGSContext> front_wgs_context_