libsurf
Programmer's Documentation

naca6.h (r6227/r5385)
1 /* Interface to f2c converted NACA 6-series coordinate generation program
2  * originally written by
3  *
4  * Charles L. Ladson and Cuyler W. Brooks, Jr. NASA Langley Research Center
5  * Liam Hardy, NASA Ames Research Center
6  * Ralph L. Carmichael, Public Domain Aeronautical Software
7  *
8  * REFERENCES - NASA Technical Memorandum TM X-3069 (September, 1974)
9  * by Charles L. Ladson and Cuyler W. Brooks, Jr.
10  *
11  * This file is in the public domain.
12  * ------------------------------------------------------------------------ */
13 
14 #ifndef SURF_NACA_H
15 #define SURF_NACA_H
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 /* Error codes */
22 
23 #define NACA6_SUCCESS 0
24 #define NACA6_INVALID_FAMILY -1
25 #define NACA6_INVALID_CAMBER -2
26 #define NACA6_INVALID_TOC -3
27 #define NACA6_TOOMANYLINES -4
28 #define NACA6_ZERO_POINTER -5
29 #define NACA6_A_OUTOFRANGE -6
30 #define NACA6_NOTCONVERGED -7
31 #define NACA6_LIBFAILED -8
32 
50 int naca6(int iprofile, int icamber, double toc,
51  int ncmbl, double *cli, double *a,
52  int *nout, double *xyout);
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif
59 
int naca6(int iprofile, int icamber, double toc, int ncmbl, double *cli, double *a, int *nout, double *xyout)
Generate NACA 6- and 6A-series airfoil coordinates.
Definition: naca6.c:53
Generated on Wed Jan 19 2022 03:03:15 for libsurf by   doxygen 1.8.5