PartMC 2.1.4
Data Types | Modules | Functions/Subroutines | Variables
spec_line.F90 File Reference

The pmc_spec_line module. More...

Go to the source code of this file.

Data Types

type  pmc_spec_line::spec_line_t
 A single line of input data, split at whitespace. More...

Modules

module  pmc_spec_line
 

A single line of formatted test for input.


Functions/Subroutines

subroutine pmc_spec_line::spec_line_allocate (spec_line)
 Allocates memory for a spec_line.
subroutine pmc_spec_line::spec_line_allocate_size (spec_line, n_data)
 Allocates memory for a spec_line of the given size.
subroutine pmc_spec_line::spec_line_deallocate (spec_line)
 Frees all storage.
subroutine pmc_spec_line::spec_line_copy (from_spec_line, to_spec_line)
 Copies a spec_line.
subroutine pmc_spec_line::spec_line_strip_comment (string)
 Strip the comments from a string. Comments are everything after the first # character.
subroutine pmc_spec_line::spec_line_tabs_to_spaces (string)
 Expand all tabs in a string into single spaces (one tab makes one space).
subroutine pmc_spec_line::spec_line_strip_leading_spaces (string)
 Strip leading spaces from a string.

Variables

integer, parameter pmc_spec_line::SPEC_LINE_MAX_LEN = 10000
 Maximum size of a single line.
integer, parameter pmc_spec_line::SPEC_LINE_MAX_VAR_LEN = 300
 Maximum size of a variable.

Detailed Description

The pmc_spec_line module.

Definition in file spec_line.F90.