|
PartMC
2.4.0
|
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... | |
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.
| integer pmc_spec_file::spec_file_t::line_num |
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.
| integer pmc_spec_file::spec_file_t::unit |
Attached unit.
Definition at line 63 of file spec_file.F90.