kernel_rksuite Module Reference

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

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]trxLibrary data
[in]itotTotal number of nuclides
[in]nonNumber of non-zero matrix elements
[in]diagDiagonal elements of the transition matrix
[in]aNondiagonal elements of the transition matrix
[in]bRight side of the equation (source term)
[in]n0initial concentrations
[out]nfinal concentrations
[in]delta_tTime step length in seconds
[in]zero_flux_stepis this a zero-flux (=decay) step?
[in]is_adjointis 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().