Interface for Neko legacy checkpoint files.
More...
|
| procedure | read (this, data) |
| | Load a Neko legacy checkpoint.
|
| |
| procedure | read_field (this, fh, byte_offset, x, nel) |
| | Read and optionally interpolate one legacy checkpoint field.
|
| |
| procedure | write (this, data, t) |
| | Write a Neko legacy checkpoint.
|
| |
| procedure | get_next_output_fname (this) |
| | Get the physical file name generated by the next write.
|
| |
| procedure | set_overwrite (this, overwrite) |
| | Set whether checkpoint files may be overwritten.
|
| |
| procedure | init (this, fname) |
| | Generic file constructor.
|
| |
| procedure(generic_file_write), deferred | write (this, data, t) |
| | Read method.
|
| |
| procedure(generic_file_read), deferred | read (this, data) |
| |
| procedure | get_fname (this) |
| | Get a file's name.
|
| |
| procedure | get_next_output_fname (this) |
| | Get the file name generated by the next write.
|
| |
| procedure | get_base_fname (this) |
| | Get base name without counter.
|
| |
| procedure | set_counter (this, n) |
| | Set the file counter to n.
|
| |
| procedure | get_counter (this) |
| | Get the file counter.
|
| |
| procedure | set_start_counter (this, n) |
| | Set the file start counter to n.
|
| |
| procedure | get_start_counter (this) |
| | Get the file start counter.
|
| |
| procedure | increment_counter (this) |
| | Increment the file counter by 1.
|
| |
| procedure | check_exists (this) |
| | Ensure the file exists.
|
| |
| procedure | set_overwrite (this, overwrite) |
| | Set overwrite mode.
|
| |
Definition at line 95 of file chkp_file.f90.
◆ check_exists()
◆ get_base_fname()
◆ get_counter()
◆ get_fname()
◆ get_next_output_fname() [1/2]
◆ get_next_output_fname() [2/2]
◆ get_start_counter()
◆ increment_counter()
◆ init()
◆ read() [1/2]
- Parameters
-
| data | Checkpoint data to populate. |
Definition at line 108 of file chkp_file.f90.
◆ read() [2/2]
◆ read_field()
- Parameters
-
| fh | Open MPI file handle. |
| byte_offset | Byte offset of the rank-local field data. |
| x | Simulation-space field storage to populate. |
| nel | Number of local elements. |
Definition at line 110 of file chkp_file.f90.
◆ set_counter()
◆ set_overwrite() [1/2]
- Parameters
-
| overwrite | Whether existing files may be overwritten. |
Definition at line 116 of file chkp_file.f90.
◆ set_overwrite() [2/2]
◆ set_start_counter()
◆ write() [1/2]
- Parameters
-
| data | Checkpoint data to write. |
| [optional] | t Simulation time. |
Definition at line 112 of file chkp_file.f90.
◆ write() [2/2]
◆ chkp_xh
◆ counter
◆ fname
◆ global_interp
◆ mesh2mesh
| logical chkp_file::chkp_file_t::mesh2mesh |
◆ overwrite
| logical generic_file::generic_file_t::overwrite = .false. |
|
inherited |
◆ serial
| logical generic_file::generic_file_t::serial = .false. |
|
inherited |
◆ sim_xh
◆ space_interp
◆ start_counter
The documentation for this type was generated from the following file: