21 auto context = wgs_solver->GetContext();
23 std::dynamic_pointer_cast<lbs::WGSContext<Mat, Vec, KSP>>(context);
27 wgs_context->lhs_src_scope_ =
28 wgs_context->lhs_src_scope_ & (~APPLY_WGS_FISSION_SOURCES);
29 wgs_context->rhs_src_scope_ =
30 wgs_context->rhs_src_scope_ & (~APPLY_AGS_FISSION_SOURCES);
38 std::dynamic_pointer_cast<lbs::WGSContext<Mat, Vec, KSP>>(
#define ChiLogicalErrorIf(condition, message)
AGSLinSolverPtr GetPrimaryAGSSolver()
std::vector< LinSolvePtr > & GetWGSSolvers()
SetSourceFunction GetActiveSetSourceFunction() const
virtual void SetPhiVectorScalarValues(std::vector< double > &phi_vector, double value)
void Initialize() override
std::shared_ptr< lbs::WGSContext< Mat, Vec, KSP > > front_wgs_context_
std::shared_ptr< AGSLinearSolver< Mat, Vec, KSP > > primary_ags_solver_
void Initialize() override
lbs::SetSourceFunction active_set_source_function_
std::shared_ptr< chi_math::LinearSolver< Mat, Vec, KSP > > front_wgs_solver_
bool verbose_ags_iterations