CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
polar_file.cpp
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2019 */
4/* */
5/*********************************************************************/
6/* Warszawa, 2019 */
7/*********************************************************************/
8/* */
9/* File: polar_file.cpp */
10/* */
11/* Author: T.Grabowski */
12/* */
13/* Contents - longitudinal aerodynamic characteritics wrt AoA */
14/* */
15/* */
16/*********************************************************************/
17/* */
18/* */
19
20#include "polar_file.h"
21
22POLAR_FILE::POLAR_FILE( void ) : TXT_OUT_FILE( 0 ) {Clean();}
23
24POLAR_FILE::~POLAR_FILE( void ){}
25
27{
29
30 nCol = 9;
31
32 strcpy( cName[0], "Alpha" );
33 strcpy( cName[1], "Cx" );
34 strcpy( cName[2], "Cz" );
35 strcpy( cName[3], "Cm" );
36 strcpy( cName[4], "Cxs" );
37 strcpy( cName[5], "Czs" );
38 strcpy( cName[6], "Cxi" );
39 strcpy( cName[7], "Czi" );
40 strcpy( cName[8], "CD" );
41
42}
43
44
void Clean(void)
cleans local variables
General output text file.
char cName[NCOL_MAX][32]
array of variable names - up to NCOL_MAX names, 32 characters each
int nCol
number of columns/variables (up to NCOL_MAX)
virtual void Clean(void)
cleans local variables