(git:6a2e663)
pao_io Module Reference

Routines for reading and writing restart files. More...

Functions/Subroutines

subroutine, public pao_read_restart (pao, qs_env)
 Reads restart file. More...
 
subroutine, public pao_read_raw (filename, param, hmat, kinds, atom2kind, positions, xblocks, ml_range)
 Reads a restart file into temporary datastructures. More...
 
subroutine, public pao_kinds_ensure_equal (pao, qs_env, ikind, pao_kind)
 Ensure that the kind read from the restart is equal to the kind curretly in use. More...
 
subroutine, public pao_write_restart (pao, qs_env, energy)
 Writes restart file. More...
 
subroutine, public pao_write_ks_matrix_csr (qs_env, ls_scf_env)
 writing the KS matrix (in terms of the PAO basis) in csr format into a file More...
 
subroutine, public pao_write_s_matrix_csr (qs_env, ls_scf_env)
 writing the overlap matrix (in terms of the PAO basis) in csr format into a file More...
 

Detailed Description

Routines for reading and writing restart files.

Author
Ole Schuett

Function/Subroutine Documentation

◆ pao_read_restart()

subroutine, public pao_io::pao_read_restart ( type(pao_env_type), pointer  pao,
type(qs_environment_type), pointer  qs_env 
)

Reads restart file.

Parameters
pao...
qs_env...

Definition at line 86 of file pao_io.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pao_read_raw()

subroutine, public pao_io::pao_read_raw ( character(len=default_path_length), intent(in)  filename,
character(len=default_string_length), intent(out)  param,
real(dp), dimension(:, :), allocatable  hmat,
type(pao_iokind_type), dimension(:), allocatable  kinds,
integer, dimension(:), allocatable  atom2kind,
real(dp), dimension(:, :), allocatable  positions,
type(pao_ioblock_type), dimension(:), allocatable  xblocks,
integer, dimension(2), intent(out), optional  ml_range 
)

Reads a restart file into temporary datastructures.

Parameters
filename...
param...
hmat...
kinds...
atom2kind...
positions...
xblocks...
ml_range...

Definition at line 182 of file pao_io.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pao_kinds_ensure_equal()

subroutine, public pao_io::pao_kinds_ensure_equal ( type(pao_env_type), pointer  pao,
type(qs_environment_type), pointer  qs_env,
integer, intent(in)  ikind,
type(pao_iokind_type), intent(in)  pao_kind 
)

Ensure that the kind read from the restart is equal to the kind curretly in use.

Parameters
pao...
qs_env...
ikind...
pao_kind...

Definition at line 325 of file pao_io.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pao_write_restart()

subroutine, public pao_io::pao_write_restart ( type(pao_env_type), pointer  pao,
type(qs_environment_type), pointer  qs_env,
real(dp)  energy 
)

Writes restart file.

Parameters
pao...
qs_env...
energy...

Definition at line 386 of file pao_io.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pao_write_ks_matrix_csr()

subroutine, public pao_io::pao_write_ks_matrix_csr ( type(qs_environment_type), pointer  qs_env,
type(ls_scf_env_type), target  ls_scf_env 
)

writing the KS matrix (in terms of the PAO basis) in csr format into a file

Parameters
qs_envqs environment
ls_scf_envls environment
Author
Mohammad Hossein Bani-Hashemian

Definition at line 557 of file pao_io.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pao_write_s_matrix_csr()

subroutine, public pao_io::pao_write_s_matrix_csr ( type(qs_environment_type), pointer  qs_env,
type(ls_scf_env_type), target  ls_scf_env 
)

writing the overlap matrix (in terms of the PAO basis) in csr format into a file

Parameters
qs_envqs environment
ls_scf_envls environment
Author
Mohammad Hossein Bani-Hashemian

Definition at line 632 of file pao_io.F.

Here is the call graph for this function:
Here is the caller graph for this function: