D01ZKF either initializes or resets the optional parameter arrays or sets a single optional parameter for supported problem solving routines in
Chapter D01.
D01ZKF has three purposes: to initialize optional parameter arrays; to reset all optional parameters to their default values; or to set a single optional parameter to a user-supplied value.
Optional parameters and their values are, in general, presented as a character string,
OPTSTR, of the form ‘
option ’; alphabetic characters can be supplied in either upper or lower case. Both
option and
may consist of one or more tokens separated by white space. The tokens that comprise
will normally be either an integer, real or character value as defined in the description of the specific optional argument. In addition all optional parameters can take an
DEFAULT which resets the optional parameter to its default value.
It is imperative that optional parameter arrays are initialized before any options are set, before the relevant problem solving routine is called and before any options are queried using
D01ZLF. To initialize the optional parameter arrays
IOPTS and
OPTS for a specific problem solving routine, the option
Initialize is used with
optval identifying the problem solving routine to be called, via its short name. For example, to initialize the optional parameter arrays to be passed to
D01RAF and its associated routine
D01RCF, D01ZKF is called as follows:
call D01ZKF('Initialize = d01raf', IOPTS, LIOPTS, OPTS, LOPTS, IFAIL)
The available option names and their corresponding valid values are given in Section 11 in
D01ESF and
D01RAF.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
X04AAF).
Not applicable.
D01ZKF is threaded by NAG for parallel execution in multithreaded implementations of the NAG Library.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this routine. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
For suites of routines that share the same option arrays, the option arrays must be initialized using the primary (driver) routine name. For example for routines
D01RAF and
D01RCF, the option arrays must be initialized for
D01RAF.
When encoding integer valued options in
OPTSTR, the integer
must be written as an explicit integer. For example,
"Maximum Subdivisions = 12" is acceptable, whereas
"Maximum Subdivisions = 12.0" and
"Maximum Subdivisions = 0.12E2"
are not.
When encoding real valued options in
OPTSTR, the
may be integral if appropriate. For example,
"Absolute Tolerance = 10",
"Absolute Tolerance = 10.0" and
"Absolute Tolerance = 1.0E1"
are all acceptable.
See the example programs associated with the problem solving routine you wish to use for a demonstration of how to use D01ZKF to initialize option arrays and set options.