This FTOOL is also written in C.
Full use is made of dynamic memory allocation. If the number of
spectral channels is changed in XSTAR, this program should adapt
appropriately, automatically.
Examples of changes in XSTAR that would require changes in this FTOOL
(just meant as a sample, not necessarily an exhaustive list).
- Changing the number of physical parameters in XSTAR.
- At present, this program is written assuming that the XSTAR runs are
performed sequentially and in a particular order. In fact, it checks the
sequence by comparing the LASTSPEC keyword to the LOOPCONTROL variable.
If, at some time in the future, the XPI interface is modified in such
a way that it becomes possible to simultaneously submit multiple XSTAR
runs on multiple processors, xstar2table must be modified to ignore
this comparison.