next up previous
Next: Limitations Up: Viewmol Manual Previous: Data files

Programming Your Own Input Filter

VIEWMOL can be easily adapted to read outputs of other programmes or other file formats. All you have to do is to write a new input filter which extracts the data from the corresponding file. These input filter are stand-alone programmes and can be written in every programming language you want. Examples in C and awk are included.

The input filter has to read the following data from the output file and write them to its standard output in the format described below. This format follows the file format of TURBOMOLE very closely. A few sections had to be extended to allow data which are currently not supported by TURBOMOLE (e. g. unit cells).

The last line of the data written to standard output by the input filter must be $end.

  figure264
Figure 7:  The error dialog produced by the sample error message

The input filter can be installed by adding a line to the viewmolrc file.


next up previous
Next: Limitations Up: Viewmol Manual Previous: Data files

Jörg-Rüdiger Hill
Sun Dec 8 14:15:57 PST 1996