Reading the step input data next up previous contents
Next: SPC's Up: Program structure. Previous: allocate   Contents

Reading the step input data

For each step the input data are read in subroutine calinput.f. For the first step this also includes the prestep data. The order in which the data is read was explained in the previous section (fields ipoinp and inp).

For each keyword card there is a subroutine, most of them are just the keyword with the letter 's' appended. For instance, *STEP is read in subroutine steps.f, *MATERIAL in materials.f. Some obey the plural building in English: *FREQUENCY is read in frequencies.f. Some are abbreviated: *CYCLIC SYMMETRY MODEL is read in cycsymmods.f. Treating more than 60 keyword cards accounts in this way for roughly one fourth of all subroutines.

At this point it may be useful to talk about a couple of important structures in the code.


guido dhondt 2012-10-06