EDIpack2 Fortran Module
edipack2
is the top module of the EDIpack2.0 code. It provides access to the all the relevant procedures of the library, realizing the Fortran API. The user needs to invoke use of this module to get access to EDIpack2.0 as:
program test USE EDIPACK2 ...
The module also contains a subset of the global and input variables that can be accessed in the userspace.
Used modules
ed_input_vars
: Contains all global input variables which can be set by the user through the input file. A specific preocedureed_read_input()
should be called to read the input file usingparse_input_variable()
procedure from SciFortran. All variables are automatically set to a default, looked for and updated by reading into the file and, sequentially looked for and updated from command line (std.input) using the notation variable_name=variable_value(s) (case independent).ed_bath
: Contains routines for setting, accessing, manipulating and clearing the bath of the Impurity problem.ed_set_hreplica()
=>set_hreplica()
ed_hreplica_mask()
=>hreplica_mask()
ed_set_hgeneral()
=>set_hgeneral()
ed_hgeneral_mask()
=>hgeneral_mask()
ed_get_bath_dimension()
=>get_bath_dimension()
ed_spin_symmetrize_bath()
=>spin_symmetrize_bath()
ed_orb_symmetrize_bath()
=>orb_symmetrize_bath()
ed_orb_equality_bath()
=>orb_equality_bath()
ed_ph_symmetrize_bath()
=>ph_symmetrize_bath()
ed_ph_trans_bath()
=>ph_trans_bath()
ed_break_symmetry_bath()
=>break_symmetry_bath()
ed_enforce_normal_bath()
=>enforce_normal_bath()
ed_save_array_as_bath()
=>save_array_as_bath()
ed_aux_funx
: Hosts a number of auxiliary procedures required in different parts of the code. Specifically, it implements: creation/annihilation fermionic operators, binary decomposition of integer representation of Fock states and setup the local impurity Hamiltonianed_search_chemical_potential()
=>search_chemical_potential()
ed_io
: Contains a set of routines that retrieve quantities such as Green’s functions, self-energies (seeed_greens_functions
) and observables (fromed_observables
) and pass them to the user, as well ass routines to read and store Green’s function and self-energies.ed_main
: Contains routine that initialize, run and finalize the Impurity model solvered_bath_fit
: Contains routines that fit the Impurity model bath