grans_obj_WriteRestartData Module Subroutine

module subroutine grans_obj_WriteRestartData(this)

Writes restart data to disk.

Arguments

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

GRANS solver


Calls

proc~~grans_obj_writerestartdata~~CallsGraph proc~grans_obj_writerestartdata grans_obj_WriteRestartData proc~timer_obj_updatetiming timer_obj%timer_obj_UpdateTiming proc~grans_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~~grans_obj_writerestartdata~~CalledByGraph proc~grans_obj_writerestartdata grans_obj_WriteRestartData interface~grans_obj_writerestartdata grans_obj%grans_obj_WriteRestartData interface~grans_obj_writerestartdata->proc~grans_obj_writerestartdata

Source Code

    module subroutine grans_obj_WriteRestartData(this)
      !> Writes restart data to disk.
      implicit none
      class(grans_obj), intent(inout) :: this                                  !! GRANS solver

      ! Write Lagrangian data
      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)
      if (this%use_PP) call this%PP%Write(this%timer%iter,this%timer%time)

      ! Write Eulerian data
      call this%fields%Write(this%timer%iter,this%timer%time)

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

      return
    end subroutine grans_obj_WriteRestartData