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
6
#include "
math/chi_math_time_stepping.h
"
7
8
namespace
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.*/
13
class
TransientSourceFunction
:
public
SourceFunction
14
{
15
private
:
16
double
&
dt_
;
17
chi_math::SteppingMethod
&
method_
;
18
public
:
19
TransientSourceFunction
(
const
LBSSolver
& lbs_solver,
20
double
& ref_dt,
21
chi_math::SteppingMethod
& method);
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
chi_math_time_stepping.h
lbs::LBSSolver
Definition:
lbs_solver.h:50
lbs::SourceFunction
Definition:
source_function.h:21
lbs::SourceFunction::PrecursorList
std::vector< chi_physics::MultiGroupXS::Precursor > PrecursorList
Definition:
source_function.h:54
lbs::TransientSourceFunction
Definition:
transient_source_function.h:14
lbs::TransientSourceFunction::AddDelayedFission
double AddDelayedFission(const PrecursorList &precursors, const std::vector< double > &nu_delayed_sigma_f, const double *phi) const override
Definition:
transient_source_function.cc:17
lbs::TransientSourceFunction::TransientSourceFunction
TransientSourceFunction(const LBSSolver &lbs_solver, double &ref_dt, chi_math::SteppingMethod &method)
Definition:
transient_source_function.cc:7
lbs::TransientSourceFunction::dt_
double & dt_
Definition:
transient_source_function.h:16
lbs::TransientSourceFunction::method_
chi_math::SteppingMethod & method_
Definition:
transient_source_function.h:17
chi_math::SteppingMethod
SteppingMethod
Definition:
chi_math_time_stepping.h:10
lbs
Definition:
acceleration.cc:10
source_function.h
modules
LinearBoltzmannSolvers
A_LBSSolver
SourceFunctions
transient_source_function.h
Generated by
1.9.3