ezsetval

FORTRAN

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

C

int c_ezsetval(char *option, float *rvalue)

 

Routine description

ezsetval allows the user to set some options of the ezscint package demanding floating point values. The list of available options and values is described below. The options are case insensitive (they are converted to lower case before being analysed).

 

Description of parameters

option

A string containing one of the supported options

rvalue

A floating point value

?

List of supported options and values

Option

 

Value

 

‘EXTRAP_VALUE’

sets the value of the points lying outside the source grid

rvalue

numerical value

 
 

Sample FORTRAN code :

The following code sets the interpolation degree to linear and sets the value of points in the region of extrapolation to 0.0

ier = ezsetopt('INTERP_DEGREE', 'LINEAR')
ier = ezsetval('EXTRAP_VALUE', 0.0)
ier = ezsetopt('EXTRAP_DEGREE', 'VALUE')

ezsetval has to be called before ezsetopt when 'extrap_degree' is set to 'value'

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