MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
model_sundials.f90
Go to the documentation of this file.
1 
7 
8 
9 !********************************beginning*************************************
14 subroutine fcvfun(t, y, ydot, ipar, rpar, ier)
15  use iso_c_binding
16  use constants, only:dp
17  use integration, only:neq
18  use model, only: odesystem
19  implicit none
20  integer :: ier
21  integer(c_long) :: ipar(1)
22  real(dp) :: t
23  real(dp) :: y(neq)
24  real(dp) :: ydot(neq)
25  real(dp) :: rpar(1)
26  call odesystem(neq, t, y, ydot)
27 end subroutine fcvfun
28 !***********************************end****************************************
subroutine fcvfun(t, y, ydot, ipar, rpar, ier)
Model interface for sundials.