(git:9ea9339)
Loading...
Searching...
No Matches
negf_io Module Reference

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

Functions/Subroutines

subroutine, public negf_restart_file_name (filename, exist, negf_section, logger, icontact, ispin, h00, h01, s00, s01, h, s, hc, sc)
 Checks if the restart file exists and returns the filename.
 
subroutine, public negf_print_matrix_to_file (filename, matrix)
 Prints full matrix to a file.
 
subroutine, public negf_read_matrix_from_file (filename, matrix)
 Reads full matrix from a file.
 

Detailed Description

Routines for reading and writing NEGF restart files.

Author
Dmitry Ryndyk (12.2025)

Function/Subroutine Documentation

◆ negf_restart_file_name()

subroutine, public negf_io::negf_restart_file_name ( character(len=default_path_length), intent(out)  filename,
logical, intent(out)  exist,
type(section_vals_type), pointer  negf_section,
type(cp_logger_type), pointer  logger,
integer, intent(in), optional  icontact,
integer, intent(in), optional  ispin,
logical, intent(in), optional  h00,
logical, intent(in), optional  h01,
logical, intent(in), optional  s00,
logical, intent(in), optional  s01,
logical, intent(in), optional  h,
logical, intent(in), optional  s,
logical, intent(in), optional  hc,
logical, intent(in), optional  sc 
)

Checks if the restart file exists and returns the filename.

Parameters
filename...
exist...
negf_section...
logger...
icontact...
ispin...
h00...
h01...
s00...
s01...
h...
s...
hc...
sc...
History
  • 12.2025 created [Dmitry Ryndyk]

Definition at line 57 of file negf_io.F.

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

◆ negf_print_matrix_to_file()

subroutine, public negf_io::negf_print_matrix_to_file ( character(len=default_path_length), intent(in)  filename,
real(kind=dp), dimension(:, :), intent(in)  matrix 
)

Prints full matrix to a file.

Parameters
filename...
matrix...
History
  • 12.2025 created [Dmitry Ryndyk]

Definition at line 256 of file negf_io.F.

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

◆ negf_read_matrix_from_file()

subroutine, public negf_io::negf_read_matrix_from_file ( character(len=default_path_length), intent(in)  filename,
real(kind=dp), dimension(:, :), intent(inout)  matrix 
)

Reads full matrix from a file.

Parameters
filename...
matrix...
History
  • 12.2025 created [Dmitry Ryndyk]

Definition at line 286 of file negf_io.F.

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