Next: About this document ...
Up: Adding a module
Previous: Formats
Contents
Adding a new step is not intended to be necessary. The only thing
that needs to be added are modules (methods) in pre-defined steps.
However we will explain what you will have to change if you want to
add a new step.
In file readinput.h:
- you will have to add a const for the new step
which is later stored in the process array;
- also a struct has to be made to store the variables of this new
step.
(method selector, output file name, window sizes, etc.);
- the prototype of the function readinput should be augmented with
this new struct.
In the file readinput.c:
- function readinput augment with new struct;
- (only)process card, define new keyword for this step;
- add reading of parameters into defined inputstruct by new
keywords.
In file ioroutines.c: (only minor adding)
- routine: doinitwrite: add new step
- routine: initwrite: process control
- routine: updateprocesscontrol: check for string
- routine: checkprocesscontrol: check for string
- routine: fillcheckprocesscontrol: check for string
- routine: fillprocessed: check for string
In file processor.c:
- add definition of new struct,
- readinput augment with new struct,
- add in big switch what to do if new step is requested.
General:
- document what you did, new keywords and arguments, new process control flag.
- how does the result file has to end? "* END_filtphase:_NORMAL"
- what strings in the result file are used later in the program?
- email to owner-doris_users@tudelft.nl.
Next: About this document ...
Up: Adding a module
Previous: Formats
Contents
Leijen
2009-04-14