PROGRESS  master
prg_sp2parser_mod Module Reference

SP2 parser. More...

Data Types

type  sp2data_type
 General SP2 solver type. More...
 

Functions/Subroutines

subroutine, public prg_parse_sp2 (sp2data, filename)
 The parser for SP2 solver. More...
 

Variables

integer, parameter dp = kind(1.0d0)
 

Detailed Description

SP2 parser.

This module is used to parse all the input variables for the SP2 method electronic structure solver. Adding a new input keyword to the parser:

  • If the variable is real, we have to increase nkey_re.
  • Add the keyword (character type) in the keyvector_re vector.
  • Add a default value (real type) in the valvector_re.
  • Define a new variable and pass the value through valvector_re(num) where num is the position of the new keyword in the vector.

Function/Subroutine Documentation

◆ prg_parse_sp2()

subroutine, public prg_sp2parser_mod::prg_parse_sp2 ( type(sp2data_type), intent(inout)  sp2data,
character(len=*)  filename 
)

The parser for SP2 solver.

Definition at line 49 of file prg_sp2parser_mod.F90.

Variable Documentation

◆ dp

integer, parameter prg_sp2parser_mod::dp = kind(1.0d0)
private

Definition at line 22 of file prg_sp2parser_mod.F90.