MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
File input and output. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine, public | in_out::read_inputs |
Sets input values from the input file. More... | |
subroutine, public | in_out::save_int_header |
Creates headers for outputs. | |
subroutine, public | in_out::save_int_step (y, t) |
Saves results at current time. More... | |
subroutine, public | in_out::save_int_close |
Closes files. | |
subroutine, public | in_out::load_bubble_growth (matrix) |
Loads evolution of bubble growth and polymer viscosity. More... | |
File input and output.
All file input and output should be handled through this module.
Definition in file in_out.f90.
subroutine, public in_out::load_bubble_growth | ( | real(dp), dimension(:,:), intent(inout), allocatable | matrix | ) |
Loads evolution of bubble growth and polymer viscosity.
[in,out] | matrix | results of bubble growth simulation |
Definition at line 119 of file in_out.f90.
subroutine public in_out::read_inputs | ( | ) |
Sets input values from the input file.
Reads inputs from json file.
Quantites are saved in global variables.
Definition at line 44 of file in_out.f90.
References globals::abs_tol, globals::amine_ini, globals::aoh, globals::avconc, globals::aw, globals::catalyst, globals::cbl, globals::co2_pos, globals::cpblg, globals::cpbll, globals::cppol, globals::d, globals::d0, globals::dhoh, globals::dhv, globals::dhw, globals::diff_model, globals::dilution, globals::eoh, globals::eta, globals::ew, globals::gelpointconv, globals::geometry, globals::inertial_term, globals::inputs, globals::int_meth, globals::integrator, globals::isocyanate1_ini, globals::isocyanate2_ini, globals::isocyanate3_ini, globals::itens_model, globals::its, globals::kh, globals::kin_model, globals::maxts, globals::mb, globals::mb2, globals::mb3, globals::mbl, globals::mshco, globals::nb0, globals::nco0, globals::ngas, globals::oh0, globals::p, globals::pamb, globals::polyol1_ini, globals::polyol2_ini, globals::pressure, globals::r0, globals::rel_tol, globals::rhobl, globals::rhop, globals::rhop_model, globals::shooting, globals::sigma, globals::sol_model, globals::solcorr, globals::surfactantpresent, globals::temp0, globals::visc_model, globals::w0, globals::wblpol, and globals::xgas.
subroutine, public in_out::save_int_step | ( | real(dp), dimension(:), intent(in) | y, |
real(dp), intent(in) | t | ||
) |
Saves results at current time.
[in] | t | time |
[in] | y | integrated variables |
Definition at line 89 of file in_out.f90.
References globals::dr.