GBS
file_type_mod Module Reference

Data Types

interface  tfile
 Derived type for manipulating files. More...
 

Functions/Subroutines

type(tfile) function constructor (filename)
 Constructor of the File type. More...
 
subroutine open (this)
 Open the file. More...
 
subroutine close (this)
 Close the file. More...
 

Variables

integer, parameter starting_unit = 1000
 
integer, save file_number = 1
 

Function/Subroutine Documentation

◆ close()

subroutine file_type_mod::close ( class(tfile), intent(inout)  this)
private

Close the file.

◆ constructor()

type(tfile) function file_type_mod::constructor ( character(len=*), intent(in)  filename)
private

Constructor of the File type.

Parameters
[in]filenameName to giver to the file

◆ open()

subroutine file_type_mod::open ( class(tfile), intent(inout)  this)
private

Open the file.

Variable Documentation

◆ file_number

integer, save file_type_mod::file_number = 1
private

◆ starting_unit

integer, parameter file_type_mod::starting_unit = 1000
private