Input Parser Manual
The given input parser reads and analyzes an input file according to
predefined syntactical rules.
It is written in Fortran 2003. The author was GŁnther Zandler.
It has a unique psychological effect
on any user: "No matter if it works or not - you will wonder why!"
The main idea is to realize a tool, which enables the user to write
position independent (as far as possible) input files.
The input files can
be changed without recompiling the parser.
The parser checks the input file
for syntactical correctness, for the presence of required input and for
correctness of the data types of the given variable values.
Additionally, functions and variables can be used
Fortran input parser - General comments
input_parser.zipThis is a simple test example (Fortran 2003 code) of GŁnther
Zandler's famous input parser that is used inside nextnano≥.
Maybe you got already familiar with it and want to use it in your own
- Input parser:
This manual provides general infomation on
specifiers that are used for
treating the input files.
This is important if you want to add additional
in the files
Fortran input parser - nextnano3 specific comments
- Input parser: Keywords
General introduction to some of the keywords and
specifiers including some examples.
- General program layout
This is a description how the main driving routine
for reading input parameters, database information as well as
processing and checking the corresponding quantities).
scaling quantities and physical constants
All input quantities are assumed to be given in
This is important for the material parameters in the
Here you can find detailed information for each individual
keyword and its specifiers, e.g. start with
Simulation coordinate system
What is the dimension of your simulation region/sample?
Description of the keyword
together with its specifiers
Information about the overall simulation domain,
that is the real space region in which the device
is defined, - orientation of crystal and substrate.
Recent changes to the input parser
- Input parser can be activated several times during a program run.
- Added macro feature so that variables can be
- Added function parser feature so that
variables can be evaluated.
- Allow for single precision input (and convert it automatically into
- TABs are now allowed.