tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
tblite_param_hamiltonian::hamiltonian_record Type Reference

Hamiltonian parametrization record. More...

Inheritance diagram for tblite_param_hamiltonian::hamiltonian_record:
tblite_param_serde::serde_record

Public Member Functions

generic load (self, array, offset, base, mask, error)
 Read parametrization data from parameter array.
 
generic dump (self, array, offset, mask, error)
 Write parametrization data to parameter array.
 
procedure load_from_toml (self, table, error)
 Read parametrization data from TOML data structure.
 
procedure dump_to_toml (self, table, error)
 Write parametrization data to TOML data structure.
 
- Public Member Functions inherited from tblite_param_serde::serde_record
generic load (self, file, error)
 Reading of parametrization data.
 
generic load (self, unit, error)
 Reading of parametrization data.
 
generic load (self, table, error)
 Reading of parametrization data.
 
procedure(load_from_toml), deferred load_from_toml (self, table, error)
 Read parametrization data from TOML data structure.
 
generic dump (self, file, error)
 Writing of parametrization data.
 
generic dump (self, unit, error)
 Writing of parametrization data.
 
generic dump (self, table, error)
 Writing of parametrization data.
 
procedure(dump_to_toml), deferred dump_to_toml (self, table, error)
 Write parametrization data to TOML data structure.
 

Data Fields

character(len=symbol_length), dimension(:), allocatable sym
 
character(len=:), allocatable cn
 
real(wp), dimension(:, :), allocatable kpair
 
real(wp), dimension(0:4, 0:4) ksh
 
real(wp) kpol
 
real(wp) enscale
 
real(wp) wexp
 
integer lmax
 

Detailed Description

Hamiltonian parametrization record.

Member Function/Subroutine Documentation

◆ dump_to_toml()

procedure tblite_param_hamiltonian::hamiltonian_record::dump_to_toml ( class(hamiltonian_record), intent(in) self,
type(toml_table), intent(inout) table,
type(error_type), intent(out), allocatable error )

Write parametrization data to TOML data structure.

Parameters
[in]selfInstance of the parametrization data
[in,out]tableData structure
[out]errorError handling

◆ load_from_toml()

procedure tblite_param_hamiltonian::hamiltonian_record::load_from_toml ( class(hamiltonian_record), intent(inout) self,
type(toml_table), intent(inout) table,
type(error_type), intent(out), allocatable error )

Read parametrization data from TOML data structure.

Parameters
[in,out]selfInstance of the parametrization data
[in,out]tableData structure
[out]errorError handling

The documentation for this type was generated from the following file: