PartMC  2.6.1
Data Types | Functions/Subroutines | Variables
getopt_m Module Reference

Data Types

type  option_s
 

Functions/Subroutines

character function substr (str, i, j)
 
character function getopt (optstring, longopts)
 
character function process_long (longopts, arg)
 
character function process_short (optstring, arg)
 

Variables

character(len=80) optarg
 
character optopt
 
integer optind =1
 
logical opterr =.true.
 
integer, private grpind =2
 

Function/Subroutine Documentation

◆ getopt()

character function getopt_m::getopt ( character(len=*), intent(in)  optstring,
type(option_s), dimension(:), intent(in), optional  longopts 
)

Definition at line 131 of file getopt.F90.

◆ process_long()

character function getopt_m::process_long ( type(option_s), dimension(:), intent(in)  longopts,
character(len=*), intent(in)  arg 
)

Definition at line 156 of file getopt.F90.

◆ process_short()

character function getopt_m::process_short ( character(len=*), intent(in)  optstring,
character(len=*), intent(in)  arg 
)

Definition at line 190 of file getopt.F90.

◆ substr()

character function getopt_m::substr ( character(len=*), intent(in)  str,
integer, intent(in)  i,
integer, intent(in)  j 
)

Definition at line 117 of file getopt.F90.

Variable Documentation

◆ grpind

integer, private getopt_m::grpind =2
private

Definition at line 104 of file getopt.F90.

◆ optarg

character(len=80) getopt_m::optarg

Definition at line 92 of file getopt.F90.

◆ opterr

logical getopt_m::opterr =.true.

Definition at line 95 of file getopt.F90.

◆ optind

integer getopt_m::optind =1

Definition at line 94 of file getopt.F90.

◆ optopt

character getopt_m::optopt

Definition at line 93 of file getopt.F90.