Neko 1.99.1
A portable framework for high-order spectral element flow simulations
|
Interface for Neko checkpoint files. More...
Public Member Functions | |
procedure | read (this, data) |
Load a checkpoint from file. | |
procedure | read_field (this, fh, byte_offset, x, nel) |
procedure | write (this, data, t) |
Write a Neko checkpoint. | |
procedure | set_overwrite (this, overwrite) |
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_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. | |
Public Attributes | |
type(space_t), pointer | chkp_xh |
Function space in the loaded checkpoint file. | |
type(space_t), pointer | sim_xh |
Function space used in the simulation. | |
type(interpolator_t) | space_interp |
Interpolation when only changing lx. | |
type(global_interpolation_t) | global_interp |
Interpolation for different meshes. | |
logical | mesh2mesh |
Flag if previous mesh difers from current. | |
logical | serial = .false. |
File format is serial. | |
logical | overwrite = .false. |
Private Attributes | |
character(len=1024), private | fname |
integer, private | counter = -1 |
integer, private | start_counter = 0 |
Definition at line 61 of file chkp_file.f90.
|
inherited |
Definition at line 71 of file generic_file.f90.
|
inherited |
Definition at line 59 of file generic_file.f90.
|
inherited |
Definition at line 63 of file generic_file.f90.
|
inherited |
Definition at line 57 of file generic_file.f90.
|
inherited |
Definition at line 67 of file generic_file.f90.
|
inherited |
Definition at line 69 of file generic_file.f90.
|
inherited |
Write method.
Definition at line 51 of file generic_file.f90.
procedure chkp_file::chkp_file_t::read | ( | class(chkp_file_t) | this, |
class(*), intent(inout), target | data | ||
) |
Definition at line 73 of file chkp_file.f90.
|
pure virtualinherited |
Definition at line 55 of file generic_file.f90.
procedure chkp_file::chkp_file_t::read_field | ( | class(chkp_file_t) | this, |
type(mpi_file) | fh, | ||
integer(kind=mpi_offset_kind) | byte_offset, | ||
real(kind=rp), dimension(this%sim_xh%lxyz, nel) | x, | ||
integer, intent(in) | nel | ||
) |
Definition at line 74 of file chkp_file.f90.
|
inherited |
Definition at line 61 of file generic_file.f90.
procedure chkp_file::chkp_file_t::set_overwrite | ( | class(chkp_file_t), intent(inout) | this, |
logical, intent(in) | overwrite | ||
) |
Definition at line 76 of file chkp_file.f90.
|
inherited |
Definition at line 73 of file generic_file.f90.
|
inherited |
Definition at line 65 of file generic_file.f90.
procedure chkp_file::chkp_file_t::write | ( | class(chkp_file_t), intent(inout) | this, |
class(*), intent(in), target | data, | ||
real(kind=rp), intent(in), optional | t | ||
) |
Definition at line 75 of file chkp_file.f90.
|
pure virtualinherited |
Definition at line 53 of file generic_file.f90.
Definition at line 63 of file chkp_file.f90.
Definition at line 44 of file generic_file.f90.
Definition at line 43 of file generic_file.f90.
type(global_interpolation_t) chkp_file::chkp_file_t::global_interp |
Definition at line 69 of file chkp_file.f90.
logical chkp_file::chkp_file_t::mesh2mesh |
Definition at line 71 of file chkp_file.f90.
|
inherited |
Definition at line 48 of file generic_file.f90.
|
inherited |
Definition at line 47 of file generic_file.f90.
Definition at line 65 of file chkp_file.f90.
type(interpolator_t) chkp_file::chkp_file_t::space_interp |
Definition at line 67 of file chkp_file.f90.
Definition at line 45 of file generic_file.f90.