Bath class definition
In ED_VARS_GLOBAL a suitable data structure
effective_bath is defined. This type encapsulates the
discretized effective bath of the quantum impurity problem. A
global instance of the bath dmft_bath is then shared through
the code to store the current state of the user provided bath.
Description
Contains global variables, arrays and derived types instances shared throughout the code.
In particular, it contains definitions of the effective_bath and the sector data structures, loads the ed_sparse_matrix and ed_gfmatrix classes.
Quick access
- Types:
- Variables:
Used modules
ed_sparse_matrix: Types and routines for sparse matricesed_sparse_map: Routines and types for bath-impurity sparse mapsed_gfmatrix: Data types for the storing of the Green's funcitoned_input_vars: User-accessible input variables
External modules
Types
- type ed_vars_global/effective_bath_component
Effective bath component for the replica/general bath. Each istance of this type defines the parameters \(\vec{\lambda}\) and the amplitudes \(\vec{V}\). The first is used to decompose the Hamiltonian of each element of the bath \(H_p=\sum_{i=1}^{N_{basis}} \lambda_i(p) O_i\), the latter describes the hopping from/to the impurity.
- Type fields:
v [real]
vg (•) [real, allocatable]
lambda (•) [real, allocatable] – [
nsym]
- type ed_vars_global/effective_bath
This structure describes the (effective) discretized bath used in the contruct the Hamiltonian of the quantum impurity system. Each element of this structure is allocated and used according the value of
ed_mode=normal,superc,nonsu2andbath_type=normal,hybrid,replica,general.- Type fields:
e (•, •, •) [real, allocatable] – local energies [
nspin][norb][bath]/[nspin][1][nspin]v (•, •, •) [real, allocatable] – spin-keep hyb. [
nspin][norb][nbath]d (•, •, •) [real, allocatable] – SC amplitues [
nspin][norb][nbath]/[norb][1][norb]u (•, •, •) [real, allocatable] – spin-flip hyb. [
nspin][norb][nbath] fored_mode=nonsu2nbasis [integer] – The replica/general Matrix basis dimension
item (•) [effective_bath_component, allocatable] – [
nbath] Replica/General bath components, V includedstatus [logical]
Variables
- ed_vars_global/dmft_bath
instance of
effective_bathused to store the quantum impurity effective bath in the rest of the code- Type:
effective_bath