Octopus
restart.F90 File Reference

Go to the source code of this file.

Modules

module  restart_oct_m
 

Data Types

interface  restart_oct_m::drestart_write_binary
 
interface  restart_oct_m::zrestart_write_binary
 
interface  restart_oct_m::drestart_read_binary
 
interface  restart_oct_m::zrestart_read_binary
 
interface  restart_oct_m::restart_read_mesh_function
 
interface  restart_oct_m::restart_write_mesh_function
 
type  restart_oct_m::restart_t
 
type  restart_oct_m::restart_data_t
 
interface  restart_oct_m::restart_block_signals
 from signals.c More...
 
interface  restart_oct_m::restart_unblock_signals
 

Functions/Subroutines

logical function, public restart_oct_m::clean_stop (comm)
 returns true if a file named stop exists More...
 
subroutine, public restart_oct_m::restart_module_init (namespace)
 
subroutine, public restart_oct_m::restart_init (restart, namespace, data_type, type, mc, ierr, mesh, dir, exact)
 Initializes a restart object. More...
 
subroutine, public restart_oct_m::restart_end (restart)
 
character(len=max_path_len) function, public restart_oct_m::restart_dir (restart)
 Returns the name of the directory containing the restart information. The use of this function should be avoided, as the access to the restart data should always be done through this module, and it is only provided to allow some older parts of the code to keep functioning until someone fixes them. More...
 
subroutine, public restart_oct_m::restart_open_dir (restart, dirname, ierr)
 Change the restart directory to dirname, where "dirname" is a subdirectory of the base restart directory. More...
 
subroutine, public restart_oct_m::restart_close_dir (restart)
 Change back to the base directory. To be called after restart_open_dir. More...
 
subroutine, public restart_oct_m::restart_mkdir (restart, dirname)
 Make directory "dirname" inside the current restart directory. More...
 
subroutine, public restart_oct_m::restart_rm (restart, name)
 Remove directory or file "name" that is located inside the current restart directory. More...
 
integer function, public restart_oct_m::restart_open (restart, filename, status, position, silent)
 Open file "filename" found inside the current restart directory. Depending on the type of restart, the file will be used for reading (RESTART_TYPE_LOAD), or for writing (RESTART_TYPE_DUMP). Note that this function only be used to open formatted files and that unformatted data should be accessed using the restart_*_binary subroutines. More...
 
subroutine, public restart_oct_m::restart_write (restart, iunit, lines, nlines, ierr)
 
subroutine, public restart_oct_m::restart_read (restart, iunit, lines, nlines, ierr)
 
subroutine, public restart_oct_m::restart_close (restart, iunit)
 Close a file previously opened with restart_open. More...
 
logical pure function, public restart_oct_m::restart_skip (restart)
 Returns true if the restart information should neither be read nor written. This might happen because the user chose not to write any restart information, or because the restart information is not available for reading. More...
 
logical pure function, public restart_oct_m::restart_has_flag (restart, flag)
 Returns true if... More...
 
logical pure function, public restart_oct_m::restart_has_map (restart)
 Returns true if the restart was from a different order of mesh points. More...
 
logical pure function, public restart_oct_m::restart_are_basedirs_equal (type1, type2)
 Returns true if... More...
 
subroutine restart_oct_m::drestart_write_mesh_function (restart, space, filename, mesh, ff, ierr, root)
 
subroutine restart_oct_m::drestart_read_mesh_function (restart, space, filename, mesh, ff, ierr)
 In domain parallel case each process reads a part of the file. At the end all the processes have the corresponding mesh part. More...
 
subroutine restart_oct_m::drestart_write_binary1 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_write_binary2 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_write_binary3 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_write_binary5 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_read_binary1 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::drestart_read_binary2 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::drestart_read_binary3 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::drestart_read_binary5 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::drestart_write_binary1_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_write_binary2_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_write_binary3_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_write_binary5_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::drestart_read_binary1_int32 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::drestart_read_binary2_int32 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::drestart_read_binary3_int32 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::drestart_read_binary5_int32 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_write_mesh_function (restart, space, filename, mesh, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_read_mesh_function (restart, space, filename, mesh, ff, ierr)
 In domain parallel case each process reads a part of the file. At the end all the processes have the corresponding mesh part. More...
 
subroutine restart_oct_m::zrestart_write_binary1 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_write_binary2 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_write_binary3 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_write_binary5 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_read_binary1 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_read_binary2 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_read_binary3 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_read_binary5 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_write_binary1_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_write_binary2_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_write_binary3_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_write_binary5_int32 (restart, filename, np, ff, ierr, root)
 
subroutine restart_oct_m::zrestart_read_binary1_int32 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_read_binary2_int32 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_read_binary3_int32 (restart, filename, np, ff, ierr)
 
subroutine restart_oct_m::zrestart_read_binary5_int32 (restart, filename, np, ff, ierr)
 

Variables

integer, parameter, public restart_oct_m::restart_type_dump = 1
 
integer, parameter, public restart_oct_m::restart_type_load = 2
 
integer, parameter, public restart_oct_m::restart_undefined = -1
 
integer, parameter, public restart_oct_m::restart_all = 0
 
integer, parameter, public restart_oct_m::restart_gs = 1
 
integer, parameter, public restart_oct_m::restart_unocc = 2
 
integer, parameter, public restart_oct_m::restart_td = 3
 
integer, parameter, public restart_oct_m::restart_em_resp = 4
 
integer, parameter, public restart_oct_m::restart_em_resp_fd = 5
 
integer, parameter, public restart_oct_m::restart_kdotp = 6
 
integer, parameter, public restart_oct_m::restart_vib_modes = 7
 
integer, parameter, public restart_oct_m::restart_vdw = 8
 
integer, parameter, public restart_oct_m::restart_casida = 9
 
integer, parameter, public restart_oct_m::restart_oct = 10
 
integer, parameter, public restart_oct_m::restart_partition = 11
 
integer, parameter, public restart_oct_m::restart_proj = 12
 
integer, parameter restart_oct_m::restart_n_data_types = 12
 
integer, parameter, public restart_oct_m::restart_flag_states = 1
 
integer, parameter, public restart_oct_m::restart_flag_rho = 2
 
integer, parameter, public restart_oct_m::restart_flag_vhxc = 4
 
integer, parameter, public restart_oct_m::restart_flag_mix = 8
 
integer, parameter, public restart_oct_m::restart_flag_skip = 16
 
type(restart_data_t), dimension(restart_n_data_types) restart_oct_m::info