Chi-Tech
|
#include <transient_source_function.h>
Public Member Functions | |
TransientSourceFunction (const LBSSolver &lbs_solver, double &ref_dt, chi_math::SteppingMethod &method) | |
double | AddDelayedFission (const PrecursorList &precursors, const std::vector< double > &nu_delayed_sigma_f, const double *phi) const override |
Public Member Functions inherited from lbs::SourceFunction | |
SourceFunction (const LBSSolver &lbs_solver) | |
virtual | ~SourceFunction ()=default |
virtual void | operator() (LBSGroupset &groupset, std::vector< double > &destination_q, const std::vector< double > &phi, SourceFlags source_flags) |
virtual double | AddSourceMoments () const |
virtual double | AddDelayedFission (const PrecursorList &precursors, const std::vector< double > &nu_delayed_sigma_f, const double *phi) const |
virtual void | AddAdditionalSources (LBSGroupset &groupset, std::vector< double > &destination_q, const std::vector< double > &phi, SourceFlags source_flags) |
void | AddPointSources (LBSGroupset &groupset, std::vector< double > &destination_q, const std::vector< double > &phi, SourceFlags source_flags) |
Private Attributes | |
double & | dt_ |
chi_math::SteppingMethod & | method_ |
Additional Inherited Members | |
Public Types inherited from lbs::SourceFunction | |
typedef std::vector< chi_physics::MultiGroupXS::Precursor > | PrecursorList |
Protected Attributes inherited from lbs::SourceFunction | |
const LBSSolver & | lbs_solver_ |
bool | apply_fixed_src_ = false |
bool | apply_wgs_scatter_src_ = false |
bool | apply_ags_scatter_src_ = false |
bool | apply_wgs_fission_src_ = false |
bool | apply_ags_fission_src_ = false |
bool | suppress_wg_scatter_src_ = false |
size_t | gs_i_ = 0 |
size_t | gs_f_ = 0 |
size_t | first_grp_ = 0 |
size_t | last_grp_ = 0 |
double | cell_volume_ = 0.0 |
size_t | g_ = 0 |
const double * | fixed_src_moments_ = nullptr |
std::vector< double > | default_zero_src_ |
A transient source function needs to adjust the AddDelayedFission routine to properly fit with the current timestepping method and timestep.
Definition at line 13 of file transient_source_function.h.
lbs::TransientSourceFunction::TransientSourceFunction | ( | const LBSSolver & | lbs_solver, |
double & | ref_dt, | ||
chi_math::SteppingMethod & | method | ||
) |
Constructor for the transient source function. The only difference as compared to a steady source function is the treatment of delayed fission.
Definition at line 6 of file transient_source_function.cc.
|
overridevirtual |
Customized delayed fission source..
Reimplemented from lbs::SourceFunction.
Definition at line 16 of file transient_source_function.cc.
|
private |
Definition at line 16 of file transient_source_function.h.
|
private |
Definition at line 17 of file transient_source_function.h.