Chi-Tech
transient_source_function.h
Go to the documentation of this file.
1#ifndef CHITECH_LBS_TRANSIENT_SOURCE_FUNCTION_H
2#define CHITECH_LBS_TRANSIENT_SOURCE_FUNCTION_H
3
4#include "source_function.h"
5
7
8namespace lbs
9{
10
11/**A transient source function needs to adjust the AddDelayedFission
12 * routine to properly fit with the current timestepping method and timestep.*/
14{
15private:
16 double& dt_;
18public:
19 TransientSourceFunction(const LBSSolver& lbs_solver,
20 double& ref_dt,
22
23 double AddDelayedFission(const PrecursorList& precursors,
24 const std::vector<double>& nu_delayed_sigma_f,
25 const double* phi) const override;
26};
27
28}//namespace lbs
29
30#endif //CHITECH_LBS_TRANSIENT_SOURCE_FUNCTION_H
std::vector< chi_physics::MultiGroupXS::Precursor > PrecursorList
double AddDelayedFission(const PrecursorList &precursors, const std::vector< double > &nu_delayed_sigma_f, const double *phi) const override
TransientSourceFunction(const LBSSolver &lbs_solver, double &ref_dt, chi_math::SteppingMethod &method)
chi_math::SteppingMethod & method_