2019-06-17 12:37:11 +03:00
|
|
|
package "qpms-translations-ewald32"
|
|
|
|
version "dev"
|
|
|
|
purpose "Computes Ewald-summed VSWF translation matrix elements in arbitrary 2D-periodic infinite lattices."
|
|
|
|
#versiontext ""
|
|
|
|
|
|
|
|
#args "<command line options>"
|
2019-06-17 17:25:44 +03:00
|
|
|
args "--file-name=transop_ewald_cmdline"
|
2019-06-17 12:37:11 +03:00
|
|
|
|
|
|
|
# Options
|
|
|
|
|
|
|
|
option "output" o "Output file"
|
|
|
|
details="Path to the output file. If not specified, print to the standard output."
|
|
|
|
string
|
|
|
|
default=""
|
|
|
|
optional
|
|
|
|
|
2019-06-18 15:52:28 +03:00
|
|
|
option "base-vector" b "Base vector"
|
|
|
|
details="Single base vector (two numbers separated by comma)"
|
|
|
|
string
|
|
|
|
typestr="X,Y"
|
2019-06-19 02:44:26 +03:00
|
|
|
multiple(2) required # will be multiple(-3) when implemented 1d, 3d
|
2019-06-18 15:52:28 +03:00
|
|
|
|
2019-06-18 13:36:57 +03:00
|
|
|
option "error-estimate-output" E "Path to the output with error estimates"
|
|
|
|
string
|
|
|
|
optional
|
|
|
|
|
|
|
|
option "normalisation" N "VSWF normalisation convention"
|
2019-06-17 12:37:11 +03:00
|
|
|
values="Power","None","SH" enum
|
|
|
|
default="Power"
|
|
|
|
|
|
|
|
option "csphase" c "Whether the Condon-Shortley phase is included in VSWF definition (-1) or not (+1)"
|
|
|
|
int
|
|
|
|
values="+1","-1"
|
|
|
|
default="-1"
|
|
|
|
|
|
|
|
option "Ewald-parameter" e "The value of Ewald parameter η"
|
|
|
|
double
|
|
|
|
optional
|
|
|
|
|
2019-06-18 13:36:57 +03:00
|
|
|
option "frequency-unit" u "Specifies the frequency unit is used for inputs."
|
2019-06-18 14:48:39 +03:00
|
|
|
values="eV","scuff" enum
|
2019-06-18 13:36:57 +03:00
|
|
|
default="scuff"
|
2019-06-17 12:37:11 +03:00
|
|
|
|
2019-06-18 13:36:57 +03:00
|
|
|
option "lMax" L "Maximum spherical multipole order to which the translation operator elements are calculated"
|
|
|
|
int
|
|
|
|
required
|
2019-06-17 12:37:11 +03:00
|
|
|
|
2019-06-18 15:52:28 +03:00
|
|
|
option "refractive-index" n "Medium refractive index"
|
2019-06-18 13:36:57 +03:00
|
|
|
double
|
|
|
|
required
|
|
|
|
|
|
|
|
option "particle" p "Specify the x and y coordinates of a single particle; If not specified, one particle per unit cell is assumed."
|
2019-06-18 14:48:39 +03:00
|
|
|
string
|
2019-06-18 15:52:28 +03:00
|
|
|
typestr="X,Y"
|
2019-06-18 14:48:39 +03:00
|
|
|
multiple optional
|
2019-06-17 12:37:11 +03:00
|
|
|
|
|
|
|
defmode "k_omega_points" modedesc="Specifying each (ω, k) pair separately."
|
|
|
|
defmode "k_omega_meshgrid" modedesc="Specifying lists of ω and k, from which all possible pairs are generated."
|
|
|
|
|
2019-06-18 13:36:57 +03:00
|
|
|
modeoption "pointfile" T "Path to a file containing frequency, k_x, k_y triples\
|
|
|
|
(separated by white spaces). If not specified, read them from stdin."
|
2019-06-18 14:48:39 +03:00
|
|
|
mode="k_omega_points"
|
|
|
|
string
|
|
|
|
multiple default="-"
|
2019-06-18 13:36:57 +03:00
|
|
|
|
|
|
|
modeoption "point" t "Specifies a frequency, k_x, k_y triple, separated by commas."
|
2019-06-18 14:48:39 +03:00
|
|
|
mode="k_omega_points"
|
|
|
|
string
|
2019-06-18 15:52:28 +03:00
|
|
|
typestr="ω,k_x,k_y"
|
2019-06-18 14:48:39 +03:00
|
|
|
multiple optional
|
2019-06-18 13:36:57 +03:00
|
|
|
|
|
|
|
modeoption "omegafile" F "Path to a file containing a list of frequencies\
|
|
|
|
separated by whitespaces."
|
2019-06-18 14:48:39 +03:00
|
|
|
mode="k_omega_meshgrid"
|
|
|
|
string
|
|
|
|
multiple optional
|
2019-06-18 13:36:57 +03:00
|
|
|
|
2019-06-18 15:52:28 +03:00
|
|
|
modeoption "omega" f "Specifies frequency (or multiple frequencies separated by commas) on the command line."
|
2019-06-18 14:48:39 +03:00
|
|
|
mode="k_omega_meshgrid"
|
|
|
|
string
|
2019-06-18 15:52:28 +03:00
|
|
|
typestr="ω1[,ω2[,...]]"
|
2019-06-18 14:48:39 +03:00
|
|
|
multiple optional
|
2019-06-18 13:36:57 +03:00
|
|
|
|
|
|
|
modeoption "kfile" K "Path to a file containing a list of k_x, k_y pairs."
|
2019-06-18 14:48:39 +03:00
|
|
|
mode="k_omega_meshgrid"
|
|
|
|
string
|
|
|
|
multiple optional
|
2019-06-18 13:36:57 +03:00
|
|
|
default="-"
|
|
|
|
|
|
|
|
modeoption "k" k "Specifies pair(s) of k_x, k_y values"
|
2019-06-18 14:48:39 +03:00
|
|
|
mode="k_omega_meshgrid"
|
|
|
|
string
|
2019-06-18 15:52:28 +03:00
|
|
|
typestr="k1_x,k1_y[,k2_x,k2_y[,...]]"
|
2019-06-18 14:48:39 +03:00
|
|
|
multiple optional
|
2019-06-18 13:36:57 +03:00
|
|
|
|
|
|
|
|
2019-06-17 12:37:11 +03:00
|
|
|
#option <long> <short> "<desc>"
|
|
|
|
# {details="<detailed description>"}
|
|
|
|
# {argtype} {typestr="<type descr>"}
|
|
|
|
# {values="<value1>","<value2>",...}
|
|
|
|
# {default="<default value>"}
|
|
|
|
# {dependon="<other option>"}
|
|
|
|
# {required} {argoptional} {multiple}
|
|
|
|
# {hidden}
|
|
|
|
|
|
|
|
#option <long> <short> "<desc>" flag <on/off>
|
|
|
|
|
|
|
|
#section "section name" {sectiondesc="optional section description"}
|
|
|
|
|
|
|
|
#text "a textual sentence"
|