Bath class implementation
Description
A class for the the effective_bath data structure describing the effective bath in the code.
Quick access
- Routines:
allocate_dmft_bath(),deallocate_dmft_bath(),get_dmft_bath(),init_dmft_bath(),read_dmft_bath(),save_dmft_bath(),set_dmft_bath(),write_dmft_bath()
Used modules
ed_input_vars: User-accessible input variablesed_vars_global: Global variable accessible throughout the codeed_aux_funx: Assortment of auxiliary procedures required throughout the codeed_bath_aux: Auxiliary routines for bath creation and manipulationed_bath_replica: Routines for replica bath manipulationed_bath_dim: Routines for bath dimension checks
External modules
Subroutines and functions
- subroutine ed_bath_dmft/allocate_dmft_bath()
Allocate the
effective_bathinputdmft_bath_according to the values of the global input parametersnspin,norb,nbath,ed_modeandbath_type.The correct components of the
effective_bathdata structure are allocated.allocated components of dmft_bath_normalsupercnonsu2normale,ve,v,de,v,uhybride,ve,v,de,v,ureplicanbasis,item,item%lambdanbasis,item,item%lambdanbasis,item,item%lambdageneralnbasis,item,item%lambda,item%vgnbasis,item,item%lambda,item%vgnbasis,item,item%lambda,item%vg
- subroutine ed_bath_dmft/init_dmft_bath()
- Use :
ed_input_vars(nspin,norb,nbath)
- subroutine ed_bath_dmft/read_dmft_bath([used])
- Options:
used [logical] – default=used
- Use :
ed_input_vars(nspin,norb,nbath)
- subroutine ed_bath_dmft/save_dmft_bath([used])
Save the
effective_bathto a file with .used or .restart extension according to input.- Options:
used [logical]
- subroutine ed_bath_dmft/write_dmft_bath([unit])
- Options:
unit [integer]
- Use :
ed_input_vars(nspin,norb,nbath)
- subroutine ed_bath_dmft/set_dmft_bath(bath_)
Set the
effective_bathcomponents from the input user bathbath_, i.e. it dumps the user bath to the internal data structure.- Parameters:
bath_ (•) [real]
- subroutine ed_bath_dmft/get_dmft_bath(bath_)
- Parameters:
bath_ (•) [real]
- Use :
ed_input_vars(nspin,norb,nbath)