Library
Contents
- Library
- Contents
- Index
- Modules
- Numerical Types
- String Constants
- General Macros
- General Utilities
- Structs: Menu
- Widgets: Menu
- Structs: Zen
- Widgets: Zen
- Structs: Dyson
- Widgets: Dyson
- Structs: DFermion
- Widgets: DFermion
- Structs: iQIST
- Widgets: iQIST
- Structs: ACFlow
- Widgets: ACFlow
- Structs: ACTest
- Widgets: ACTest
- Widgets: About
- Functions: Utilities
- Functions: Setup
- Functions: Save
- Functions: Main
Index
ZenGui
ZenGui.CWIN
ZenGui.FMENU
ZenGui.PATOMIC
ZenGui.PBASE
ZenGui.PBarRat
ZenGui.PCASE
ZenGui.PCTHYB
ZenGui.PCTSEG
ZenGui.PDFERMION
ZenGui.PDFT
ZenGui.PDMFT
ZenGui.PDYSON
ZenGui.PIMPURITY
ZenGui.PMaxEnt
ZenGui.PNevanAC
ZenGui.PSOLVER
ZenGui.PStochAC
ZenGui.PStochOM
ZenGui.PStochPX
ZenGui.PStochSK
ZenGui.PTEST
ZenGui._ATOMIC
ZenGui._CTHYB
ZenGui._CTSEG
ZenGui._DFERMION
ZenGui._DYSON
ZenGui.__AUTHORS__
ZenGui.__LIBNAME__
ZenGui.__RELEASE__
ZenGui.__VERSION__
ZenGui.ACFLOW_PBASE
ZenGui.ACFLOW_PBarRat
ZenGui.ACFLOW_PMaxEnt
ZenGui.ACFLOW_PNevanAC
ZenGui.ACFLOW_PStochAC
ZenGui.ACFLOW_PStochOM
ZenGui.ACFLOW_PStochPX
ZenGui.ACFLOW_PStochSK
ZenGui.ACTEST_PTEST
ZenGui.APC
ZenGui.APF
ZenGui.API
ZenGui.APN
ZenGui.APR
ZenGui.C32
ZenGui.C64
ZenGui.CURRENT_WINDOW
ZenGui.DFERMION_PDFERMION
ZenGui.DYSON_PDYSON
ZenGui.F32
ZenGui.F64
ZenGui.I32
ZenGui.I64
ZenGui.IQIST_PATOMIC
ZenGui.IQIST_PCTHYB
ZenGui.IQIST_PCTSEG
ZenGui.MenuFlags
ZenGui.N32
ZenGui.N64
ZenGui.R32
ZenGui.R64
ZenGui.ZEN_PCASE
ZenGui.ZEN_PDFT
ZenGui.ZEN_PDMFT
ZenGui.ZEN_PIMPURITY
ZenGui.ZEN_PSOLVER
ZenGui._acflow_barrat_block
ZenGui._acflow_bottom_block
ZenGui._acflow_general_block
ZenGui._acflow_main_block
ZenGui._acflow_maxent_block
ZenGui._acflow_nevanac_block
ZenGui._acflow_solver_block
ZenGui._acflow_stochac_block
ZenGui._acflow_stochom_block
ZenGui._acflow_stochpx_block
ZenGui._acflow_stochsk_block
ZenGui._acflow_top_block
ZenGui._actest_bottom_block
ZenGui._actest_general_block
ZenGui._actest_main_block
ZenGui._actest_solver_block
ZenGui._actest_top_block
ZenGui._atomic_algorithm_block
ZenGui._atomic_bottom_block
ZenGui._atomic_interaction_block
ZenGui._atomic_main_block
ZenGui._atomic_model_block
ZenGui._atomic_natural_block
ZenGui._atomic_top_block
ZenGui._ctseg_bottom_block
ZenGui._ctseg_cycle_block
ZenGui._ctseg_dimension_block
ZenGui._ctseg_main_block
ZenGui._ctseg_measure_block
ZenGui._ctseg_model_block
ZenGui._ctseg_monte_block
ZenGui._ctseg_represent_block
ZenGui._ctseg_symmetry_block
ZenGui._ctseg_top_block
ZenGui._dfermion_bottom_block
ZenGui._dfermion_cycle_block
ZenGui._dfermion_dimension_block
ZenGui._dfermion_kmesh_block
ZenGui._dfermion_main_block
ZenGui._dfermion_model_block
ZenGui._dfermion_top_block
ZenGui._dyson_bottom_block
ZenGui._dyson_main_block
ZenGui._dyson_top_block
ZenGui._zen_bottom_block
ZenGui._zen_case_block
ZenGui._zen_dft_block
ZenGui._zen_dmft_block
ZenGui._zen_impurity_block
ZenGui._zen_main_block
ZenGui._zen_solver_block
ZenGui._zen_top_block
ZenGui.authors
ZenGui.build_acflow_dict
ZenGui.build_actest_dict
ZenGui.build_dfermion_dict
ZenGui.build_dyson_dict
ZenGui.build_iqist_dict
ZenGui.build_zen_dict
ZenGui.create_app_about
ZenGui.create_app_acflow
ZenGui.create_app_actest
ZenGui.create_app_atomic
ZenGui.create_app_cthyb
ZenGui.create_app_ctseg
ZenGui.create_app_dfermion
ZenGui.create_app_dyson
ZenGui.create_app_zen
ZenGui.create_menu
ZenGui.dict_to_ini
ZenGui.dict_to_toml
ZenGui.handle_menu_acflow
ZenGui.handle_menu_actest
ZenGui.handle_menu_background
ZenGui.handle_menu_classic
ZenGui.handle_menu_dark
ZenGui.handle_menu_dfermion
ZenGui.handle_menu_dyson
ZenGui.handle_menu_iqist
ZenGui.handle_menu_light
ZenGui.handle_menu_save
ZenGui.handle_menu_zen
ZenGui.handle_menu_zengui
ZenGui.load_texture
ZenGui.open_url
ZenGui.save_acflow
ZenGui.save_actest
ZenGui.save_atomic
ZenGui.save_cthyb
ZenGui.save_ctseg
ZenGui.save_dfermion
ZenGui.save_dyson
ZenGui.save_nothing
ZenGui.save_zen
ZenGui.set_menu_edit
ZenGui.set_menu_file
ZenGui.set_menu_help
ZenGui.set_menu_style
ZenGui.setup_background
ZenGui.setup_flags
ZenGui.setup_fonts
ZenGui.setup_window
ZenGui.sorry
ZenGui.struct_to_dict
ZenGui.zeng_run
ZenGui.@cswitch
ZenGui.@widgets_generator_dft
ZenGui.@widgets_generator_impurity
Modules
ZenGui
— ModuleZenGui
ZenGui is a general-purpose graphic user interface for ab initio dynamical mean-field theory codes, which have been developed at the China Academy of Engineeing Physics. It should be used to generate necessary configuration files for them. Now it supports the following codes:
- All-in-one DFT + DMFT package (Zen)
- Dynamical mean-field theory engines (Dyson and DFermion)
- Quantum impurity solver toolkit (iQIST)
- Analytic continuation tools (ACFlow and ACTest)
More codes will be supported in the future. Now this code is under heavy development. PLEASE USE IT AT YOUR OWN RISK.
For more details about how to obtain, install and use this ZenGui app, please visit the following website:
https://huangli712.github.io/projects/zengui/index.html
Any suggestions, comments, and feedbacks are welcome. Enjoy it!
Numerical Types
ZenGui.I32
— TypeZenGui.I64
— TypeZenGui.API
— TypeZenGui.F32
— TypeZenGui.F64
— TypeZenGui.APF
— TypeZenGui.C32
— TypeZenGui.C64
— TypeZenGui.APC
— TypeZenGui.R32
— TypeZenGui.R64
— TypeZenGui.APR
— TypeZenGui.N32
— TypeZenGui.N64
— TypeZenGui.APN
— TypeString Constants
ZenGui.__LIBNAME__
— ConstantZenGui.__VERSION__
— ConstantZenGui.__RELEASE__
— ConstantZenGui.__AUTHORS__
— ConstantZenGui.authors
— FunctionGeneral Macros
ZenGui.@cswitch
— Macro@cswitch(constexpr, body)
Provides a C-like switch statement with the falling through behavior. This implementation was borrowed from the following github repository:
- https://github.com/Gnimuc/CSyntax.jl
Examples
engine = get_d("engine")
@cswitch engine begin
@case "vasp"
just_do_it()
break
@default
sorry()
break
end
General Utilities
ZenGui.sorry
— Functionsorry()
Print an error message to the screen.
Arguments
N/A
Returns
N/A
ZenGui.open_url
— Functionopen_url(url::String)
Invoke the default web browser to open the given url. It only supports the windows, macos, and linux systems.
Structs: Menu
ZenGui.CURRENT_WINDOW
— TypeCURRENT_WINDOW
A struct used to keep the name of the current (activate) window. Note that its global instance is CWIN
Members
- name -> Name of the current window.
ZenGui.CWIN
— ConstantZenGui.MenuFlags
— TypeMenuFlags
A struct used to track the status of all the menu items. The renderloop should respond the mouse events according to this struct. Note that its global instance is FMENU
The meun items are created at src/menu.jl
.
Members
- F_SAVE -> File | Save.
- F_EXIT -> File | Exit.
- E_ZEN -> Edit | Integrated Package | Zen.
- E_DYSON -> Edit | Quantum Many-Body Theory Engines | Dyson.
- E_DFERMION -> Edit | Quantum Many-Body Theory Engines | DFermion.
- E_CTSEG -> Edit | Quantum Impurity Solvers | iQIST | ctseg.
- E_CTHYB -> Edit | Quantum Impurity Solvers | iQIST | cthyb.
- E_ATOMIC -> Edit | Quantum Impurity Solvers | iQIST | atomic.
- E_ACFLOW -> Edit | Analytic Continuation Tools | ACFlow.
- E_ACTEST -> Edit | Analytic Continuation Tools | ACTest.
- S_BGIMAGE -> Style | Change Background.
- S_CLASSIC -> Style | Classic.
- S_DARK -> Style | Dark.
- S_LIGHT -> Style | Light.
- H_ZEN -> Help | Documentation | Zen.
- H_DYSON -> Help | Documentation | Dyson.
- H_DFERMION -> Help | Documentation | DFermion.
- H_IQIST -> Help | Documentation | iQIST.
- H_ACFLOW -> Help | Documentation | ACFlow.
- H_ACTEST -> Help | Documentation | ACTest.
- H_ZENGUI -> Help | User's Manual.
- H_ABOUT -> Help | About ZenGui.
ZenGui.FMENU
— ConstantFMENU
An instance for the MenuFlags
struct. Initially, all members are set to be false.
See also: MenuFlags
.
Widgets: Menu
ZenGui.create_menu
— FunctionZenGui.set_menu_file
— Functionset_menu_file()
Setup menu items in ``File''. There are only two items: Save and Exit.
ZenGui.set_menu_edit
— Functionsetmenuedit()
Setup menu items in ``Edit''. They are related to the apps developed by myself. Now only the Zen, Dyson, DFermion, iQIST, ACFlow, and ACTest codes are supported.
ZenGui.set_menu_style
— Functionsetmenustyle()
Setup menu items in ``Style''. They are used to modify the appearance, including background image and color styles, of this window-based app.
ZenGui.set_menu_help
— Functionsetmenuhelp()
Setup menu items in ``Help''. They are related to the documentation and user guides of all the apps.
ZenGui.handle_menu_save
— Functionhandle_menu_save(p_open::Ref{Bool})
Respond the menu event: save. Try to save configurtion files for various tools or codes.
ZenGui.handle_menu_background
— Functionhandle_menu_background(p_open::Ref{Bool})
Respond the menu event: change background. It will change the background image randomly.
See also: setup_background
.
ZenGui.handle_menu_dark
— Functionhandle_menu_dark(p_open::Ref{Bool})
Respond the menu event: dark. Change the appearance of graphic user interface to dark style. Note that the defalt style is dark.
See also: setup_window
.
ZenGui.handle_menu_classic
— Functionhandle_menu_classic(p_open::Ref{Bool})
Respond the menu event: classic. Change the appearance of graphic user interface to classic style.
See also: setup_window
.
ZenGui.handle_menu_light
— Functionhandle_menu_light(p_open::Ref{Bool})
Respond the menu event: light. Change the appearance of graphic user interface to light style.
See also: setup_window
.
ZenGui.handle_menu_zen
— Functionhandle_menu_zen(p_open::Ref{Bool})
Respond the menu event: zen. Try to open documentation for the Zen package.
ZenGui.handle_menu_dyson
— Functionhandle_menu_dyson(p_open::Ref{Bool})
Respond the menu event: dyson. Try to open documentation for the Dyson code.
ZenGui.handle_menu_dfermion
— Functionhandle_menu_dfermion(p_open::Ref{Bool})
Respond the menu event: dfermion. Try to open documentation for the DFermion code.
ZenGui.handle_menu_iqist
— Functionhandle_menu_iqist(p_open::Ref{Bool})
Respond the menu event: iqist. Try to open documentation for the iQIST package.
ZenGui.handle_menu_acflow
— Functionhandle_menu_acflow(p_open::Ref{Bool})
Respond the menu event: acflow. Try to open documentation for the ACFlow toolkit.
ZenGui.handle_menu_actest
— Functionhandle_menu_actest(p_open::Ref{Bool})
Respond the menu event: actest. Try to open documentation for the ACTest toolkit.
ZenGui.handle_menu_zengui
— Functionhandle_menu_zengui(p_open::Ref{Bool})
Respond the menu event: zengui. Try to open documentation for the ZenGui application.
Structs: Zen
ZenGui.ZEN_PCASE
— TypeZEN_PCASE
This struct represents the [case]
block in the case.toml
file.
ZenGui.ZEN_PDFT
— TypeZEN_PDFT
This struct represents the [dft]
block in the case.toml
file.
ZenGui.ZEN_PDMFT
— TypeZEN_PDMFT
This struct represents the [dmft]
block in the case.toml
file.
ZenGui.ZEN_PIMPURITY
— TypeZEN_PIMPURITY
This struct represents the [impurity]
block in the case.toml
file.
ZenGui.ZEN_PSOLVER
— TypeZEN_PSOLVER
This struct represents the [solver]
block in the case.toml
file.
ZenGui.PCASE
— ConstantZenGui.PDFT
— ConstantZenGui.PDMFT
— ConstantZenGui.PIMPURITY
— ConstantZenGui.PSOLVER
— ConstantWidgets: Zen
ZenGui.@widgets_generator_dft
— MacroZenGui.@widgets_generator_impurity
— Macro@widgets_generator_impurity
Macro for generating codes for the impurity
tab.
See also: _zen_impurity_block
.
ZenGui.create_app_zen
— Functioncreate_app_zen(p_open::Ref{Bool})
Create an UI window for the Zen toolkit, which is an integrated package for ab initio dynamical mean-field theory calculations.
ZenGui._zen_top_block
— Function_zen_top_block()
Setup widgets in the top of the window for the Zen package.
ZenGui._zen_main_block
— Function_zen_main_block()
Setup widgets associated with the parameters in the case.toml
file.
ZenGui._zen_bottom_block
— Function_zen_bottom_block(p_open::Ref{Bool})
Setup widgets in the bottom of the window for the Zen package.
ZenGui._zen_case_block
— Function_zen_case_block()
Setup widgets for the case
tab.
ZenGui._zen_dft_block
— Function_zen_dft_block()
Setup widgets for the dft
tab.
ZenGui._zen_dmft_block
— Function_zen_dmft_block()
Setup widgets for the dmft
tab.
ZenGui._zen_impurity_block
— Function_zen_impurity_block()
Setup widgets for the impurity
tab.
ZenGui._zen_solver_block
— Function_zen_solver_block()
Setup widgets for the solver
tab.
ZenGui.build_zen_dict
— Functionbuild_zen_dict()
Assemble the ordered dictionary, which is then converted into case.toml
, for the Zen
package.
Structs: Dyson
ZenGui.DYSON_PDYSON
— TypeZenGui._DYSON
— Constant_DYSON
This set records the names of modified parameters, which will be presented in the dmft.in
file. Note that not all the parameters in DYSON_PDYSON
should be presented in the dmft.in
file.
See also: DYSON_PDYSON
.
ZenGui.PDYSON
— ConstantWidgets: Dyson
ZenGui.create_app_dyson
— Functioncreate_app_dyson(p_open::Ref{Bool})
Create an UI window for the Dyson code, which is a dynamical mean-field theory engine.
ZenGui._dyson_top_block
— Function_dyson_top_block()
Setup widgets in the top of the window for the Dyson code.
ZenGui._dyson_main_block
— Function_dyson_main_block()
Setup widgets associated with the parameters in the dmft.in
file.
ZenGui._dyson_bottom_block
— Function_dyson_bottom_block(p_open::Ref{Bool})
Setup widgets in the bottom of the window for the Dyson code.
ZenGui.build_dyson_dict
— Functionbuild_dyson_dict()
Assemble the ordered dictionary, which is then converted into dmft.in
, for the Dyson
code.
See also: DYSON_PDYSON
.
Structs: DFermion
ZenGui.DFERMION_PDFERMION
— TypeZenGui._DFERMION
— Constant_DFERMION
This set records the names of modified parameters, which will be presented in the dfa.in
file. Note that not all the parameters in DFERMION_PDFERMION
should be presented in the dfa.in
file.
See also: DFERMION_PDFERMION
.
ZenGui.PDFERMION
— ConstantWidgets: DFermion
ZenGui.create_app_dfermion
— Functioncreate_app_dfermion(p_open::Ref{Bool})
Create an UI window for the DFermion code, which is a dual fermion engine.
ZenGui._dfermion_top_block
— Function_dfermion_top_block()
Setup widgets in the top of the window for the DFermion code.
ZenGui._dfermion_main_block
— Function_dfermion_main_block()
Setup widgets associated with the parameters in the dfa.in
file.
ZenGui._dfermion_bottom_block
— Function_dfermion_bottom_block(p_open::Ref{Bool})
Setup widgets in the bottom of the window for the DFermion code.
ZenGui._dfermion_model_block
— Function_dfermion_model_block()
Setup widgets for the model
tab.
ZenGui._dfermion_dimension_block
— Function_dfermion_dimension_block()
Setup widgets for the dimension
tab.
ZenGui._dfermion_kmesh_block
— Function_dfermion_kmesh_block()
Setup widgets for the k-mesh
tab.
ZenGui._dfermion_cycle_block
— Function_dfermion_cycle_block()
Setup widgets for the cycle
tab.
ZenGui.build_dfermion_dict
— Functionbuild_dfermion_dict()
Assemble the ordered dictionary, which is then converted into dfa.in
, for the DFermion
code.
See also: DFERMION_PDFERMION
.
Structs: iQIST
ZenGui.IQIST_PCTSEG
— TypeIQIST_PCTSEG
This struct encapsulates the parameters in the solver.ctqmc.in
file. It is for the iQIST/ctseg
code only.
See also: PCTSEG
.
ZenGui.IQIST_PCTHYB
— TypeIQIST_PCTHYB
This struct encapsulates the parameters in the solver.ctqmc.in
file. It is for the iQIST/cthyb
code only.
See also: PCTHYB
.
ZenGui.IQIST_PATOMIC
— TypeIQIST_PATOMIC
This struct encapsulates the parameters in the solver.atomic.in
file. It is for the iQIST/atomic
code only.
See also: PATOMIC
.
ZenGui._CTSEG
— Constant_CTSEG
This set records the names of modified parameters, which will be presented in the solver.ctqmc.in
file. It is for the iQIST/ctseg
code only.
Note that not all the parameters in IQIST_PCTSEG
will be presented in the solver.ctqmc.in
file.
See also: IQIST_PCTSEG
.
ZenGui._CTHYB
— Constant_CTHYB
This set records the names of modified parameters, which will be presented in the solver.ctqmc.in
file. It is for the iQIST/cthyb
code only.
Note that not all the parameters in IQIST_PCTHYB
will be presented in the solver.ctqmc.in
file.
See also: IQIST_PCTHYB
.
ZenGui._ATOMIC
— Constant_ATOMIC
This set records the names of modified parameters, which will be presented in the solver.atomic.in
file. It is for the iQIST/atomic
code only.
Note that not all the parameters in IQIST_PATOMIC
will be presented in the solver.atomic.in
file.
See also: IQIST_PATOMIC
.
ZenGui.PCTSEG
— ConstantZenGui.PCTHYB
— ConstantZenGui.PATOMIC
— ConstantWidgets: iQIST
ZenGui.create_app_ctseg
— Functioncreate_app_ctseg(p_open::Ref{Bool})
Create an UI window for the ctseg code, which is a continuous-time quantum impurity solver in the iQIST package.
ZenGui.create_app_cthyb
— Functioncreate_app_cthyb(p_open::Ref{Bool})
Create an UI window for the cthyb code, which is a continuous-time quantum impurity solver in the iQIST package.
ZenGui.create_app_atomic
— Functioncreate_app_atomic(p_open::Ref{Bool})
Create an UI window for the atomic code, which is an atomic eigenvalue problem solver in the iQIST package.
ZenGui._ctseg_top_block
— Function_ctseg_top_block()
Setup widgets in the top of the window for the iQIST/ctseg code.
ZenGui._ctseg_main_block
— Function_ctseg_main_block()
Setup widgets associated with the parameters in the solver.ctqmc.in
file.
ZenGui._ctseg_bottom_block
— Function_ctseg_bottom_block(p_open::Ref{Bool})
Setup widgets in the bottom of the window for the iQIST/ctseg code.
ZenGui._ctseg_model_block
— Function_ctseg_model_block()
Setup widgets for the model
tab.
ZenGui._ctseg_dimension_block
— Function_ctseg_dimension_block()
Setup widgets for the dimension
tab.
ZenGui._ctseg_symmetry_block
— Function_ctseg_symmetry_block()
Setup widgets for the symmetry
tab.
ZenGui._ctseg_represent_block
— Function_ctseg_represent_block()
Setup widgets for the representation
tab.
ZenGui._ctseg_measure_block
— Function_ctseg_measure_block()
Setup widgets for the measurement
tab.
ZenGui._ctseg_monte_block
— Function_ctseg_monte_block()
Setup widgets for the monte carlo
tab.
ZenGui._ctseg_cycle_block
— Function_ctseg_cycle_block()
Setup widgets for the cycle
tab.
ZenGui._atomic_top_block
— Function_atomic_top_block()
Setup widgets in the top of the window for the iQIST/atomic code.
ZenGui._atomic_main_block
— Function_atomic_main_block()
Setup widgets associated with the parameters in the solver.atomic.in
file.
ZenGui._atomic_bottom_block
— Function_atomic_bottom_block(p_open::Ref{Bool})
Setup widgets in the bottom of the window for the iQIST/atomic code.
ZenGui._atomic_model_block
— Function_atomic_model_block()
Setup widgets for the model
tab.
ZenGui._atomic_interaction_block
— Function_atomic_interaction_block()
Setup widgets for the interaction
tab.
ZenGui._atomic_natural_block
— Function_atomic_natural_block()
Setup widgets for the natural eigenbasis
tab.
ZenGui._atomic_algorithm_block
— Function_atomic_algorithm_block()
Setup widgets for the algorithm
tab.
ZenGui.build_iqist_dict
— Functionbuild_iqist_dict()
Assemble the ordered dictionary, which is then converted into solver.ctqmc.in
or solver.atomic.in
file for the ctseg
, cthyb
, and atomic
codes.
Structs: ACFlow
ZenGui.ACFLOW_PBASE
— TypeACFLOW_PBASE
This struct represents the [BASE]
block in the ac.toml
file.
ZenGui.ACFLOW_PMaxEnt
— TypeACFLOW_PMaxEnt
This struct represents the [MaxEnt]
block in the ac.toml
file.
ZenGui.ACFLOW_PBarRat
— TypeACFLOW_PBarRat
This struct represents the [BarRat]
block in the ac.toml
file.
ZenGui.ACFLOW_PNevanAC
— TypeACFLOW_PNevanAC
This struct represents the [NevanAC]
block in the ac.toml
file.
ZenGui.ACFLOW_PStochAC
— TypeACFLOW_PStochAC
This struct represents the [StochAC]
block in the ac.toml
file.
ZenGui.ACFLOW_PStochSK
— TypeACFLOW_PStochSK
This struct represents the [StochSK]
block in the ac.toml
file.
ZenGui.ACFLOW_PStochOM
— TypeACFLOW_PStochOM
This struct represents the [StochOM]
block in the ac.toml
file.
ZenGui.ACFLOW_PStochPX
— TypeACFLOW_PStochPX
This struct represents the [StochPX]
block in the ac.toml
file.
ZenGui.PBASE
— ConstantZenGui.PMaxEnt
— ConstantZenGui.PBarRat
— ConstantZenGui.PNevanAC
— ConstantZenGui.PStochAC
— ConstantZenGui.PStochSK
— ConstantZenGui.PStochOM
— ConstantZenGui.PStochPX
— ConstantWidgets: ACFlow
ZenGui.create_app_acflow
— Functioncreate_app_acflow(p_open::Ref{Bool})
Create an UI window for the ACFlow toolkit, which provides some analytic continuation tools.
ZenGui._acflow_top_block
— Function_acflow_top_block()
Setup widgets in the top of the window for the ACFlow toolkit.
ZenGui._acflow_main_block
— Function_acflow_main_block()
Setup widgets associated with the parameters in the ac.toml
file.
ZenGui._acflow_bottom_block
— Function_acflow_bottom_block(p_open::Ref{Bool})
Setup widgets in the bottom of the window for the ACFlow toolkit.
ZenGui._acflow_general_block
— Function_acflow_general_block()
Setup widgets for the general
tab.
ZenGui._acflow_solver_block
— Function_acflow_solver_block()
Setup widgets for the solver
tab.
ZenGui._acflow_maxent_block
— Function_acflow_maxent_block()
Setup widgets for the [MaxEnt] block in the ac.toml file.
ZenGui._acflow_barrat_block
— Function_acflow_barrat_block()
Setup widgets for the [BarRat] block in the ac.toml file.
ZenGui._acflow_nevanac_block
— Function_acflow_nevanac_block()
Setup widgets for the [NevanAC] block in the ac.toml file.
ZenGui._acflow_stochac_block
— Function_acflow_stochac_block()
Setup widgets for the [StochAC] block in the ac.toml file.
ZenGui._acflow_stochsk_block
— Function_acflow_stochsk_block()
Setup widgets for the [StochSK] block in the ac.toml file.
ZenGui._acflow_stochom_block
— Function_acflow_stochom_block()
Setup widgets for the [StochOM] block in the ac.toml file.
ZenGui._acflow_stochpx_block
— Function_acflow_stochpx_block()
Setup widgets for the [StochPX] block in the ac.toml file.
ZenGui.build_acflow_dict
— Functionbuild_acflow_dict()
Assemble the ordered dictionary, which is then converted into ac.toml
, for the ACFlow
toolkit.
Structs: ACTest
ZenGui.ACTEST_PTEST
— TypeACTEST_PTEST
This struct represents the [Test]
block in the act.toml
file.
ZenGui.PTEST
— ConstantWidgets: ACTest
ZenGui.create_app_actest
— Functioncreate_app_actest(p_open::Ref{Bool})
Create an UI window for the ACTest toolkit, which is used to benchmark the analytic continuation tools as implemented in the ACFlow package.
ZenGui._actest_top_block
— Function_actest_top_block()
Setup widgets in the top of the window for the ACTest toolkit.
ZenGui._actest_main_block
— Function_actest_main_block()
Setup widgets associated with the parameters in the act.toml
file.
ZenGui._actest_bottom_block
— Function_actest_bottom_block(p_open::Ref{Bool})
Setup widgets in the bottom of the window for the ACTest toolkit.
ZenGui._actest_general_block
— Function_actest_general_block()
Setup widgets for the general
tab.
ZenGui._actest_solver_block
— Function_actest_solver_block()
Setup widgets for the solver
tab.
ZenGui.build_actest_dict
— Functionbuild_actest_dict()
Assemble the ordered dictionary, which is then converted into act.toml
, for the ACTest
toolkit.
Widgets: About
ZenGui.create_app_about
— Functioncreate_app_about(p_open::Ref{Bool})
Display the About
window, which is used to show some userful information about this ZenGui app.
Functions: Utilities
ZenGui.dict_to_toml
— Functiondict_to_toml(d::AbstractDict)
Convert an ordered dictionary to toml file (actually String).
ZenGui.dict_to_ini
— Functiondict_to_ini(d::AbstractDict)
Convert an ordered dictionary to ini file (actually String).
ZenGui.struct_to_dict
— Functionstruct_to_dict(s::ZEN_PCASE)
Convert a struct to an ordered dictionary (for ZEN_PCASE
).
See ZEN_PCASE
.
struct_to_dict(s::ZEN_PDMFT)
Convert a struct to an ordered dictionary (for ZEN_PDMFT
).
See ZEN_PDMFT
.
struct_to_dict(s::ZEN_PIMPURITY)
Convert a struct to an ordered dictionary (for ZEN_PIMPURITY
).
See ZEN_PIMPURITY
.
struct_to_dict(s::ZEN_PSOLVER)
Convert a struct to an ordered dictionary (for ZEN_PSOLVER
).
See ZEN_PSOLVER
.
struct_to_dict(s::DYSON_PDYSON)
Convert a struct to an ordered dictionary (for DYSON_PDYSON
).
See also: DYSON_PDYSON
.
struct_to_dict(s::DFERMION_PDFERMION)
Convert a struct to an ordered dictionary (for DFERMION_PDFERMION
).
See also: DFERMION_PDFERMION
.
struct_to_dict(s::IQIST_PCTSEG)
Convert a struct to an ordered dictionary (for IQIST_PCTSEG
).
See IQIST_PCTSEG
.
struct_to_dict(s::IQIST_PCTHYB)
Convert a struct to an ordered dictionary (for IQIST_PCTHYB
).
See IQIST_PCTHYB
.
struct_to_dict(s::IQIST_PATOMIC)
Convert a struct to an ordered dictionary (for IQIST_PATOMIC
).
See IQIST_PATOMIC
.
struct_to_dict(s::ACFLOW_PBASE)
Convert a struct to an ordered dictionary (for ACFLOW_PBASE
).
See ACFLOW_PBASE
.
struct_to_dict(s::ACFLOW_PMaxEnt)
Convert a struct to an ordered dictionary (for ACFLOW_PMaxEnt
).
See ACFLOW_PMaxEnt
.
struct_to_dict(s::ACFLOW_PBarRat)
Convert a struct to an ordered dictionary (for ACFLOW_PBarRat
).
See ACFLOW_PBarRat
.
struct_to_dict(s::ACFLOW_PNevanAC)
Convert a struct to an ordered dictionary (for ACFLOW_PNevanAC
).
See ACFLOW_PNevanAC
.
struct_to_dict(s::ACFLOW_PStochAC)
Convert a struct to an ordered dictionary (for ACFLOW_PStochAC
).
See ACFLOW_PStochAC
.
struct_to_dict(s::ACFLOW_PStochSK)
Convert a struct to an ordered dictionary (for ACFLOW_PStochSK
).
See ACFLOW_PStochSK
.
struct_to_dict(s::ACFLOW_PStochOM)
Convert a struct to an ordered dictionary (for ACFLOW_PStochOM
).
See ACFLOW_PStochOM
.
struct_to_dict(s::ACFLOW_PStochPX)
Convert a struct to an ordered dictionary (for ACFLOW_PStochPX
).
See ACFLOW_PStochPX
.
struct_to_dict(s::ACTEST_PTEST)
Convert a struct to an ordered dictionary (for ACTEST_PTEST
).
See ACTEST_PTEST
.
Functions: Setup
ZenGui.load_texture
— Functionload_texture()
Load images from the ZenGui/src/.images directory. Note that there are 12 images now. This function will pick one image randomly and load it. Finally, it will return an ImTextureID
object which is associted with the selected image.
See also: setup_background
.
ZenGui.setup_flags
— Functionsetup_flags()
Setup configuration flags for the Dear ImGui library.
ZenGui.setup_fonts
— Functionsetup_fonts()
Setup fonts for this graphic user interface. Note that the files for fonts should be saved in the ZenGui/src/.fonts directory.
ZenGui.setup_window
— Functionsetup_window()
Tweak the window's style in this graphic user interface.
ZenGui.setup_background
— Functionsetup_background(texture_id)
Setup the background image for this app. texture_id
is an ImTextureID
object. which is initialized by load_texture()
.
See also: load_texture
.
Functions: Save
ZenGui.save_zen
— Functionsave_zen(p_open::Ref{Bool})
Save configuration file (case.toml
) for the Zen
package.
ZenGui.save_dyson
— Functionsave_dyson(p_open::Ref{Bool})
Save configuration file (dmft.in
) for the Dyson
code.
ZenGui.save_dfermion
— Functionsave_dfermion(p_open::Ref{Bool})
Save configuration file (dfa.in
) for the DFermion
code.
ZenGui.save_ctseg
— Functionsave_ctseg(p_open::Ref{Bool})
Save configuration file (solver.ctqmc.in
) for the iQIST/ctseg
code.
ZenGui.save_cthyb
— Functionsave_cthyb(p_open::Ref{Bool})
Save configuration file (solver.ctqmc.in
) for the iQIST/cthyb
code.
ZenGui.save_atomic
— Functionsave_atomic(p_open::Ref{Bool})
Save configuration file (solver.atomic.in
) for the iQIST/atomic
code.
ZenGui.save_acflow
— Functionsave_acflow(p_open::Ref{Bool})
Save configuration file (ac.toml
) for the ACFlow
toolkit.
ZenGui.save_actest
— Functionsave_actest(p_open::Ref{Bool})
Save configuration file (act.toml
) for the ACTest
toolkit.
ZenGui.save_nothing
— Functionsave_nothing(p_open::Ref{Bool})
This function will create an empty window and do nothing.
Functions: Main
ZenGui.zeng_run
— Functionzeng_run()
Main function. It launchs the graphic user interface and respond to user inputs unitl the main window is closed.