i_to_string Function

public function i_to_string(count, rc) result(str)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: count
integer, intent(out), optional :: rc

Return Value character(len=:), allocatable


Calls

proc~~i_to_string~~CallsGraph proc~i_to_string i_to_string interface~mapl_assert MAPL_Assert proc~i_to_string->interface~mapl_assert proc~mapl_return MAPL_Return proc~i_to_string->proc~mapl_return at at proc~mapl_return->at insert insert proc~mapl_return->insert proc~mapl_throw_exception MAPL_throw_exception proc~mapl_return->proc~mapl_throw_exception

Called by

proc~~i_to_string~~CalledByGraph proc~i_to_string i_to_string none~initialize~10 ServerManager%initialize none~initialize~10->proc~i_to_string none~run~15 FakeHistData%run none~run~15->proc~i_to_string none~run~21 FakeHistData0%run none~run~21->proc~i_to_string proc~get_fname_by_rank get_fname_by_rank proc~get_fname_by_rank->proc~i_to_string program~main main program~main->proc~i_to_string program~main~20 main program~main~20->proc~i_to_string program~main~20->none~run~21 none~initialize_io_clients_servers~2 MAPL_Cap%initialize_io_clients_servers none~initialize_io_clients_servers~2->none~initialize~10 proc~initialize_io_clients_servers ExtDataDriver%initialize_io_clients_servers proc~initialize_io_clients_servers->none~initialize~10 proc~initialize_ioserver initialize_ioserver proc~initialize_ioserver->none~initialize~10 proc~main~2 main proc~main~2->none~initialize~10 proc~mapl_esmfstatereadfromfile MAPL_ESMFStateReadFromFile proc~mapl_esmfstatereadfromfile->proc~get_fname_by_rank program~main~15 main program~main~15->none~run~15 program~time_ave time_ave program~time_ave->none~initialize~10 program~ut_regridding ut_ReGridding program~ut_regridding->none~initialize~10 none~run_ensemble MAPL_Cap%run_ensemble none~run_ensemble->none~initialize_io_clients_servers~2 proc~mapl_genericinitialize MAPL_GenericInitialize proc~mapl_genericinitialize->proc~mapl_esmfstatereadfromfile proc~mapl_genericrefresh MAPL_GenericRefresh proc~mapl_genericrefresh->proc~mapl_esmfstatereadfromfile proc~mapl_genericrefresh->proc~mapl_genericrefresh proc~mapl_genericstaterestore MAPL_GenericStateRestore proc~mapl_genericstaterestore->proc~mapl_esmfstatereadfromfile proc~mapl_genericstaterestore->proc~mapl_genericstaterestore proc~run~12 ExtDataDriver%run proc~run~12->proc~initialize_io_clients_servers program~main~8 main program~main~8->proc~initialize_ioserver program~regrid_util Regrid_Util program~regrid_util->proc~main~2 none~run~14 MAPL_Cap%run none~run~14->none~run_ensemble program~extdata_driver ExtData_Driver program~extdata_driver->proc~run~12

Source Code

   function i_to_string(count, rc) result(str)
      character(len=:), allocatable :: str
      integer, intent(in) :: count
      integer, optional, intent(out) :: rc
      character(len=9)    :: buffer
      _ASSERT( count <= 10**8, "too big to hold")
      write(buffer,'(i0)') count
      str = trim(buffer)

      _RETURN(_SUCCESS)
   end function i_to_string