Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
checkpoint Module Reference

Defines a checkpoint.

Data Types

type  chkp_t
 

Functions/Subroutines

subroutine chkp_init (this)
 Initialize checkpoint structure with mandatory data.
 
subroutine chkp_free (this)
 Reset checkpoint.
 
subroutine chkp_sync_host (this)
 Synchronize checkpoint with device.
 
subroutine chkp_sync_device (this)
 Synchronize device with checkpoint.
 
subroutine chkp_add_fluid (this, u, v, w, p)
 Add a fluid to the checkpoint.
 
subroutine chkp_add_lag (this, ulag, vlag, wlag)
 Add lagged velocity terms.
 
subroutine chkp_add_scalar (this, s, slag, abs1, abs2)
 Add a scalar to checkpointing.
 
subroutine chkp_add_ale (this, x, y, z, blag, blaglag, wm_x, wm_y, wm_z, wm_x_lag, wm_y_lag, wm_z_lag, pivot_pos, pivot_vel_lag, basis_pos, basis_vel_lag)
 Add mesh velocity and other required variables to checkpointing for ALE.
 
pure real(kind=dp) function chkp_restart_time (this)
 Return restart time from a loaded checkpoint.
 

Function/Subroutine Documentation

◆ chkp_add_ale()

subroutine checkpoint::chkp_add_ale ( class(chkp_t), intent(inout this,
real(kind=rp), dimension(:,:,:,:), intent(in), pointer  x,
real(kind=rp), dimension(:,:,:,:), intent(in), pointer  y,
real(kind=rp), dimension(:,:,:,:), intent(in), pointer  z,
real(kind=rp), dimension(:,:,:,:), intent(in), pointer  blag,
real(kind=rp), dimension(:,:,:,:), intent(in), pointer  blaglag,
type(field_t), intent(in), target  wm_x,
type(field_t), intent(in), target  wm_y,
type(field_t), intent(in), target  wm_z,
type(field_series_t), intent(in), target  wm_x_lag,
type(field_series_t), intent(in), target  wm_y_lag,
type(field_series_t), intent(in), target  wm_z_lag,
real(kind=rp), dimension(:), intent(in), pointer  pivot_pos,
real(kind=rp), dimension(:,:), intent(in), pointer  pivot_vel_lag,
real(kind=rp), dimension(:), intent(in), pointer  basis_pos,
real(kind=rp), dimension(:,:), intent(in), pointer  basis_vel_lag 
)
private

Definition at line 444 of file checkpoint.f90.

◆ chkp_add_fluid()

subroutine checkpoint::chkp_add_fluid ( class(chkp_t), intent(inout this,
type(field_t), target  u,
type(field_t), target  v,
type(field_t), target  w,
type(field_t), target  p 
)
private

Definition at line 387 of file checkpoint.f90.

◆ chkp_add_lag()

subroutine checkpoint::chkp_add_lag ( class(chkp_t), intent(inout this,
type(field_series_t), target  ulag,
type(field_series_t), target  vlag,
type(field_series_t), target  wlag 
)
private

Definition at line 414 of file checkpoint.f90.

◆ chkp_add_scalar()

subroutine checkpoint::chkp_add_scalar ( class(chkp_t), intent(inout this,
type(field_t), intent(in), target  s,
type(field_series_t), intent(in), target  slag,
type(field_t), intent(in), optional, target  abs1,
type(field_t), intent(in), optional, target  abs2 
)
private

Definition at line 429 of file checkpoint.f90.

◆ chkp_free()

subroutine checkpoint::chkp_free ( class(chkp_t), intent(inout this)
private

Definition at line 131 of file checkpoint.f90.

◆ chkp_init()

subroutine checkpoint::chkp_init ( class(chkp_t), intent(inout this)

Definition at line 122 of file checkpoint.f90.

◆ chkp_restart_time()

pure real(kind=dp) function checkpoint::chkp_restart_time ( class(chkp_t), intent(in this)
private

Definition at line 474 of file checkpoint.f90.

◆ chkp_sync_device()

subroutine checkpoint::chkp_sync_device ( class(chkp_t), intent(inout this)
private

Definition at line 292 of file checkpoint.f90.

◆ chkp_sync_host()

subroutine checkpoint::chkp_sync_host ( class(chkp_t), intent(inout this)
private

Definition at line 193 of file checkpoint.f90.