SURFEX v8.1
General documentation of Surfex
Data Types | Functions/Subroutines | Variables
xrd_getoptions Module Reference

Data Types

interface  getoption
 
type  xrd_opt
 

Functions/Subroutines

subroutine, public addgroup (USE)
 
character(len=argsizemax) function get_env_opt (KEY)
 
subroutine mygetarg (I, S)
 
integer function myiargc ()
 
subroutine addopt_shell (KEY, TYPE, MND, USE)
 
subroutine init_opt_seen ()
 
subroutine grow_opt_seen ()
 
subroutine addopt (KEY, TYPE, USE)
 
subroutine, public initoptions (CDMESSAGE, KOPTMIN, KOPTMAX, CDARGS)
 
subroutine, public checkoptions ()
 
subroutine check_mnd (KEY, MND, USE)
 
subroutine findargindex (KEY, I, N)
 
subroutine findnextargindex (I, J)
 
subroutine getoptions (KEY, VAL, MND, USE)
 
subroutine getoptioni (KEY, VAL, MND, USE)
 
subroutine getoptionr (KEY, VAL, MND, USE)
 
subroutine readaslfromstring (VAL, SVAL)
 
subroutine readslfromstring (VAL, SVAL)
 
subroutine readslfromfile (VAL, SVAL)
 
subroutine getoptionsl (KEY, VAL, MND, USE)
 
subroutine getoptionil (KEY, VAL, MND, USE)
 
subroutine getoptionrl (KEY, VAL, MND, USE)
 
subroutine getoptionb (KEY, VAL, USE)
 

Variables

integer, parameter argsizemax = 256
 
character(len=argsizemax), dimension(:), pointer myargs => NULL()
 
logical(kind=jplm), dimension(:), pointer check_args => NULL()
 
logical(kind=jplm) lhelp = .FALSE.
 
logical(kind=jplm) lshell = .FALSE.
 
character(len=1056) message_opt = ""
 
integer(kind=jpim) nopt_seen
 
type(xrd_opt), dimension(:), pointer opt_seen => NULL()
 

Function/Subroutine Documentation

◆ addgroup()

subroutine, public xrd_getoptions::addgroup ( character(len=*), intent(in)  USE)

Definition at line 53 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ addopt()

subroutine xrd_getoptions::addopt ( character*(*), intent(in)  KEY,
character*(*), intent(in)  TYPE,
character*(*), intent(in), optional  USE 
)
private

Definition at line 199 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addopt_shell()

subroutine xrd_getoptions::addopt_shell ( character*(*), intent(in)  KEY,
character*(*), intent(in)  TYPE,
logical(kind=jplm), intent(in), optional  MND,
character*(*), intent(in), optional  USE 
)
private

Definition at line 110 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_mnd()

subroutine xrd_getoptions::check_mnd ( character(len=*), intent(in)  KEY,
logical(kind=jplm), intent(in), optional  MND,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 390 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkoptions()

subroutine, public xrd_getoptions::checkoptions ( )

Definition at line 275 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ findargindex()

subroutine xrd_getoptions::findargindex ( character(len=*), intent(in)  KEY,
integer(kind=jpim), intent(out)  I,
integer(kind=jpim), intent(out)  N 
)

Definition at line 409 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findnextargindex()

subroutine xrd_getoptions::findnextargindex ( integer(kind=jpim), intent(in)  I,
integer(kind=jpim), intent(out)  J 
)
private

Definition at line 422 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_env_opt()

character(len=argsizemax) function xrd_getoptions::get_env_opt ( character(len=*), intent(in)  KEY)
private

Definition at line 66 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getoptionb()

subroutine xrd_getoptions::getoptionb ( character(len=*), intent(in)  KEY,
logical(kind=jplm), intent(inout)  VAL,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 791 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ getoptioni()

subroutine xrd_getoptions::getoptioni ( character(len=*), intent(in)  KEY,
integer(kind=jpim), intent(inout)  VAL,
logical(kind=jplm), intent(in), optional  MND,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 482 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ getoptionil()

subroutine xrd_getoptions::getoptionil ( character(len=*), intent(in)  KEY,
integer(kind=jpim), dimension(:), pointer  VAL,
logical(kind=jplm), intent(in), optional  MND,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 701 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ getoptionr()

subroutine xrd_getoptions::getoptionr ( character(len=*), intent(in)  KEY,
real(kind=jprb), intent(inout)  VAL,
logical(kind=jplm), intent(in), optional  MND,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 517 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ getoptionrl()

subroutine xrd_getoptions::getoptionrl ( character(len=*), intent(in)  KEY,
real(kind=jprb), dimension(:), pointer  VAL,
logical(kind=jplm), intent(in), optional  MND,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 746 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ getoptions()

subroutine xrd_getoptions::getoptions ( character(len=*), intent(in)  KEY,
character(len=*), intent(inout)  VAL,
logical(kind=jplm), intent(in), optional  MND,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 437 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getoptionsl()

subroutine xrd_getoptions::getoptionsl ( character(len=*), intent(in)  KEY,
character(len=*), dimension(:), pointer  VAL,
logical(kind=jplm), intent(in), optional  MND,
character(len=*), intent(in), optional  USE 
)
private

Definition at line 636 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grow_opt_seen()

subroutine xrd_getoptions::grow_opt_seen ( )
private

Definition at line 185 of file xrd_getoptions.F90.

Here is the caller graph for this function:

◆ init_opt_seen()

subroutine xrd_getoptions::init_opt_seen ( )

Definition at line 176 of file xrd_getoptions.F90.

Here is the caller graph for this function:

◆ initoptions()

subroutine, public xrd_getoptions::initoptions ( character(len=*), intent(in), optional  CDMESSAGE,
integer (kind=jpim), intent(in), optional  KOPTMIN,
integer (kind=jpim), intent(in), optional  KOPTMAX,
character (len=*), dimension (0:), intent(in), optional  CDARGS 
)

Definition at line 220 of file xrd_getoptions.F90.

Here is the call graph for this function:

◆ mygetarg()

subroutine xrd_getoptions::mygetarg ( integer(kind=jpim), intent(in)  I,
character(len=*), intent(out)  S 
)
private

Definition at line 93 of file xrd_getoptions.F90.

Here is the caller graph for this function:

◆ myiargc()

integer function xrd_getoptions::myiargc ( )
private

Definition at line 104 of file xrd_getoptions.F90.

Here is the caller graph for this function:

◆ readaslfromstring()

subroutine xrd_getoptions::readaslfromstring ( character(len=*), dimension(:), intent(out)  VAL,
character(len=*), intent(in)  SVAL 
)
private

Definition at line 552 of file xrd_getoptions.F90.

Here is the caller graph for this function:

◆ readslfromfile()

subroutine xrd_getoptions::readslfromfile ( character(len=*), dimension(:), pointer  VAL,
character(len=*), intent(in)  SVAL 
)
private

Definition at line 596 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readslfromstring()

subroutine xrd_getoptions::readslfromstring ( character(len=*), dimension(:), pointer  VAL,
character(len=*), intent(in)  SVAL 
)
private

Definition at line 583 of file xrd_getoptions.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ argsizemax

integer, parameter xrd_getoptions::argsizemax = 256

Definition at line 30 of file xrd_getoptions.F90.

◆ check_args

logical(kind=jplm), dimension(:), pointer xrd_getoptions::check_args => NULL()

Definition at line 33 of file xrd_getoptions.F90.

◆ lhelp

logical(kind=jplm) xrd_getoptions::lhelp = .FALSE.

Definition at line 34 of file xrd_getoptions.F90.

◆ lshell

logical(kind=jplm) xrd_getoptions::lshell = .FALSE.

Definition at line 34 of file xrd_getoptions.F90.

◆ message_opt

character(len=1056) xrd_getoptions::message_opt = ""

Definition at line 36 of file xrd_getoptions.F90.

◆ myargs

character(len=argsizemax), dimension(:), pointer xrd_getoptions::myargs => NULL()

Definition at line 32 of file xrd_getoptions.F90.

◆ nopt_seen

integer(kind=jpim) xrd_getoptions::nopt_seen

Definition at line 45 of file xrd_getoptions.F90.

◆ opt_seen

type(xrd_opt), dimension(:), pointer xrd_getoptions::opt_seen => NULL()

Definition at line 46 of file xrd_getoptions.F90.