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
% should be preferred), can contain characters
0-9 and the underscore (
<Value>: any string without
!, is used as default value in the user interface
<Comment>: starts with
!, 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
<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.