Appearance
motion_file_abst_object
MOTIOn, abstract file object class.
Source: src/lib/motion_file_base_object.F90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
FILE_PARAMETERS | type(file_parameters_object) | parameter | List of file named constants. |
Derived Types
file_parameters_object
Global named constants (paramters) class (container) for files handling.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
FILE_ACTION_READONLY | character(len=8) | Open file in readonly, exit fail if it does not exist. | |
FILE_ACTION_OVERWRITE | character(len=9) | Open new file, overwrite is already exist. | |
FILE_ACTION_NEWFILE | character(len=7) | Open new file, exit fail if already exist. |
file_base_object
Abstract file object class.
Inheritance
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
filename | type(string) | File name. | |
procs_number | integer(kind=I4P) | Number of MPI processes. | |
myrank | integer(kind=I4P) | MPI ID process. | |
error | integer(kind=I4P) | IO Error status. |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
initialize | pass(self) | Initialize file class. |
Subroutines
initialize
Initialize file class.
fortran
subroutine initialize(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_base_object) | inout | File handler. |
Call graph