CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
czy_file.cpp
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2018 */
4/* */
5/*********************************************************************/
6/* Warszawa, 2018 */
7/*********************************************************************/
8/* */
9/* File: czy_file.cpp */
10/* */
11/* Author: T.Grabowski */
12/* */
13/* Contents - spanwise distribution output file class definition */
14/* */
15/* */
16/*********************************************************************/
17/* */
18/* */
19
20#include "czy_file.h"
21
22CZY_FILE::CZY_FILE( void ) : TXT_OUT_FILE( 1 ) {}
23
24CZY_FILE::~CZY_FILE( void ){}
25
26void CZY_FILE::Clean( void )
27{
29
30 nCol = 21;
31
32 strcpy( cName[0], "Obj_No" );
33 strcpy( cName[1], "x" );
34 strcpy( cName[2], "y" );
35 strcpy( cName[3], "z" );
36 strcpy( cName[4], "r" );
37 strcpy( cName[5], "Cx" );
38 strcpy( cName[6], "Cy" );
39 strcpy( cName[7], "Cz" );
40 strcpy( cName[8], "Cmx" );
41 strcpy( cName[9], "Cmy" );
42 strcpy( cName[10], "Cmz" );
43 strcpy( cName[11], "Si" );
44 strcpy( cName[12], "Ci" );
45 strcpy( cName[13], "Si_xy" );
46 strcpy( cName[14], "Cn" );
47 strcpy( cName[15], "Cms" );
48 strcpy( cName[16], "dy" );
49 strcpy( cName[17], "dz" );
50 strcpy( cName[18], "dr" );
51 strcpy( cName[19], "Czi" );
52 strcpy( cName[20], "Cxi" );
53}
54
55
void Clean(void)
cleans local variables
Definition czy_file.cpp:26
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