NAG Library

Thread Unsafe Routines

Most routines in the NAG Library are thread safe, however there are some routines that are not thread safe as they use global variables (such as module variables, common blocks or variables with the SAVE attribute). See Section 3.12.1 in How to Use the NAG Library and its Documentation for further information.
Routine Name Description
D02GAF nagf_ode_bvp_fd_nonlin_fixedbc
Ordinary differential equations, boundary value problem, finite difference technique with deferred correction, simple nonlinear problem
D02GBF nagf_ode_bvp_fd_lin_gen
Ordinary differential equations, boundary value problem, finite difference technique with deferred correction, general linear problem
D02HAF nagf_ode_bvp_shoot_bval
Ordinary differential equations, boundary value problem, shooting and matching, boundary values to be determined
D02HBF nagf_ode_bvp_shoot_genpar
Ordinary differential equations, boundary value problem, shooting and matching, general parameters to be determined
D02JAF nagf_ode_bvp_coll_nth
Ordinary differential equations, boundary value problem, collocation and least squares, single nth-order linear equation
D02JBF nagf_ode_bvp_coll_sys
Ordinary differential equations, boundary value problem, collocation and least squares, system of first-order linear equations
D02LAF nagf_ode_ivp_2nd_rkn
Second-order ordinary differential equations, initial value problem, Runge–Kutta–Nystrom method
D02LXF nagf_ode_ivp_2nd_rkn_setup
Second-order ordinary differential equations, initial value problem, setup for
D02LYF nagf_ode_ivp_2nd_rkn_diag
Second-order ordinary differential equations, initial value problem, diagnostics for
D02LZF nagf_ode_ivp_2nd_rkn_interp
Second-order ordinary differential equations, initial value problem, interpolation for
D02MZF nagf_ode_ivp_stiff_interp
Ordinary differential equations, initial value problem, interpolation for d02m–n routines (all integration methods), natural interpolant
D02NBF nagf_ode_ivp_stiff_exp_fulljac
Explicit ordinary differential equations, stiff initial value problem, full Jacobian (comprehensive)
D02NCF nagf_ode_ivp_stiff_exp_bandjac
Explicit ordinary differential equations, stiff initial value problem, banded Jacobian (comprehensive)
D02NDF nagf_ode_ivp_stiff_exp_sparjac
Explicit ordinary differential equations, stiff initial value problem, sparse Jacobian (comprehensive)
D02NGF nagf_ode_ivp_stiff_imp_fulljac
Implicit/algebraic ordinary differential equations, stiff initial value problem, full Jacobian (comprehensive)
D02NHF nagf_ode_ivp_stiff_imp_bandjac
Implicit/algebraic ordinary differential equations, stiff initial value problem, banded Jacobian (comprehensive)
D02NJF nagf_ode_ivp_stiff_imp_sparjac
Implicit/algebraic ordinary differential equations, stiff initial value problem, sparse Jacobian (comprehensive)
D02NMF nagf_ode_ivp_stiff_exp_revcom
Explicit ordinary differential equations, stiff initial value problem (reverse communication, comprehensive)
D02NNF nagf_ode_ivp_stiff_imp_revcom
Implicit/algebraic ordinary differential equations, stiff initial value problem (reverse communication, comprehensive)
D02NSF nagf_ode_ivp_stiff_fulljac_setup
Ordinary differential equations, initial value problem, for use with d02m–n s, full Jacobian, linear algebra set up
D02NTF nagf_ode_ivp_stiff_bandjac_setup
Ordinary differential equations, initial value problem, for use with d02m–n s, banded Jacobian, linear algebra set up
D02NUF nagf_ode_ivp_stiff_sparjac_setup
Ordinary differential equations, initial value problem, for use with d02m–n s, sparse Jacobian, linear algebra set up
D02QFF nagf_ode_ivp_adams_roots
Ordinary differential equations, initial value problem, Adams' method with root-finding (direct communication, comprehensive)
D02QGF nagf_ode_ivp_adams_roots_revcom
Ordinary differential equations, initial value problem, Adams' method with root-finding (reverse communication, comprehensive)
D02QWF nagf_ode_ivp_adams_setup
Ordinary differential equations, initial value problem, setup for and
D02QXF nagf_ode_ivp_adams_diag
Ordinary differential equations, initial value problem, diagnostics for and
D02QYF nagf_ode_ivp_adams_rootdiag
Ordinary differential equations, initial value problem, root-finding diagnostics for and
D02QZF nagf_ode_ivp_adams_interp
Ordinary differential equations, initial value problem, interpolation for or
D02RAF nagf_ode_bvp_fd_nonlin_gen
Ordinary differential equations, general nonlinear boundary value problem, finite difference technique with deferred correction, continuation facility
D02SAF nagf_ode_bvp_shoot_genpar_algeq
Ordinary differential equations, boundary value problem, shooting and matching technique, subject to extra algebraic equations, general parameters to be determined
D02XKF nagf_ode_ivp_stiff_c1_interp
Ordinary differential equations, initial value problem, interpolation for d02m–n s, C1 interpolant
D02ZAF nagf_ode_ivp_stiff_errest
Ordinary differential equations, initial value problem, weighted norm of local error estimate for d02m–n s
D03PEF nagf_pde_1d_parab_keller
General system of first-order PDEs, method of lines, Keller box discretization, one space variable
D03PFF nagf_pde_1d_parab_convdiff
General system of convection-diffusion PDEs with source terms in conservative form, method of lines, upwind scheme using numerical flux function based on Riemann solver, one space variable
D03PKF nagf_pde_1d_parab_dae_keller
General system of first-order PDEs, coupled DAEs, method of lines, Keller box discretization, one space variable
D03PLF nagf_pde_1d_parab_convdiff_dae
General system of convection-diffusion PDEs with source terms in conservative form, coupled DAEs, method of lines, upwind scheme using numerical flux function based on Riemann solver, one space variable
D03PRF nagf_pde_1d_parab_remesh_keller
General system of first-order PDEs, coupled DAEs, method of lines, Keller box discretization, remeshing, one space variable
D03PSF nagf_pde_1d_parab_convdiff_remesh
General system of convection-diffusion PDEs, coupled DAEs, method of lines, upwind scheme, remeshing, one space variable
D03PUF nagf_pde_1d_parab_euler_roe
Roe's approximate Riemann solver for Euler equations in conservative form, for use with , and
D03PVF nagf_pde_1d_parab_euler_osher
Osher's approximate Riemann solver for Euler equations in conservative form, for use with , and
D03PWF nagf_pde_1d_parab_euler_hll
Modified HLL Riemann solver for Euler equations in conservative form, for use with , and
D03PXF nagf_pde_1d_parab_euler_exact
Exact Riemann solver for Euler equations in conservative form, for use with , and
D03RAF nagf_pde_2d_gen_order2_rectangle
General system of second-order PDEs, method of lines, finite differences, remeshing, two space variables, rectangular region
D03RBF nagf_pde_2d_gen_order2_rectilinear
General system of second-order PDEs, method of lines, finite differences, remeshing, two space variables, rectilinear region
E01SBF nagf_interp_2d_scat_eval
Interpolated values, evaluate interpolant computed by , two variables
G08EAF nagf_nonpar_randtest_runs
Performs the runs up or runs down test for randomness
G08EBF nagf_nonpar_randtest_pairs
Performs the pairs (serial) test for randomness
G08ECF nagf_nonpar_randtest_triplets
Performs the triplets test for randomness
G08EDF nagf_nonpar_randtest_gaps
Performs the gaps test for randomness
H02BBF nagf_mip_ilp_dense
Integer LP problem (dense)
H02BFF nagf_mip_ilp_mpsx
Interpret MPSX data file defining IP or LP problem, optimize and print solution
H02BVF nagf_mip_ilp_print
Print IP or LP solutions with user-specified names for rows and columns
H02CBF nagf_mip_iqp_dense
Integer QP problem (dense)
H02CCF nagf_mip_iqp_dense_optfile
Read values for from external file
H02CDF nagf_mip_iqp_dense_optstr
Supply values to
H02CEF nagf_mip_iqp_sparse
Integer LP or QP problem (sparse), using
H02CFF nagf_mip_iqp_sparse_optfile
Read values for from external file
H02CGF nagf_mip_iqp_sparse_optstr
Supply values to
X04AAF nagf_file_set_unit_error
Return or set unit number for error messages
X04ABF nagf_file_set_unit_advisory
Return or set unit number for advisory messages