UniVista.namelist
Class Fortran9XNamelistInput

java.lang.Object
  |
  +--UniVista.namelist.NamelistInput
        |
        +--UniVista.namelist.FortranNamelistInput
              |
              +--UniVista.namelist.Fortran9XNamelistInput

public class Fortran9XNamelistInput
extends FortranNamelistInput

This class deals with importing Fortran 90/95 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
inputMethods
 
Constructor Summary
Fortran9XNamelistInput()
           
 
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

Fortran9XNamelistInput

public Fortran9XNamelistInput()
Method Detail

getDescription

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

makeCodeFromNamelist

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