PROGRESS  master
prg_modelham_mod Module Reference

The prg_hamiltonian module. More...

Data Types

type  mham_type
 General ModelHam type. More...
 

Functions/Subroutines

subroutine, public prg_parse_mham (mham, filename)
 Model Ham parse. More...
 
subroutine, public prg_twolevel_model (ea, eb, dab, daiaj, dbibj, dec, rcoeff, reshuffle, seed, h_bml, verbose)
 Construct a two-level model Hamiltonian. More...
 

Variables

integer, parameter dp = kind(1.0d0)
 

Detailed Description

The prg_hamiltonian module.

This module will create a model Hamiltonian for benchmarking purposes.

Function/Subroutine Documentation

◆ prg_parse_mham()

subroutine, public prg_modelham_mod::prg_parse_mham ( type(mham_type), intent(inout)  mham,
character(len=*)  filename 
)

Model Ham parse.

Definition at line 36 of file prg_modelham_mod.F90.

◆ prg_twolevel_model()

subroutine, public prg_modelham_mod::prg_twolevel_model ( real(dp), intent(in)  ea,
real(dp), intent(in)  eb,
real(dp), intent(in)  dab,
real(dp), intent(in)  daiaj,
real(dp), intent(in)  dbibj,
real(dp dec,
real(dp), intent(in)  rcoeff,
logical, intent(in)  reshuffle,
integer, intent(in)  seed,
type(bml_matrix_t), intent(inout)  h_bml,
integer, intent(in)  verbose 
)

Construct a two-level model Hamiltonian.

Parameters
eaFirst onsite energy
ebSecond onsite energy
dabOnsite Hamiltonian element
daiajIntersite first level Hamiltonian elements
dbibjIntersite second level Hamiltonian elements
decDecay constant
rcoeffRandom coefficient
reshuffleIf rows needs to be reshuffled
seedRandom seed
h_bmlOutput hamiltonian matrix
verboseVerbosity level

Definition at line 116 of file prg_modelham_mod.F90.

Variable Documentation

◆ dp

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

Definition at line 15 of file prg_modelham_mod.F90.