MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling

Subroutines controlling input and output. More...

Go to the source code of this file.

Functions/Subroutines

subroutine, public in_out::set_paths
 Sets paths to all files. More...
 
subroutine, public in_out::read_inputs
 Sets input values from the input file. More...
 
subroutine, public in_out::save_integration_header
 Opens output files and writes a header. More...
 
subroutine, public in_out::save_integration_step (iout)
 Writes an integration step to output file. More...
 
subroutine, public in_out::save_integration_close (iout)
 Closes output files. More...
 
subroutine, public in_out::load_old_results
 Loads old results. More...
 

Detailed Description

Subroutines controlling input and output.

Author
Pavel Ferkl

All input and output should be handled through this module.

Definition in file in_out.f90.

Function/Subroutine Documentation

◆ load_old_results()

subroutine, public in_out::load_old_results ( )

Loads old results.

Reads the precalculated evolution of bubble radius.

Definition at line 402 of file in_out.f90.

References globals::outputs_1d.

◆ read_inputs()

◆ save_integration_close()

subroutine, public in_out::save_integration_close ( integer, intent(in)  iout)

Closes output files.

Soubroutine is called after the integration finishes.

Parameters
[in]ioutnumber of the time step

Definition at line 362 of file in_out.f90.

References globals::fi5, globals::its, globals::kin_model, globals::outputs_af, globals::pressure, globals::radius, and globals::rhofoam.

◆ save_integration_header()

subroutine, public in_out::save_integration_header ( )

Opens output files and writes a header.

Names of variables are written on the first line in the file. Soubroutine is called before the integration commences.

Definition at line 302 of file in_out.f90.

References globals::fi5, globals::kin_model, globals::outputs_1d, globals::outputs_c, globals::outputs_drain, globals::outputs_gr, and globals::outputs_kin.

◆ save_integration_step()

subroutine, public in_out::save_integration_step ( integer, intent(in)  iout)

◆ set_paths()

subroutine, public in_out::set_paths ( )

Sets paths to all files.

Holds the names and paths of all files.

Definition at line 22 of file in_out.f90.

References globals::fileplacein, globals::fileplaceout, globals::inputs, globals::outputs_1d, globals::outputs_af, globals::outputs_c, globals::outputs_drain, globals::outputs_gr, and globals::outputs_kin.