Cuby uses the old calculation directory and files when it is present. To avoid using old calculation with diffrent setup, important information is saved to a file when calculation is prepared. When the calculation directory is used again, the saved information is verified against current settings.

Now, two different pieces of informations are stored:

Settings keywords that shoul be saved and verified are read from constant array KEY_SETTINGS in the interface module. The array should contain all keywords that are used to prepare the calculation.

class PrepareInfo

PrepareInfo.equals?   PrepareInfo.raise_error   initialize  


This creates new PrepareInfo object for given Calculation

Save the prepare information for given Calculation into file '' in the calculation directory


Compare the current setup of the Calculation with information saved in its calculation directory.


Write out error & exit when the current setup of a Calculation doesn't match the saved setup in its calculation directory.