Class Fortran77NamelistInput


public class Fortran77NamelistInput
extends FortranNamelistInput

This class deals with importing Fortran 77 style namelists. The acceptable input formats include scalars of every type, 1-3D arrays of scalars with index indicated, 1D array when no index is indicated and values are listed, and recurrences. Types: short/long 3 float 3.0, 3.0-E0 boolean T, .T., true, complex (1,-3) 1D array var = 1 2 3 4 5 or var = 1. 2. 3. 4. 5., etc. 2D,3D varA(1,1) = 1. varB(2,2) = (1,-3) varC(3,3,3) = 1.0+E10 recur. array varZ = 5*20.0 // array of size 5 with 20.0 in cells

Fields inherited from class UniVista.namelist.NamelistInput
Constructor Summary
Method Summary
 java.lang.String getDescription()
          return a description of the type of file the translator translates
 Code makeCodeFromNamelist(java.lang.String codeName, java.io.InputStream theFile)
          translate a namelist into a Code
Methods inherited from class UniVista.namelist.FortranNamelistInput
makeVariable, putVariableInCode
Methods inherited from class UniVista.namelist.NamelistInput
getImportClasses, importValuesIntoRun, importValuesIntoStudyDefaults, readVariable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Fortran77NamelistInput()
Method Detail


public java.lang.String getDescription()
return a description of the type of file the translator translates
getDescription in class NamelistInput


public Code makeCodeFromNamelist(java.lang.String codeName,
                                 java.io.InputStream theFile)
                          throws java.io.IOException
translate a namelist into a Code
makeCodeFromNamelist in class NamelistInput