output_base Module

Module that provides basic IO functionality for keeping track of the next available file unit.


Uses

  • module~~output_base~~UsesGraph module~output_base output_base module~kinds kinds module~output_base->module~kinds

Used by

  • module~~output_base~~UsedByGraph module~output_base output_base proc~output_igfb output_igfb proc~output_igfb->module~output_base proc~output_cgfb output_cgfb proc~output_cgfb->module~output_base proc~sobs_output sobs_output proc~sobs_output->module~output_base proc~output_coords output_coords proc~output_coords->module~output_base proc~osc_schw_output osc_schw_output proc~osc_schw_output->module~output_base proc~output_rgf output_rgf proc~output_rgf->module~output_base proc~read_all_modes read_all_modes proc~read_all_modes->module~output_base proc~output_rgfb output_rgfb proc~output_rgfb->module~output_base proc~sf_output sf_output proc~sf_output->module~output_base proc~cobs_output cobs_output proc~cobs_output->module~output_base proc~co_output co_output proc~co_output->module~output_base proc~output output proc~output->module~output_base proc~geod_schw_output geod_schw_output proc~geod_schw_output->module~output_base proc~output_cgf output_cgf proc~output_cgf->module~output_base

Contents


Variables

TypeVisibility AttributesNameInitial
integer(kind=ip), private :: next_id =20

This is kept private in order to ensure that everything is consistent. The first available file unit is 20.


Functions

public function next_available_io_id() result(io_id)

Function that provides the next available file unit.

Arguments

None

Return Value integer(kind=ip)

The returned value is not used for output for any other quantity.


Subroutines

public subroutine release_io_id(io_id)

Function that releases the last assigned file unit.

Arguments

Type IntentOptional AttributesName
integer(kind=ip), intent(inout) :: io_id

The file unit to attempt to release. If this is not the last assigned file unit, the routine aborts the execution.