14 PetscReal rnorm,
void*ctx)
18 double k_eff = residual_context.k_eff;
19 double reactivity = (k_eff - 1.0) / k_eff;
21 std::stringstream iter_info;
24 << residual_context.solver_name
25 <<
"_NonLinearK_Outer"
26 <<
" Iteration " << std::setw(5) << iter
27 <<
" Residual " << std::setw(11) << rnorm
28 <<
" k_eff " << std::fixed << std::setw(10) << std::setprecision(7)
30 << std::setprecision(2)
31 <<
" reactivity " << std::setw(10) << reactivity * 1e5;
43 std::stringstream iter_info;
46 << residual_context.solver_name
47 <<
"_NonLinearK_Inner"
48 <<
" Iteration " << std::setw(5) << iter
49 <<
" Residual " << std::setw(11) << rnorm;
static chi::Timer program_timer
LogStream Log(LOG_LVL level=LOG_0)
std::string GetTimeString() const
PetscErrorCode KEigenSNESMonitor(SNES, PetscInt iter, PetscReal rnorm, void *ctx)
PetscErrorCode KEigenKSPMonitor(KSP ksp, PetscInt iter, PetscReal rnorm, void *ctx)