[ Home ] [ News ] [ Contact ] [ Search ] Input parser

 ==> Download Software
 nextnano³ documentation

 Copyright notice
 About us
 Useful Links
 Publications
 
 * password protected

 

 
Up
IP: Manual
IP: Keywords
IP: Code Layout
Add material parameters
 

Input Parser Manual

Author: Günther Zandler
Address: Walter Schottky Institut, Am Coulombwall, D-85748 Garching email: zandler@wsi.tum.de


General

The given input parser reads and analyzes an input file according to predefined syntactical rules. It is written in Fortran 2003 (standard, I hope) and tested on SUN and DEC workstations, as well as on PCs running Windows. 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.

  • Fortran input parser
    input_parser.zip
    This 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 code.
  • Input parser: General
    This manual provides general infomation on keywords and specifiers that are used for treating the input files. This is important if you want to add additional keywords and additional specifiers in the files keywords.in and database.in.
  • 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 (MODULE input_driver_module) works (used for reading input parameters, database information as well as processing and checking the corresponding quantities).
  • Input scaling quantities and physical constants
    All input quantities are assumed to be given in scaled form.
    This is important for the material parameters in the database.in file.
    - $input-scaling-factors

    - $physical-constants
  • Keywords
    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 $simulation-dimension together with its specifiers dimension and orientation.
  • Domain coordinates
    Information about the overall simulation domain, that is the real space region in which the device is defined, - orientation of crystal and substrate.

Program documentation

 

Recent changes to the input parser

  • Input parser can be activated several times during a program run.
  • Added macro feature.
  • Added function parser feature.
  • Allow for single precision input (and convert it automatically into double precision).
  • TABs are now allowed.

 

 

   
Last modified: 09-Jun-2011