OpenFAST
Wind turbine multiphysics simulator
Data Types | Functions/Subroutines
nwtc_slatec Module Reference

This code provides a wrapper for the SLATEC routines currently used at the NWTC (mainly codes in the FAST framework). More...

Data Types

interface  slatec_qk61
 integrate an external function using the 61-point kronrod rule More...
 

Functions/Subroutines

subroutine wrap_qk61 (func, low, hi, answer, abserr, resabs, resasc)
 Single precision wrapper for the qk61 integration routine from the slatec library Note that the qk61 routine follows -fdefault-real-8 setting, so it is of type ReKi.
 
subroutine wrap_dqk61 (func, low, hi, answer, abserr, resabs, resasc)
 Double precision wrapper for the dqk61 integration routine from the slatec library Note that the qk61 routine follows -fdefault-real-8 setting, so it is of type DbKi.
 

Detailed Description

This code provides a wrapper for the SLATEC routines currently used at the NWTC (mainly codes in the FAST framework).

This enables us to call generic routines (not single- or double-precision specific ones) so that we don't have to change source code to compile in double vs. single precision.