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.
PrepareInfo.save(calculation)
Save the prepare information for given Calculation into file 'prepare.info' in the calculation directory