PartMC 2.1.4
Public Attributes
pmc_spec_file::spec_file_t Type Reference

An input file with extra data for printing messages. More...

List of all members.

Public Attributes

character(len=SPEC_LINE_MAX_VAR_LEN) name
 Filename.
integer unit
 Attached unit.
integer line_num
 Current line number.

Detailed Description

An input file with extra data for printing messages.

An spec_file_t is just a simple wrapper around a Fortran unit number together with the filename and current line number. The line number is updated manually by the various spec_file_*() subroutine. To maintain its validity all file accesses must be done via the spec_file_*() subroutines, and no data should be accessed directly via spec_file%unit.

Definition at line 59 of file spec_file.F90.


Member Data Documentation

Current line number.

Definition at line 65 of file spec_file.F90.

character(len=SPEC_LINE_MAX_VAR_LEN) pmc_spec_file::spec_file_t::name

Filename.

Definition at line 61 of file spec_file.F90.

Attached unit.

Definition at line 63 of file spec_file.F90.


The documentation for this type was generated from the following file: