MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Sets up and integrates the models. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine, public | integration::preprocess |
Prepares integration. | |
subroutine, public | integration::integrate |
Calculates the evolution of concentrations of gases. More... | |
subroutine | integration::drain_residual (n, x, fvec, iflag) |
Residual function for the draininng. More... | |
Variables | |
procedure(sub), pointer | integration::odesystem_ptr => null() |
pointer to the subroutine with the system of ODEs | |
Sets up and integrates the models.
Prepares for and uses the ODEPACK solver..
Definition in file integration.f90.
subroutine integration::drain_residual | ( | integer, intent(in) | n, |
real(dp), dimension(n), intent(in) | x, | ||
real(dp), dimension(n), intent(out) | fvec, | ||
integer, intent(inout) | iflag | ||
) |
Residual function for the draininng.
[in] | n | number of equations |
[in,out] | iflag | error flag |
[in] | x | independent variables |
[out] | fvec | function values |
Definition at line 111 of file integration.f90.
References globals::y.
subroutine public integration::integrate | ( | ) |
Calculates the evolution of concentrations of gases.
Performes the main integration loop.
Loads the inputs, prepares the integration and holds the main integration loop. And cleans up afterwards.
Definition at line 19 of file integration.f90.
References globals::dcell, globals::dfoam, globals::dg, globals::dgas, globals::diffmodel, globals::divcell, globals::divsheet, globals::divwall, globals::dsheet, globals::dwall, globals::dz, globals::eps, globals::fstrut, globals::ncell, globals::ngas, globals::nroutputs, globals::pbg, globals::pressure, globals::rhof, globals::rhop, globals::sg, globals::sheet, globals::sheetdg, globals::sheetsg, globals::solmodel, globals::tbeg, globals::temp, globals::temp_cond, tend, and globals::xg.