PartMC  2.6.1
Public Attributes | List of all members
pmc_spec_file::spec_file_t Type Reference

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

Public Attributes

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

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

◆ line_num

integer pmc_spec_file::spec_file_t::line_num

Current line number.

Definition at line 65 of file spec_file.F90.

◆ name

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

Filename.

Definition at line 61 of file spec_file.F90.

◆ unit

integer pmc_spec_file::spec_file_t::unit

Attached unit.

Definition at line 63 of file spec_file.F90.


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