wqs1a3.c File Reference

WQS: Analysis of ESS Data; Electron Current Correction to Cross Section. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "ctype.h"
#include "taskLib.h"
#include "math.h"
#include "time.h"
#include "limits.h"
#include "application.conf"

Data Structures

struct  OPERAT

Defines

#define MAXCALL   40
#define MAXOPS   100
#define OPNAME   ((*pOperat)->opname)
#define OPTYPE   ((*pOperat)->optype)
#define OPMORE   ((*pOperat)->opmore)
#define OPPRIO   ((*pOperat)->opprio)
#define OPLEAD   ((*pOperat)->oplead)
#define OPTRAIL   ((*pOperat)->optrail)
#define OPRESLT   ((*pOperat)->opreslt)
#define OPPNTR   ((*pOperat)->oppntr)
#define OPNAME   (pOperat->opname)
#define OPTYPE   (pOperat->optype)
#define OPMORE   (pOperat->opmore)
#define OPPRIO   (pOperat->opprio)
#define OPLEAD   (pOperat->oplead)
#define OPTRAIL   (pOperat->optrail)
#define OPRESLT   (pOperat->opreslt)
#define OPPNTR   ((int (*)())(pOperat->oppntr))

Typedefs

typedef double OPERND

Functions

static int rdrecrd (char *tmp, int sizetmp)
static int cmpdate (char *date, int mode)
static int ariform (char *formula)
int CrsCor (double eengy, double *eccfac, float *eccerr, char *commnt[])
static int formin (char **fpntr1, int prvprio, int *opcntx, int maxcall)
static int parse (int prsmod, char **fpntr0, char **fpntr1, OPERAT **operat)
static int makptr (OPERND *opernd)
static int makval (OPERND opernd)
static int putopr (OPERND opernd)
static int getopr (OPERND *opernd)
static int remopr (void)
static int store (void)
static int expon (void)
static int power (void)
static int add (void)
static int subtr (void)
static int minus (void)
static int multip (void)
static int divide (void)

Variables

static FILE * fd1
static char tmp [MAXFILNAM]
static char cccc [130]
static OPERND P0
static OPERND P1
static OPERND P2
static OPERND P3
static OPERND P4
static OPERND P5
static OPERND P6
static OPERND P7
static OPERND P8
static OPERND P9
static OPERND Eg
static OPERND Cf
static OPERND Se
static int oprcnt = 0
static OPERND Oprnd [MAXOPS]
static OPERNDpOprnd [MAXOPS]
static OPERAT oplist []


Detailed Description

WQS: Analysis of ESS Data; Electron Current Correction to Cross Section.

Features:
Display of ESS Data
Cross Section Calculation

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
02.03.2001
Version:
14.10.2008
modification history
--------------------
14oct08 kHu	DOXYGEN comments added
12aug03 kHu	alle Aenderungen nachgeholt
02mar01 kHu	New from WQA

Define Documentation

#define MAXCALL   40

#define MAXOPS   100

#define OPLEAD   (pOperat->oplead)

#define OPLEAD   ((*pOperat)->oplead)

#define OPMORE   (pOperat->opmore)

#define OPMORE   ((*pOperat)->opmore)

#define OPNAME   (pOperat->opname)

#define OPNAME   ((*pOperat)->opname)

#define OPPNTR   ((int (*)())(pOperat->oppntr))

#define OPPNTR   ((*pOperat)->oppntr)

#define OPPRIO   (pOperat->opprio)

#define OPPRIO   ((*pOperat)->opprio)

#define OPRESLT   (pOperat->opreslt)

#define OPRESLT   ((*pOperat)->opreslt)

#define OPTRAIL   (pOperat->optrail)

#define OPTRAIL   ((*pOperat)->optrail)

#define OPTYPE   (pOperat->optype)

#define OPTYPE   ((*pOperat)->optype)


Typedef Documentation

typedef double OPERND


Function Documentation

static int add ( void   )  [static]

static int ariform ( char *  formula  )  [static]

static int cmpdate ( char *  date,
int  mode 
) [static]

int CrsCor ( double  eengy,
double *  eccfac,
float *  eccerr,
char *  commnt[] 
)

static int divide ( void   )  [static]

static int expon ( void   )  [static]

static int formin ( char **  fpntr1,
int  prvprio,
int *  opcntx,
int  maxcall 
) [static]

static int getopr ( OPERND opernd  )  [static]

static int makptr ( OPERND opernd  )  [static]

static int makval ( OPERND  opernd  )  [static]

static int minus ( void   )  [static]

static int multip ( void   )  [static]

static int parse ( int  prsmod,
char **  fpntr0,
char **  fpntr1,
OPERAT **  operat 
) [static]

static int power ( void   )  [static]

static int putopr ( OPERND  opernd  )  [static]

static int rdrecrd ( char *  tmp,
int  sizetmp 
) [static]

static int remopr ( void   )  [static]

static int store ( void   )  [static]

static int subtr ( void   )  [static]


Variable Documentation

char cccc[130] [static]

OPERND Cf [static]

OPERND Eg [static]

FILE* fd1 [static]

OPERAT oplist[] [static]

int oprcnt = 0 [static]

OPERND Oprnd[MAXOPS] [static]

OPERND P0 [static]

OPERND P1 [static]

OPERND P2 [static]

OPERND P3 [static]

OPERND P4 [static]

OPERND P5 [static]

OPERND P6 [static]

OPERND P7 [static]

OPERND P8 [static]

OPERND P9 [static]

OPERND* pOprnd[MAXOPS] [static]

OPERND Se [static]

char tmp[MAXFILNAM] [static]


Generated on Wed Oct 15 16:17:21 2008 for Experiment-Software by  doxygen 1.5.6