Subversion Repositories shark

Rev

Blame | Last modification | View Log | RSS feed

#ifndef __CONST__
#define __CONST__

extern unsigned long int PERIOD_CARRELLO;
extern unsigned long int PERIOD_DISEGNA;

#define DEADSECX(x) (x * 1.0e-6 )  
#define DEADSECTH(x) (x * 1.0e-6 )

#define PARAM {{ 1. , 300 , 0.79 , 23 },0.70 ,2.5 ,20.,20., 0.1,  1 , 1, 0.}

#define LUNGH 35.0
#define THETAMAX 45.0
#define FCA 57.29578
#define AVR 10
#define VDANG 2.4
#define NMAX 300
#define SEC_ID 7.0
#define MAXRUN_ID 9 //16

struct Parametri{
  float GUAD[4];
  float COST;
  float NOISE;
  float WCUT;
  float WCUT1;
  float OFFSVAL;
  int DEADLINE;
  int SCAN;
  float XTRASL;
};

extern struct Parametri prm;
extern float vmax, vmin, vmaxth, vminth;

#endif