Skip to content

motion_file_abst_object

MOTIOn, abstract file object class.

Source: src/lib/motion_file_base_object.F90

Dependencies

Contents

Variables

NameTypeAttributesDescription
FILE_PARAMETERStype(file_parameters_object)parameterList of file named constants.

Derived Types

file_parameters_object

Global named constants (paramters) class (container) for files handling.

Components

NameTypeAttributesDescription
FILE_ACTION_READONLYcharacter(len=8)Open file in readonly, exit fail if it does not exist.
FILE_ACTION_OVERWRITEcharacter(len=9)Open new file, overwrite is already exist.
FILE_ACTION_NEWFILEcharacter(len=7)Open new file, exit fail if already exist.

file_base_object

Abstract file object class.

Inheritance

Components

NameTypeAttributesDescription
filenametype(string)File name.
procs_numberinteger(kind=I4P)Number of MPI processes.
myrankinteger(kind=I4P)MPI ID process.
errorinteger(kind=I4P)IO Error status.

Type-Bound Procedures

NameAttributesDescription
initializepass(self)Initialize file class.

Subroutines

initialize

Initialize file class.

fortran
subroutine initialize(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_base_object)inoutFile handler.

Call graph