3D objects (3DO) Bitmap (BMP) Boundary (BND) Directive (DIR) Domain (DOM) Expansion (EXP) Field (FLD) Field formula (FLF) Field transform (FLT) Function (FUN) General information Grid formula (GRF) Grid transform (GRT) Integral (INT) MMP (MMP) Movie (AVI) OpenGL (OGL) Palette (PAL) PET basis (BAS) PFD (PFD) Project (PRO) Window (WIN)
Directives files contain the directives for generating movies or for solving complex problems.
Until 2015, the architecture consisted of two nested loops:
Outer pre processing directives
Start outer loop
Inner pre processing directives
Start inner loop
Inner loop directives
End inner loop
Inner post processing directives
End outer loop
Outer post processing directives
Data structure:
File ID string (Current version: " CHDIR Version 1.0")
Number of iterations in the outer, inner loop (2 integer values)
Bunch of outer pre-processing directives (terminated by an END directive)
Bunch of inner pre-processing directives (terminated by an END directive)
Bunch of inner loop directives (terminated by an END directive)
Bunch of inner post-processing directives (terminated by an END directive)
Bunch of outer post-processing directives (terminated by an END directive)
Blank line
Since 2015, various new directives provide much more flexibility and work with a much sipler data structure:
File ID string (Current version: " CHDIR Version 2.0" - If the version is 1, the old data structure is assumed!)
Bunch o directives (1 or several character strings per directive)
Old files with the old data structure (Version 1.0) are automatically converted to the new data structure by inserting appropriate LOOp statements and by deleting the obsolete old END statements. Note that OpenMaXwell provides no way back to the old data structure. As soon as you overwrite an old *.DIR file you cannot read it by older versions of OpenMaXwell anymore!
Responsible for this web page: Ch. Hafner, Computational Optics Group, IEF, ETH, 8092 Zurich, Switzerland
Last update
28.10.2015