SCALE-RM
Functions/Subroutines
mod_user Module Reference

module USER More...

Functions/Subroutines

subroutine, public user_setup
 Setup before setup of other components. More...
 
subroutine, public user_resume0
 Resuming operation, before calculating tendency. More...
 
subroutine, public user_resume
 Resuming operation. More...
 
subroutine, public user_step
 User step. More...
 

Detailed Description

module USER

Description
User defined module
Author
Team SCALE
History
  • 2012-12-26 (H.Yashiro) [new]

Function/Subroutine Documentation

◆ user_setup()

subroutine, public mod_user::user_setup ( )

Setup before setup of other components.

Definition at line 55 of file mod_user.f90.

References scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_lnml, and scale_process::prc_mpistop().

Referenced by mod_rm_driver::scalerm().

55  use scale_process, only: &
57  implicit none
58 
59  namelist / param_user / &
60  user_do
61 
62  integer :: ierr
63  !---------------------------------------------------------------------------
64 
65  if( io_l ) write(io_fid_log,*)
66  if( io_l ) write(io_fid_log,*) '+++ Module[USER]/Categ[MAIN]'
67 
68  !--- read namelist
69  rewind(io_fid_conf)
70  read(io_fid_conf,nml=param_user,iostat=ierr)
71 
72  if( ierr < 0 ) then !--- missing
73  if( io_l ) write(io_fid_log,*) '*** Not found namelist. Default used.'
74  elseif( ierr > 0 ) then !--- fatal error
75  write(*,*) 'xxx Not appropriate names in namelist PARAM_USER. Check!'
76  call prc_mpistop
77  endif
78  if( io_lnml ) write(io_fid_log,nml=param_user)
79 
80  if( io_l ) write(io_fid_log,*) '*** This module is dummy.'
81 
82  return
subroutine, public prc_mpistop
Abort MPI.
module PROCESS
Here is the call graph for this function:
Here is the caller graph for this function:

◆ user_resume0()

subroutine, public mod_user::user_resume0 ( )

Resuming operation, before calculating tendency.

Definition at line 88 of file mod_user.f90.

Referenced by mod_rm_driver::resume_state().

88  implicit none
89  !---------------------------------------------------------------------------
90 
91  return
Here is the caller graph for this function:

◆ user_resume()

subroutine, public mod_user::user_resume ( )

Resuming operation.

Definition at line 97 of file mod_user.f90.

Referenced by mod_rm_driver::resume_state().

97  implicit none
98  !---------------------------------------------------------------------------
99 
100  return
Here is the caller graph for this function:

◆ user_step()

subroutine, public mod_user::user_step ( )

User step.

Definition at line 106 of file mod_user.f90.

References scale_process::prc_mpistop().

Referenced by mod_rm_driver::scalerm().

106  use scale_process, only: &
108  implicit none
109  !---------------------------------------------------------------------------
110 
111  if ( user_do ) then
112  call prc_mpistop
113  endif
114 
115  return
subroutine, public prc_mpistop
Abort MPI.
module PROCESS
Here is the call graph for this function:
Here is the caller graph for this function: