Configuration

To extract, parse, verify, and print the configuration parameters. They are stored in external files (case.toml) or dictionaries.

Source: config.jl

Contents

Index

Functions

ZenCore.inp_tomlFunction
inp_toml(f::String, key::String, necessary::Bool)

Parse the configuration file (in toml format). It reads only parts of the configuration file, which depends on the value of key.

See also: setup.

source
inp_toml(f::String, necessary::Bool)

Parse the configuration file (in toml format). It reads the whole file.

See also: setup.

source
ZenCore.rev_dictFunction
rev_dict(cfg::Dict{String,Any})

Transfer configurations from dict cfg to internal dicts (including PCASE, PDFT, PDMFT, PIMP, and PSOLVER).

See also: chk_dict.

source
ZenCore._vFunction
_v(key::String, val::Array{Any,1})

Verify the value array. Called by chk_dict() function only.

See also: chk_dict.

source