MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Interface for sundials. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | fcvfun (t, y, ydot, ipar, rpar, ier) |
Model interface for sundials. More... | |
Interface for sundials.
Special interface needed for integration by sundials.
Definition in file model_sundials.f90.
subroutine fcvfun | ( | real(dp) | t, |
real(dp), dimension(neq) | y, | ||
real(dp), dimension(neq) | ydot, | ||
integer(c_long), dimension(1) | ipar, | ||
real(dp), dimension(1) | rpar, | ||
integer | ier | ||
) |
Model interface for sundials.
Must be outside of the module. The name cannot be changed. The name of the model subroutine is hardcoded in here.
ier | error flag |
ipar | integer parameters |
t | time |
y | integrated variables |
ydot | derivatives of integrated variables |
rpar | real parameters |
Definition at line 15 of file model_sundials.f90.