12 chi::log.Log() <<
"Initializing " << TextName() <<
".";
13 options_.save_angular_flux =
true;
14 DiscOrdKEigenvalueSolver::Initialize();
15 DiscOrdKEigenvalueSolver::Execute();
19 const double FR = ComputeFissionRate(phi_new_local_);
21 snprintf(buff,200,
" Initial Fission Rate FR=%12.6g", FR);
22 chi::log.Log() << TextName() << buff;
35 snprintf(buff,200,
" Beta=%.2f [pcm] reactivity=%.3f [$]",
36 beta*1e5, (1.0- 1.0 / GetKeff()) / beta);
37 chi::log.Log() << TextName() << buff;
42 std::make_shared<TransientSourceFunction>(*
this, this->
dt_, this->
method);
44 using namespace std::placeholders;
45 active_set_source_function_ =
46 std::bind(&SourceFunction::operator(), src_function, _1, _2, _3, _4);
std::vector< double > precursor_prev_local_
std::vector< double > fission_rate_local_
void Initialize() override
std::vector< double > phi_prev_local_
std::vector< std::vector< double > > psi_prev_local_
chi_math::SteppingMethod method
struct lbs::DiscOrdTransientSolver::Options transient_options_