cdifs_obj_WriteRestartData Module Subroutine

module subroutine cdifs_obj_WriteRestartData(this)

Writes restart data to disk.

Arguments

Type IntentOptional Attributes Name
class(cdifs_obj), intent(inout) :: this

CDIFS solver


Calls

proc~~cdifs_obj_writerestartdata~~CallsGraph proc~cdifs_obj_writerestartdata cdifs_obj_WriteRestartData proc~timer_obj_updatetiming timer_obj%timer_obj_UpdateTiming proc~cdifs_obj_writerestartdata->proc~timer_obj_updatetiming none~get~3 hashtbl_obj%Get proc~timer_obj_updatetiming->none~get~3 proc~hashtbl_obj_hashstring hashtbl_obj%hashtbl_obj_HashString proc~timer_obj_updatetiming->proc~hashtbl_obj_hashstring proc~hashtbl_obj_get_int4 hashtbl_obj%hashtbl_obj_Get_int4 none~get~3->proc~hashtbl_obj_get_int4 proc~hashtbl_obj_get_int8 hashtbl_obj%hashtbl_obj_Get_int8 none~get~3->proc~hashtbl_obj_get_int8 proc~hashtbl_obj_get_real_dp hashtbl_obj%hashtbl_obj_Get_real_dp none~get~3->proc~hashtbl_obj_get_real_dp proc~hashtbl_obj_get_real_sp hashtbl_obj%hashtbl_obj_Get_real_sp none~get~3->proc~hashtbl_obj_get_real_sp none~get~2 sllist_obj%Get proc~hashtbl_obj_get_int4->none~get~2 proc~hashtbl_obj_get_int8->none~get~2 proc~hashtbl_obj_get_real_dp->none~get~2 proc~hashtbl_obj_get_real_sp->none~get~2 proc~sllist_obj_get_int4 sllist_obj%sllist_obj_Get_int4 none~get~2->proc~sllist_obj_get_int4 proc~sllist_obj_get_int8 sllist_obj%sllist_obj_Get_int8 none~get~2->proc~sllist_obj_get_int8 proc~sllist_obj_get_real_dp sllist_obj%sllist_obj_Get_real_dp none~get~2->proc~sllist_obj_get_real_dp proc~sllist_obj_get_real_sp sllist_obj%sllist_obj_Get_real_sp none~get~2->proc~sllist_obj_get_real_sp proc~sllist_obj_get_int4->proc~sllist_obj_get_int4 proc~sllist_obj_get_int8->proc~sllist_obj_get_int8 proc~sllist_obj_get_real_dp->proc~sllist_obj_get_real_dp proc~sllist_obj_get_real_sp->proc~sllist_obj_get_real_sp

Called by

proc~~cdifs_obj_writerestartdata~~CalledByGraph proc~cdifs_obj_writerestartdata cdifs_obj_WriteRestartData interface~cdifs_obj_writerestartdata cdifs_obj%cdifs_obj_WriteRestartData interface~cdifs_obj_writerestartdata->proc~cdifs_obj_writerestartdata

Source Code

    module subroutine cdifs_obj_WriteRestartData(this)
      !> Writes restart data to disk.
      class(cdifs_obj), intent(inout) :: this                                  !! CDIFS solver

      ! Write data required for restarts in working precision
      call this%fields%Write(this%timer%iter,this%timer%time,[character(len=str8) :: 'V1','V2','V3','P'])

      if (this%use_IB) call this%IB%Write(this%timer%iter,this%timer%time)
      if (this%use_RP) call this%RP%Write(this%timer%iter,this%timer%time)

      ! Update timing info
      call this%timer%UpdateTiming('Restart' )

      return
    end subroutine cdifs_obj_WriteRestartData