w90_conv_spn Module

Module to convert spn files from formatted to unformmated and vice versa - useful for switching between computers


Uses

  • module~~w90_conv_spn~~UsesGraph module~w90_conv_spn w90_conv_spn module~w90_constants w90_constants module~w90_conv_spn->module~w90_constants

Used by

  • module~~w90_conv_spn~~UsedByGraph module~w90_conv_spn w90_conv_spn program~w90spn2spn w90spn2spn program~w90spn2spn->module~w90_conv_spn

Variables

Type Visibility Attributes Name Initial
logical, public, save :: export_flag
character(len=60), public, save :: header
complex(kind=dp), public, allocatable, save :: spn_o(:,:,:,:)

Subroutines

public subroutine io_error(error_msg, stdout)

Abort the code giving an error message

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: error_msg
integer :: stdout

public subroutine print_usage(stdout)

Writes the usage of the program to stdout

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: stdout

public subroutine conv_get_seedname(stdout, seedname)

Set the seedname from the command line

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: stdout
character(len=50), intent(inout) :: seedname

public subroutine conv_read_spn(stdout, seedname)

Read unformatted spn file

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: stdout
character(len=50), intent(in) :: seedname

public subroutine conv_read_spn_fmt(stdout, seedname)

Read formatted spn file

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: stdout
character(len=50), intent(in) :: seedname

public subroutine conv_write_spn(stdout, seedname)

Write unformatted spn file

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: stdout
character(len=50), intent(in) :: seedname

public subroutine conv_write_spn_fmt(stdout, seedname)

Write formatted spn file

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: stdout
character(len=50), intent(in) :: seedname