PartMC 2.1.0
|
An input file with extra data for printing messages. More...
Public Attributes | |
character(len=SPEC_LINE_MAX_VAR_LEN) | name |
Filename. | |
integer | unit |
Attached unit. | |
integer | line_num |
Current line number. |
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
.
Current line number.
character(len=SPEC_LINE_MAX_VAR_LEN) pmc_spec_file::spec_file_t::name |
Filename.
integer pmc_spec_file::spec_file_t::unit |
Attached unit.