Module qdyn
¶
The qdyn
module is the central module of the QDYN library.
It collects and exports routines and definitions from all other
QDYN modules. Therefore, in any program using the QDYN library it is
usually sufficient to import the qdyn
module with
use qdyn
For advanced purposes, you can still directly import any other module that is part of the QDYN library.
Summary¶
Module Variables:
Hostname of the machine where QDYN has been compiled. |
|
Date on which QDYN has been compiled. |
|
Fortran compiler used to build QDYN. |
|
Configure options used for the current build of QDYN. |
|
Compiler flags used to build QDYN. |
|
Current git branch. |
|
Version of git on the machine that compiled QDYN. |
|
Library flags used to build QDYN. |
|
Current version of QDYN. |
Routines:
Initialize a physical model. |
|
Print a summary of the QDYN version and the compilation options. |
Exports:
From
qdyn_global_mod
: (all routines)From
qdyn_def_mod
: (all routines)From
qdyn_error_mod
: (all routines)From
qdyn_units_mod
:From
qdyn_grid_mod
: (all routines)From
qdyn_specrad_mod
:From
qdyn_ham_mod
:From
qdyn_op_matrices_mod
:From
qdyn_sparse_mod
:From
qdyn_spin_chain_mod
: (all routines)From
qdyn_psi_mod
:From
qdyn_rho_mod
:From
qdyn_state_mod
:From
qdyn_rk45_mod
:From
qdyn_inout_mod
:From
qdyn_para_mod
:From
qdyn_op_mod
:From
qdyn_pulse_mod
:From
qdyn_oct_targets_mod
:From
qdyn_oct_lv_targets_mod
:From
qdyn_oct_mod
:From
qdyn_octutils_mod
:From
qdyn_prop_mod
:From
qdyn_mcwf_mod
:From
qdyn_nito_mod
:From
qdyn_prop_seg_storage_mod
:From
qdyn_inhom_prop_mod
:From
qdyn_inhom_rk45_mod
:From
qdyn_eigensystem_mod
:From
qdyn_window_mod
: (all routines)From
qdyn_oct_funcs_mod
:From
qdyn_local_invariants_mod
:From
qdyn_scattering_mod
: (all routines)From
qdyn_numerov_mod
: (all routines)From
qdyn_spectra_mod
:From
qdyn_markov_mod
:From
qdyn_debug_mod
:From
qdyn_vmi_mod
:From
qdyn_random_mod
:From
qdyn_mpi_utils_mod
:From
qdyn_pulse_coupling_mod
:
Reference¶
-
qdyn/
QDYN_COMPILE_HOST
¶ Hostname of the machine where QDYN has been compiled.
character(len=error_l) :: QDYN_COMPILE_HOST = ...
-
qdyn/
QDYN_COMPILE_TIME
¶ Date on which QDYN has been compiled.
character(len=error_l) :: QDYN_COMPILE_TIME = ...
-
qdyn/
QDYN_FC
¶ Fortran compiler used to build QDYN.
character(len=error_l) :: QDYN_FC = ...
-
qdyn/
QDYN_FEATURES
¶ Configure options used for the current build of QDYN.
character(len=1024) :: QDYN_FEATURES = ...
-
qdyn/
QDYN_FFLAGS
¶ Compiler flags used to build QDYN.
character(len=1024) :: QDYN_FFLAGS = ...
-
qdyn/
QDYN_GITBRANCH
¶ Current git branch.
character(len=error_l) :: QDYN_GITBRANCH = ...
-
qdyn/
QDYN_GITVERSION
¶ Version of git on the machine that compiled QDYN.
character(len=error_l) :: QDYN_GITVERSION = ...
-
qdyn/
QDYN_LIBS
¶ Library flags used to build QDYN.
character(len=1024) :: QDYN_LIBS = ...
-
qdyn/
QDYN_VERSION
¶ Current version of QDYN.
character(len=error_l) :: QDYN_VERSION = ...
-
subroutine
qdyn/
init
(para, grid, gen, state, pulses, eigensystem, label, quiet)[source]¶ Initialize a physical model.
A model consists of
grid
,gen
,state
,eigensystem
, andpulses
(all optional) according to the parameters in the config file, which must have been loaded into thepara
variable using theread_para()
routine.Note that if a config file contains the same section (e.g.
pulse
) more than once, they must be distinguished by different value forlabel
(if nothing is specified this is the empty string). When theinit
routine is called, it only takes into account sections with a matching value forlabel
.The
init()
routine will check for dependencies. E.g., if you want to initialize a dynamical generator, you must also initializepulses
. Note that you can always use specific initialization routines such asinit_dyn_gen()
to avoid this, for example if you have different dynamical generators that are distinguished by a differentlabel
, but should share the samepulses
.- Parameters
- Options
grid :: grid_t, inout — Grid to be initialized from
para
gen :: dyn_generator_t, inout — Dynamical generator to be initialized from
para
state :: state_t, inout — State to be initialized from
para
eigensystem :: eigensystem_t, inout — Eigensystem data structure
label :: character, in — Config file label for which to initialize the variables
quiet :: logical, in — If
.true.
, do not print any status messages
-
subroutine
qdyn/
print_qdyn_version
(verbosity)[source]¶ Print a summary of the QDYN version and the compilation options.
It is recommended to call this routine in every program using QDYN.
- Options
verbosity :: integer, in —
Indicates how much information is printed. The following values are accepted:
0
: only print version1
: also print features2
: also print compilation time, compiler and host3
: also print details compilation options
The default value is
2
.