An example how the template can be used to sweep over a variable, e.g. the quantum well width, is shown in this tutorial. This website describes the template feature of nextnanomat.

<Variable> = <Value> <Comment>


<Variable>: starts with $ or % (% should be preferred), can contain characters A-Z, a-z, 0-9 and the underscore (_) (case-sensitive)

  • For nextnano++, the definition of variables can be found here.
  • For nextnano3, the definition of variables can be found here.

<Value>: any string without # and !, is used as default value in the user interface

<Comment>: starts with # or !, is used as a description of the variable in the user interface (optional) The comment may also include the following keywords (including brackets):

  • (DoNotShowInUserInterface): This variable is not shown to the user in the user interface.
  • (DisplayUnit:<Unit>): a string to show in the user interface as the unit for the variable (optional)
  • (ListOfValues:<default>): default values for List of values
  • (RangeOfValues:From=1,To=10,Step=1): default values for Range of values
  • (HighlightInUserInterface): highlights variable in Template pane in yellow

<Variable>, <Value> and <Comment> may include leading or trailing spaces (which are stripped in the user interface).

Every line that starts with a $ (not nn3) or % (after stripping leading spaces) and includes a = is considered a variable definition.

  • Collect data from sweep files, store them in a separate file, so that e.g. interband transition energy as a function of well width can be visualized.