Octopus
command_line_oct_m Module Reference

This module provides an interface to the getopt C library, so that the command line arguments can be managed in this "standard" way. More...

Detailed Description

This module provides an interface to the getopt C library, so that the command line arguments can be managed in this "standard" way.

Data Types

interface  clarg_is_set
 
interface  clean_clarg
 
interface  getopt_casida_spectrum
 Each program/utility that needs to use the getopt features should have an interface here – the definition of the procedure should be given in the getopt_f.c file. And they MUST be listed under public above, or they have no effect! Arguments should be intent(inout) since default values are setting by the calling routine, and are left unchanged if the corresponding option is not given. More...
 
interface  getopt_center_geom
 
interface  getopt_dielectric_function
 
interface  getopt_harmonic_spectrum
 
interface  getopt_help
 
interface  getopt_oscillator_strength
 
interface  getopt_photoelectron_spectrum
 
interface  getopt_vibrational
 
interface  getopt_xyz_anim
 
interface  set_clarg
 
interface  set_number_clarg
 The following interfaces are private to this module, and should not be called from outside. More...
 

Functions/Subroutines

subroutine, public getopt_octopus (config_str)
 
subroutine, public getopt_init (ierr)
 Initializes the getopt machinery. Must be called before attempting to parse the options. On output, ierr is zero. More...
 
subroutine, public getopt_end
 

Function/Subroutine Documentation

◆ getopt_octopus()

subroutine, public command_line_oct_m::getopt_octopus ( character(len=*), intent(in)  config_str)

Definition at line 235 of file command_line.F90.

◆ getopt_init()

subroutine, public command_line_oct_m::getopt_init ( integer, intent(out)  ierr)

Initializes the getopt machinery. Must be called before attempting to parse the options. On output, ierr is zero.

Definition at line 251 of file command_line.F90.

◆ getopt_end()

subroutine, public command_line_oct_m::getopt_end

Definition at line 275 of file command_line.F90.