ezgetval

FORTRAN

integer ier, ezgetval
ier = ezgetval(option, rvalue)
character*(*) option
real rvalue

C

int c_ezgetval(char *option, float *rvalue)

Routine description

ezgetopt allows the user to interrogate the current value of options of the ezscint package containing floating point data.The list of available options and values is described below.

 

Description of parameters

option

A string containing one of the supported options

rvalue

Current numerical value of the option

?

List of supported options and values

Option

 

Value

 

‘EXTRAP_VALUE’

value used to set the points lying outside the source grid

rvalue

 

Sample FORTRAN code :

The following code interrogates the ezscint package about the interpolation degree being used and what is done with the points outside the source grid.

character*32 interopt, xtrapopt
real xtrapval
ier = ezgetopt('INTERP_DEGREE', interopt)
ier = ezgetopt('EXTRAP_DEGREE', xtrapopt)
if (xtrapopt.eq.'VALUE') then
   ier = ezgetval('EXTRAP_VALUE', xtrapval)
endif

Go to the list of functions, or the general index.