CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
panukl_par.h
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2015 */
4/* */
5/*********************************************************************/
6/* Warszawa, 2015 */
7/*********************************************************************/
8/* */
9/* File: panukl_par.h */
10/* */
11/* Author: T.Grabowski */
12/* */
13/* Contents - par file data (doublet computation) class */
14/* */
15/* */
16/*********************************************************************/
17/* */
18/* */
19
20#ifndef _PANUKL_PAR_H_
21#define _PANUKL_PAR_H_
22
23#include "iofun.h"
24
26
27class PAR_FILE : public IOFUN
28{
29 public:
30
31 char DAT_file[256];
32 char PAN_file[256];
33 char ACD_file[256];
34
35 double dAlfa;
36 double dBeta;
37 double dMach;
38 double dP;
39 double dQ;
40 double dR;
41 int iProc;
42 int iACD;
43 char PAR_file[256];
44
45 PAR_FILE( void );
46 ~PAR_FILE( void );
48 void Clean();
50 int ReadPAR( char *FileName );
52 int WritePAR( char *Filename );
53
54};
55
56#endif /*_PANUKL_PAR_H_*/
Simple I/O functions class.
Definition iofun.h:42
Parameters file for Panukl program (computation of velocity potential distribution)
Definition panukl_par.h:28
int iProc
type of linear system solver (1-LAPACK OPTIMIZED, 0-NOT OPTIMIZED)
Definition panukl_par.h:41
double dAlfa
angle of attack [deg]
Definition panukl_par.h:35
int iACD
flag of using the propellers data configuration file (0-no file, 1-file present)
Definition panukl_par.h:42
int WritePAR(char *Filename)
writes parameters file
char ACD_file[256]
optional input file - propellers data configuration file [.ACD]
Definition panukl_par.h:33
double dBeta
sideslip angle [deg]
Definition panukl_par.h:36
double dMach
Mach number.
Definition panukl_par.h:37
char DAT_file[256]
input file - mesh + wake data file [.DAT]
Definition panukl_par.h:31
double dP
roll rate [rad/s]
Definition panukl_par.h:38
double dQ
pitch rate [rad/s]
Definition panukl_par.h:39
char PAR_file[256]
current parameters file [.PAR]
Definition panukl_par.h:43
int ReadPAR(char *FileName)
reads parameters file
void Clean()
cleans local variables
double dR
yaw rate [rad/s]
Definition panukl_par.h:40
char PAN_file[256]
output file - doublet distribution file [.PAN]
Definition panukl_par.h:32
This file contains some smart I/O functions.