pkReadData

Name

pkReadData -- Reads all data in the input file

Description

The subroutine pkReadData reads in the input file all the NAMELIST instructions characterizing the data handled by PLASMAKIN and processes that informations. pkReadData is a wrapper routine calling the other data reading routines: pkReadBaseData, pkReadSpecies and pkReadChemReactions.

Syntax

pkReadData( UNIT[, IOSTAT] )

NameDescriptionData type and attributes
UNITUnit number for the input fileINTEGER, INTENT(IN)
IOSTATExecution status indicatorINTEGER, OPTIONAL, INTENT(OUT)

Results

IOSTAT = 0: no errors; IOSTAT = n: error number.

Comments

The calling program is responsible for opening and closing the input file.

Examples

Example E-15. pkReadData: Reading the input file.

  OPEN( UNIT=10, FILE='TestData.txt', ACTION='READ' )
  CALL pkReadData( 10 )