Dice Fortran Backend Documentation
restart_fns.f90 File Reference

Go to the source code of this file.

Modules

module  restart_fns
 Contains routines to read and write restart files.
 

Functions/Subroutines

subroutine restart_fns::write_res_nml (i_qoi, i_par, auto, guess)
 Writes the restart file res_nml.txt, using the current states of simulation variables. More...
 
subroutine restart_fns::read_res_nml (res)
 Reads the RESTART namelist in res_nml.txt. Assigns the input data to the corresponding variables in the restart derived type instance 'res'. More...
 
subroutine restart_fns::error_check (ierr)
 Checks error status at each point of the NetCDF read. More...
 
subroutine restart_fns::read_energies (filename, energies, variances, accept_rates)
 Reads restart files with energies, variances and acceptence arrays. More...
 
subroutine restart_fns::read_energies_h2plus (filename, energies, variances, accept_rates, c_array)
 Reads restart files with energies, variances and acceptence arrays. Also reads one extra array of optimized 'c' parameters for H2plus problem. More...
 
subroutine restart_fns::read_energies_h2 (filename, energies, variances, accept_rates, a_array, b_array)
 Reads restart files with energies, variances and acceptence arrays. Also reads two extra arrays of optimized parameters ('a' and 'beta') for H2 problem. More...
 

Variables

integer restart_fns::fu
 To store LUN of files during i/o. More...
 
integer restart_fns::rc
 To capture error states during file i/o. More...