Chi-Tech
|
#include <lbts_transient_solver.h>
Data Structures | |
struct | Options |
Public Types | |
enum class | NormalizationMethod { TOTAL_POWER = 0 , POWER_DENSITY = 1 , NONE = 2 } |
Options for initial condition normalization. More... | |
Public Member Functions | |
DiscOrdTransientSolver (const std::string &in_text_name) | |
void | Initialize () override |
void | Execute () override |
void | Step () override |
void | Advance () override |
std::shared_ptr< SweepChunk > | SetTransientSweepChunk (LBSGroupset &groupset) |
double | ComputeBeta () |
void | PostStepCallBackFunction () const |
void | StepPrecursors () |
virtual | ~DiscOrdTransientSolver () override |
Data Fields | |
chi_math::SteppingMethod | method = chi_math::SteppingMethod::CRANK_NICOLSON |
struct lbs::DiscOrdTransientSolver::Options | transient_options_ |
double | dt_ = 2.0e-3 |
double | time_ = 0.0 |
Protected Attributes | |
std::vector< double > | phi_prev_local_ |
std::vector< double > | precursor_prev_local_ |
std::vector< std::vector< double > > | psi_prev_local_ |
std::vector< double > | fission_rate_local_ |
A transient neutral particle transport solver.
Definition at line 16 of file lbts_transient_solver.h.
|
strong |
Options for initial condition normalization.
Enumerator | |
---|---|
TOTAL_POWER | Total reactor power. |
POWER_DENSITY | Power density. |
NONE | No normalization. |
Definition at line 22 of file lbts_transient_solver.h.
|
explicit |
Constructor.
Definition at line 7 of file lbts_00_constrdestr.cc.
|
overridevirtual |
Destructor
Definition at line 14 of file lbts_00_constrdestr.cc.
|
override |
Advances time values.
Definition at line 5 of file lbts_02b_advance.cc.
double lbs::DiscOrdTransientSolver::ComputeBeta | ( | ) |
Computes the delayed neutron factor.
Definition at line 4 of file lbts_compute_beta.cc.
|
override |
Transient solver execute routine.
Definition at line 8 of file lbts_02_execute.cc.
|
override |
Transient solver initialize routine.
Definition at line 10 of file lbts_01_initialize.cc.
void lbs::DiscOrdTransientSolver::PostStepCallBackFunction | ( | ) | const |
Provides a callback interface to lua after each timestep. Users, can setup all sorts of controls like adaptive timestepping and outputs.
Definition at line 9 of file lbts_callback.cc.
std::shared_ptr< SweepChunk > lbs::DiscOrdTransientSolver::SetTransientSweepChunk | ( | LBSGroupset & | groupset | ) |
Sets up the sweek chunk for the given discretization method.
Definition at line 6 of file lbts_setsweepchunk.cc.
|
override |
Transient solver timestep routine.
Definition at line 11 of file lbts_02a_step.cc.
void lbs::DiscOrdTransientSolver::StepPrecursors | ( | ) |
Performs a timestep of the precursors.
Definition at line 5 of file lbts_step_precursors.cc.
double lbs::DiscOrdTransientSolver::dt_ = 2.0e-3 |
Temporal domain and discretization information.
Definition at line 43 of file lbts_transient_solver.h.
|
protected |
Fission rate vector
Definition at line 53 of file lbts_transient_solver.h.
chi_math::SteppingMethod lbs::DiscOrdTransientSolver::method = chi_math::SteppingMethod::CRANK_NICOLSON |
Definition at line 19 of file lbts_transient_solver.h.
|
protected |
Previous time step vectors.
Definition at line 48 of file lbts_transient_solver.h.
|
protected |
Definition at line 49 of file lbts_transient_solver.h.
|
protected |
Definition at line 50 of file lbts_transient_solver.h.
double lbs::DiscOrdTransientSolver::time_ = 0.0 |
Definition at line 44 of file lbts_transient_solver.h.
struct lbs::DiscOrdTransientSolver::Options lbs::DiscOrdTransientSolver::transient_options_ |