Documentation for module cp_parser_buffer_types

a module to allow simple buffering of read lines of a parser

source: cp_parser_buffer_types.F
Loading...

public Types:

buffer_type
Buffer type for speeding-up the parsing in parallel

public Subroutines/Functions:

SUBROUTINE RECURSIVE
copy_buffer_type (buffer_in, buffer_out, force)
Copies buffer types
Creates the parser buffer type
Finalizes sub buffer structure
Initializes sub buffer structure
SUBROUTINE RECURSIVE
release_buffer_type (buffer)
Releases the parser buffer type

public Types:

TYPE :: buffer_type

Buffer type for speeding-up the parsing in parallel


INTEGER
:: size ...
INTEGER
:: buffer_id ...
INTEGER
:: present_line_number ...
INTEGER
:: last_line_number ...
INTEGER
:: istat ...
INTEGER,
DIMENSION(:), POINTER :: input_line_numbers ...
CHARACTER(max_line_length),
DIMENSION(:), POINTER :: input_lines ...
POINTER :: sub_buffer ...

RECURSIVE SUBROUTINEcopy_buffer_type(buffer_in, buffer_out, force)

Copies buffer types

Arguments:
POINTER
:: buffer_in ...
POINTER
:: buffer_out ...
LOGICAL,
INTENT(in),
OPTIONAL
:: force ...

SUBROUTINEcreate_buffer_type(buffer)

Creates the parser buffer type

Arguments:
POINTER
:: buffer ...

SUBROUTINEfinalize_sub_buffer(sub_buffer, buffer)

Finalizes sub buffer structure

Arguments:
POINTER
:: sub_buffer ...
POINTER
:: buffer ...

SUBROUTINEinitialize_sub_buffer(sub_buffer, buffer)

Initializes sub buffer structure

Arguments:
POINTER
:: sub_buffer ...
POINTER
:: buffer ...

RECURSIVE SUBROUTINErelease_buffer_type(buffer)

Releases the parser buffer type

Arguments:
POINTER
:: buffer ...