![]() |
Chi-Tech
|
#include <point_reactor_kinetics.h>
Public Member Functions | |
| TransientSolver (const chi::InputParameters ¶ms) | |
| void | Initialize () override |
| void | Execute () override |
| void | Step () override |
| void | Advance () override |
| chi::ParameterBlock | GetInfo (const chi::ParameterBlock ¶ms) const override |
| double | PopulationPrev () const |
| double | PopulationNew () const |
| double | Period () const |
| double | TimePrev () const |
| double | TimeNew () const |
| std::vector< double > | SolutionPrev () const |
| std::vector< double > | SolutionNew () const |
| void | SetProperties (const chi::ParameterBlock ¶ms) override |
| void | SetRho (double value) |
Public Member Functions inherited from chi_physics::Solver | |
| Solver (std::string in_text_name) | |
| Solver (std::string in_text_name, std::initializer_list< BasicOption > in_options) | |
| Solver (const chi::InputParameters ¶ms) | |
| virtual | ~Solver ()=default |
| std::string | TextName () const |
| BasicOptions & | GetBasicOptions () |
| const BasicOptions & | GetBasicOptions () const |
| std::vector< std::shared_ptr< FieldFunctionGridBased > > & | GetFieldFunctions () |
| const std::vector< std::shared_ptr< FieldFunctionGridBased > > & | GetFieldFunctions () const |
| TimeStepper & | GetTimeStepper () |
| const TimeStepper & | GetTimeStepper () const |
| virtual void | Initialize () |
| virtual void | Execute () |
| virtual void | Step () |
| virtual void | Advance () |
| virtual chi::ParameterBlock | GetInfo (const chi::ParameterBlock ¶ms) const |
| virtual void | SetProperties (const chi::ParameterBlock ¶ms) |
| chi::ParameterBlock | GetInfoWithPreCheck (const chi::ParameterBlock ¶ms) const |
Public Member Functions inherited from ChiObject | |
| ChiObject () | |
| ChiObject (const chi::InputParameters ¶ms) | |
| void | SetStackID (size_t stack_id) |
| size_t | StackID () const |
| virtual void | PushOntoStack (std::shared_ptr< ChiObject > &new_object) |
| virtual | ~ChiObject ()=default |
Static Public Member Functions | |
| static chi::InputParameters | GetInputParameters () |
Static Public Member Functions inherited from chi_physics::Solver | |
| static chi::InputParameters | GetInputParameters () |
Static Public Member Functions inherited from ChiObject | |
| static chi::InputParameters | GetInputParameters () |
Private Attributes | |
| std::vector< double > | lambdas_ |
| std::vector< double > | betas_ |
| double | gen_time_ |
| double | rho_ |
| double | source_strength_ |
| std::string | time_integration_ |
| size_t | num_precursors_ |
| chi_math::DynamicMatrix< double > | A_ |
| chi_math::DynamicMatrix< double > | I_ |
| chi_math::DynamicVector< double > | x_t_ |
| chi_math::DynamicVector< double > | x_tp1_ |
| chi_math::DynamicVector< double > | q_ |
| double | beta_ = 1.0 |
| double | period_tph_ = 0.0 |
Additional Inherited Members | |
Protected Attributes inherited from chi_physics::Solver | |
| BasicOptions | basic_options_ |
| std::vector< std::shared_ptr< FieldFunctionGridBased > > | field_functions_ |
| std::shared_ptr< TimeStepper > | timestepper_ = nullptr |
General transient solver for point kinetics.
Definition at line 14 of file point_reactor_kinetics.h.
|
explicit |
Constructor.
Definition at line 68 of file point_reactor_kinetics.cc.
|
overridevirtual |
Advance time values function.
Reimplemented from chi_physics::Solver.
Definition at line 208 of file point_reactor_kinetics.cc.
|
overridevirtual |
Execution function.
Reimplemented from chi_physics::Solver.
Definition at line 155 of file point_reactor_kinetics.cc.
|
overridevirtual |
Generalized query for information supporting varying returns.
Reimplemented from chi_physics::Solver.
Definition at line 215 of file point_reactor_kinetics.cc.
|
static |
Sets input parameters.
Definition at line 19 of file point_reactor_kinetics.cc.
|
overridevirtual |
Initialize function.
Reimplemented from chi_physics::Solver.
Definition at line 96 of file point_reactor_kinetics.cc.
| double prk::TransientSolver::Period | ( | ) | const |
Returns the period computed for the last time step.
Definition at line 255 of file point_reactor_kinetics.cc.
| double prk::TransientSolver::PopulationNew | ( | ) | const |
Returns the population at the next time step.
Definition at line 252 of file point_reactor_kinetics.cc.
| double prk::TransientSolver::PopulationPrev | ( | ) | const |
Returns the population at the previous time step.
Definition at line 250 of file point_reactor_kinetics.cc.
|
overridevirtual |
PRK Transient solver settable properties:
rho, The current reactivityParents:
Base solver settable properties:
dt, Timestep sizetime, Current time Reimplemented from chi_physics::Solver.
Definition at line 294 of file point_reactor_kinetics.cc.
| void prk::TransientSolver::SetRho | ( | double | value | ) |
Sets the value of rho.
Definition at line 279 of file point_reactor_kinetics.cc.
| std::vector< double > prk::TransientSolver::SolutionNew | ( | ) | const |
Returns the solution at the next time step.
Definition at line 272 of file point_reactor_kinetics.cc.
| std::vector< double > prk::TransientSolver::SolutionPrev | ( | ) | const |
Returns the solution at the previous time step.
Definition at line 267 of file point_reactor_kinetics.cc.
|
overridevirtual |
Step function
Reimplemented from chi_physics::Solver.
Definition at line 167 of file point_reactor_kinetics.cc.
| double prk::TransientSolver::TimeNew | ( | ) | const |
Returns the time computed for the next time step.
Definition at line 261 of file point_reactor_kinetics.cc.
| double prk::TransientSolver::TimePrev | ( | ) | const |
Returns the time computed for the last time step.
Definition at line 258 of file point_reactor_kinetics.cc.
|
private |
Definition at line 25 of file point_reactor_kinetics.h.
|
private |
Definition at line 27 of file point_reactor_kinetics.h.
|
private |
Definition at line 18 of file point_reactor_kinetics.h.
|
private |
Definition at line 19 of file point_reactor_kinetics.h.
|
private |
Definition at line 25 of file point_reactor_kinetics.h.
|
private |
Definition at line 17 of file point_reactor_kinetics.h.
|
private |
Definition at line 24 of file point_reactor_kinetics.h.
|
private |
Definition at line 28 of file point_reactor_kinetics.h.
|
private |
Definition at line 26 of file point_reactor_kinetics.h.
|
private |
Definition at line 20 of file point_reactor_kinetics.h.
|
private |
Definition at line 21 of file point_reactor_kinetics.h.
|
private |
Definition at line 22 of file point_reactor_kinetics.h.
|
private |
Definition at line 26 of file point_reactor_kinetics.h.
|
private |
Definition at line 26 of file point_reactor_kinetics.h.