GBS
basic_input_type_mod::tbasicinput Type Reference
+ Inheritance diagram for basic_input_type_mod::tbasicinput:
+ Collaboration diagram for basic_input_type_mod::tbasicinput:

Private Member Functions

procedure load_parameters
 
procedure print_parameters
 
procedure store_parameters_hdf5
 

Private Attributes

logical nlres = .false.
 Restart flag. More...
 
logical nlsave = .true.
 Checkpoint flag. More...
 
logical nldebug = .false.
 Debug flag. More...
 
integer nrun = 1
 Number of time steps to run. More...
 
real(dp) job_time = 3600.0_dp
 Time allocated to the time loop in seconds. More...
 
real(dp) saverst_time = 1000000.0_dp
 Duration, in seconds, between two checkpoint files creation. More...
 
real(dp) tmax = 100000.0_dp
 Maximum total simulation time in seconds. More...
 
real(dp) extra_time = 60.0_dp
 Extra time allocated in seconds. More...
 
real(dp) dt = 1.0_dp
 Time step. More...
 

Member Function/Subroutine Documentation

◆ load_parameters()

procedure basic_input_type_mod::tbasicinput::load_parameters
private

◆ print_parameters()

procedure basic_input_type_mod::tbasicinput::print_parameters
private

◆ store_parameters_hdf5()

procedure basic_input_type_mod::tbasicinput::store_parameters_hdf5
private

Member Data Documentation

◆ dt

real(dp) basic_input_type_mod::tbasicinput::dt = 1.0_dp
private

Time step.

◆ extra_time

real(dp) basic_input_type_mod::tbasicinput::extra_time = 60.0_dp
private

Extra time allocated in seconds.

If there is less extra_time left in the simulation, the time loop is automatically stopped to finalize the run properly.

◆ job_time

real(dp) basic_input_type_mod::tbasicinput::job_time = 3600.0_dp
private

Time allocated to the time loop in seconds.

◆ nldebug

logical basic_input_type_mod::tbasicinput::nldebug = .false.
private

Debug flag.

◆ nlres

logical basic_input_type_mod::tbasicinput::nlres = .false.
private

Restart flag.

If .true., the run is restarted from a previous one. If .false., the run is started from scratch.

◆ nlsave

logical basic_input_type_mod::tbasicinput::nlsave = .true.
private

Checkpoint flag.

If .true., checkpoint files are created to be able to restart the run in the future. If .false, such files are not created.

◆ nrun

integer basic_input_type_mod::tbasicinput::nrun = 1
private

Number of time steps to run.

◆ saverst_time

real(dp) basic_input_type_mod::tbasicinput::saverst_time = 1000000.0_dp
private

Duration, in seconds, between two checkpoint files creation.

This parameter is used to create checkpoint files during the simulation. In case of a crash, those checkpoint files can be used as restart files to avoid starting from scratch.

◆ tmax

real(dp) basic_input_type_mod::tbasicinput::tmax = 100000.0_dp
private

Maximum total simulation time in seconds.


The documentation for this type was generated from the following file: