Wrapper for the 3rd party RKSuite90 solver. More...
Functions/Subroutines | |
real(c_double) function, dimension(size(y)) | f (t, y) |
subroutine, public | rksuite_solve (trx, itot, non, n0, n, delta_t, diag, a, b, zero_flux_step, is_adjoint) |
Variables | |
type(origen_transitionmatrixp) | xtrx |
Library data. More... | |
real(c_double), dimension(:), allocatable | xd |
Diagonal elements of the transition matrix. More... | |
real(c_double), dimension(:), allocatable | xa |
Nondiagonal elements of the transition matrix. More... | |
real(c_double), dimension(:), allocatable | xb |
Right side of the equation (source term) More... | |
real(c_double) | fake_flux |
fake flux level to last_transition is decay if=0 More... | |
integer, dimension(:), allocatable | xloc |
location array More... | |
Detailed Description
Wrapper for the 3rd party RKSuite90 solver.
Function/Subroutine Documentation
|
private |
- Examples:
- tstGridView.cpp, tstMaterial.cpp, tstState.cpp, tstStateSet.cpp, tstTime.cpp, and tstTransitionSystem_Gen.cpp.
References fake_flux, xa, xb, xd, xloc, and xtrx.
Referenced by DiscreteSpectrum::bin(), StateSet::create_interp_responses(), Obiwan_diff::diff(), Material::flux_hist(), get_decay_data(), Origen::graphvizLibrary(), Obiwan_diff::populate(), TransitionSystem::populate_gains_impl(), print_yield_data(), rksuite_solve(), GridData_TransitionCoeff::setr(), TransitionSystem_Gen_Setup::SetUp(), GridData_TransitionCoeff::setx(), Origen::tabulateTransitionCoeff(), TEST(), Origen::test::TEST(), TEST_F(), StateSetIO_s62b::write(), LibraryIO_s61::write(), YieldResourceIO_stab1::write(), and STab1Writer::writeTerminatorLine().
subroutine, public kernel_rksuite::rksuite_solve | ( | type(origen_transitionmatrixp), intent(in) | trx, |
integer, intent(in) | itot, | ||
integer, intent(in) | non, | ||
real(c_double), dimension(itot), intent(in) | n0, | ||
real(c_double), dimension(itot), intent(out) | n, | ||
real(c_double), intent(in) | delta_t, | ||
real(c_double), dimension(itot), intent(in) | diag, | ||
real(c_double), dimension(non), intent(in) | a, | ||
real(c_double), dimension(itot), intent(in) | b, | ||
logical, intent(in) | zero_flux_step, | ||
logical, intent(in) | is_adjoint | ||
) |
- Parameters
-
[in] trx Library data [in] itot Total number of nuclides [in] non Number of non-zero matrix elements [in] diag Diagonal elements of the transition matrix [in] a Nondiagonal elements of the transition matrix [in] b Right side of the equation (source term) [in] n0 initial concentrations [out] n final concentrations [in] delta_t Time step length in seconds [in] zero_flux_step is this a zero-flux (=decay) step? [in] is_adjoint is this an adjoint calculation?
References f(), fake_flux, origen_iofunctions_m::rstop(), xa, xb, xd, xloc, and xtrx.
Variable Documentation
type(origen_transitionmatrixp) xtrx |
Library data.
Referenced by f(), and rksuite_solve().
real(c_double), dimension(:), allocatable xd |
Diagonal elements of the transition matrix.
Referenced by f(), and rksuite_solve().
real(c_double), dimension(:), allocatable xa |
Nondiagonal elements of the transition matrix.
Referenced by f(), and rksuite_solve().
real(c_double), dimension(:), allocatable xb |
Right side of the equation (source term)
Referenced by f(), and rksuite_solve().
real(c_double) fake_flux |
fake flux level to last_transition is decay if=0
Referenced by f(), and rksuite_solve().
integer, dimension(:), allocatable xloc |
location array
Referenced by f(), and rksuite_solve().