18 auto src_function = std::make_shared<SourceFunction>(*
this);
21 using namespace std::placeholders;
23 std::bind(&SourceFunction::operator(), src_function, _1, _2, _3, _4);
44 for (
auto& groupset : groupsets_)
46 std::shared_ptr<SweepChunk> sweep_chunk = SetSweepChunk(groupset);
48 auto sweep_wgs_context_ptr =
49 std::make_shared<SweepWGSContext<Mat, Vec, KSP>>(
51 active_set_source_function_,
55 options_.verbose_inner_iterations,
59 std::make_shared<WGSLinearSolver<Mat,Vec,KSP>>(sweep_wgs_context_ptr);
61 wgs_solvers_.push_back(wgs_solver);
size_t GetRepeatingEventTag(std::string event_name)
void InitFluxDataStructures(LBSGroupset &groupset)
void InitializeWGSSolvers() override
void InitializeSweepDataStructures()
void Initialize() override
void InitWGDSA(LBSGroupset &groupset, bool vaccum_bcs_are_dirichlet=true)
void InitTGDSA(LBSGroupset &groupset)
void Initialize() override
std::vector< LBSGroupset > groupsets_
virtual void InitializeSolverSchemes()
SetSourceFunction active_set_source_function_
chi_mesh::sweep_management::SweepChunk SweepChunk
@ APPLY_AGS_FISSION_SOURCES
@ APPLY_WGS_FISSION_SOURCES
@ APPLY_WGS_SCATTER_SOURCES
@ APPLY_AGS_SCATTER_SOURCES