Index
ZenGuiZenGui.CWINZenGui.FMENUZenGui.PATOMICZenGui.PBASEZenGui.PBarRatZenGui.PCASEZenGui.PCTHYBZenGui.PCTSEGZenGui.PDFERMIONZenGui.PDFTZenGui.PDMFTZenGui.PDYSONZenGui.PIMPURITYZenGui.PMaxEntZenGui.PNevanACZenGui.PSOLVERZenGui.PStochACZenGui.PStochOMZenGui.PStochPXZenGui.PStochSKZenGui.PTESTZenGui._ATOMICZenGui._CTHYBZenGui._CTSEGZenGui._DFERMIONZenGui._DYSONZenGui.__AUTHORS__ZenGui.__LIBNAME__ZenGui.__RELEASE__ZenGui.__VERSION__ZenGui.ACFLOW_PBASEZenGui.ACFLOW_PBarRatZenGui.ACFLOW_PMaxEntZenGui.ACFLOW_PNevanACZenGui.ACFLOW_PStochACZenGui.ACFLOW_PStochOMZenGui.ACFLOW_PStochPXZenGui.ACFLOW_PStochSKZenGui.ACTEST_PTESTZenGui.APCZenGui.APFZenGui.APIZenGui.APNZenGui.APRZenGui.C32ZenGui.C64ZenGui.CURRENT_WINDOWZenGui.DFERMION_PDFERMIONZenGui.DYSON_PDYSONZenGui.F32ZenGui.F64ZenGui.I32ZenGui.I64ZenGui.IQIST_PATOMICZenGui.IQIST_PCTHYBZenGui.IQIST_PCTSEGZenGui.MenuFlagsZenGui.N32ZenGui.N64ZenGui.R32ZenGui.R64ZenGui.ZEN_PCASEZenGui.ZEN_PDFTZenGui.ZEN_PDMFTZenGui.ZEN_PIMPURITYZenGui.ZEN_PSOLVERZenGui._acflow_barrat_blockZenGui._acflow_bottom_blockZenGui._acflow_general_blockZenGui._acflow_main_blockZenGui._acflow_maxent_blockZenGui._acflow_nevanac_blockZenGui._acflow_solver_blockZenGui._acflow_stochac_blockZenGui._acflow_stochom_blockZenGui._acflow_stochpx_blockZenGui._acflow_stochsk_blockZenGui._acflow_top_blockZenGui._actest_bottom_blockZenGui._actest_general_blockZenGui._actest_main_blockZenGui._actest_solver_blockZenGui._actest_top_blockZenGui._atomic_algorithm_blockZenGui._atomic_bottom_blockZenGui._atomic_interaction_blockZenGui._atomic_main_blockZenGui._atomic_model_blockZenGui._atomic_natural_blockZenGui._atomic_top_blockZenGui._ctseg_bottom_blockZenGui._ctseg_cycle_blockZenGui._ctseg_dimension_blockZenGui._ctseg_main_blockZenGui._ctseg_measure_blockZenGui._ctseg_model_blockZenGui._ctseg_monte_blockZenGui._ctseg_represent_blockZenGui._ctseg_symmetry_blockZenGui._ctseg_top_blockZenGui._dfermion_bottom_blockZenGui._dfermion_cycle_blockZenGui._dfermion_dimension_blockZenGui._dfermion_kmesh_blockZenGui._dfermion_main_blockZenGui._dfermion_model_blockZenGui._dfermion_top_blockZenGui._dyson_bottom_blockZenGui._dyson_main_blockZenGui._dyson_top_blockZenGui._zen_bottom_blockZenGui._zen_case_blockZenGui._zen_dft_blockZenGui._zen_dmft_blockZenGui._zen_impurity_blockZenGui._zen_main_blockZenGui._zen_solver_blockZenGui._zen_top_blockZenGui.authorsZenGui.build_acflow_dictZenGui.build_actest_dictZenGui.build_dfermion_dictZenGui.build_dyson_dictZenGui.build_iqist_dictZenGui.build_zen_dictZenGui.create_app_aboutZenGui.create_app_acflowZenGui.create_app_actestZenGui.create_app_atomicZenGui.create_app_cthybZenGui.create_app_ctsegZenGui.create_app_dfermionZenGui.create_app_dysonZenGui.create_app_zenZenGui.create_menuZenGui.dict_to_iniZenGui.dict_to_tomlZenGui.handle_menu_acflowZenGui.handle_menu_actestZenGui.handle_menu_backgroundZenGui.handle_menu_classicZenGui.handle_menu_darkZenGui.handle_menu_dfermionZenGui.handle_menu_dysonZenGui.handle_menu_iqistZenGui.handle_menu_lightZenGui.handle_menu_saveZenGui.handle_menu_zenZenGui.handle_menu_zenguiZenGui.load_logoZenGui.load_textureZenGui.open_urlZenGui.save_acflowZenGui.save_actestZenGui.save_atomicZenGui.save_cthybZenGui.save_ctsegZenGui.save_dfermionZenGui.save_dysonZenGui.save_nothingZenGui.save_zenZenGui.set_menu_editZenGui.set_menu_fileZenGui.set_menu_helpZenGui.set_menu_styleZenGui.setup_backgroundZenGui.setup_flagsZenGui.setup_fontsZenGui.setup_windowZenGui.sorryZenGui.struct_to_dictZenGui.zeng_runZenGui.@cswitchZenGui.@widgets_generator_dftZenGui.@widgets_generator_impurity
Modules
ZenGui — ModuleZenGuiZenGui 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
endGeneral 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_WINDOWA 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 — TypeMenuFlagsA 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 — ConstantFMENUAn 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_PCASEThis struct represents the [case] block in the case.toml file.
ZenGui.ZEN_PDFT — TypeZEN_PDFTThis struct represents the [dft] block in the case.toml file.
ZenGui.ZEN_PDMFT — TypeZEN_PDMFTThis struct represents the [dmft] block in the case.toml file.
ZenGui.ZEN_PIMPURITY — TypeZEN_PIMPURITYThis struct represents the [impurity] block in the case.toml file.
ZenGui.ZEN_PSOLVER — TypeZEN_PSOLVERThis 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_impurityMacro 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_DYSONThis 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_DFERMIONThis 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_PCTSEGThis 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_PCTHYBThis 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_PATOMICThis struct encapsulates the parameters in the solver.atomic.in file. It is for the iQIST/atomic code only.
See also: PATOMIC.
ZenGui._CTSEG — Constant_CTSEGThis 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_CTHYBThis 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_ATOMICThis 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_PBASEThis struct represents the [BASE] block in the ac.toml file.
ZenGui.ACFLOW_PMaxEnt — TypeACFLOW_PMaxEntThis struct represents the [MaxEnt] block in the ac.toml file.
ZenGui.ACFLOW_PBarRat — TypeACFLOW_PBarRatThis struct represents the [BarRat] block in the ac.toml file.
ZenGui.ACFLOW_PNevanAC — TypeACFLOW_PNevanACThis struct represents the [NevanAC] block in the ac.toml file.
ZenGui.ACFLOW_PStochAC — TypeACFLOW_PStochACThis struct represents the [StochAC] block in the ac.toml file.
ZenGui.ACFLOW_PStochSK — TypeACFLOW_PStochSKThis struct represents the [StochSK] block in the ac.toml file.
ZenGui.ACFLOW_PStochOM — TypeACFLOW_PStochOMThis struct represents the [StochOM] block in the ac.toml file.
ZenGui.ACFLOW_PStochPX — TypeACFLOW_PStochPXThis 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_PTESTThis 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}, logo_id)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.load_logo — Functionload_logo()Load logo image from the ZenGui/src/.images directory. It will return an ImTextureID object which is associted with the logo image. Note that the logo image will be displayed in the About window.
See also: load_texture.
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.