PUMA  219
Portable University Model of the Atmosphere
/Users/home/WC/puma/src/pumax.c File Reference
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xos.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>

Go to the source code of this file.

Data Types

struct  ParcStruct
struct  PixStruct
struct  ArrayStruct
struct  WinAttStruct
struct  ColorStrip
struct  BMIstruct
struct  MapImageStruct

Defines

#define INT   int
#define REAL   float
#define INTXU   unsigned int
#define INTXS   int
#define MIN(a, b)   ((a) < (b) ? (a) : (b))
#define MAX(a, b)   ((a) > (b) ? (a) : (b))
#define ROTATE_LEFT   (XK_Left)
#define ROTATE_RIGHT   (XK_Right)
#define TOLELO   0x0001
#define TOLEHI   0x0002
#define TORILO   0x0004
#define TORIHI   0x0008
#define BOLELO   0x0010
#define BOLEHI   0x0020
#define BORILO   0x0040
#define BORIHI   0x0080
#define TOLEIN   0x0100
#define TOREIN   0x0200
#define BOLEIN   0x0400
#define BOREIN   0x0800
#define IPX(l, m, h)   (VGAX * (x + (l-m) / (l-h)))
#define IPY(l, m, h)   (VGAY * (y + (l-m) / (l-h)))
#define NUMWIN   9
#define NUMPAL   13
#define ISOHOR   0
#define ISOCS   1
#define ISOHOV   2
#define ISOTS   3
#define ISOTAB   4
#define ISOSH   5
#define ISOLON   6
#define ISOTRA   7
#define ISOCOL   8
#define ISOROT   9
#define MAPHOR   10
#define MAPTRA   11
#define PUMA   0
#define CYLINDRICAL   0
#define POLAR   1
#define AZIMUTHAL   2
#define MAXMAPS   3
#define PARCS   100
#define MAXPAR   16384
#define NUMSCALARS   9
#define NUMARRAYS   100
#define AUTOCOLORS   14
#define AMPLI_COLS   8
#define PSDIM   30

Functions/Subroutines

unsigned long create_pixel (long red, long green, long blue)
void ScaleImage (struct MapImageStruct *s, struct MapImageStruct *d)
void PolarImage (struct MapImageStruct *s, struct MapImageStruct *d)
void RevOrtho (double R, double lam0, double phi0, int xx, int yy, double *lam, double *phi)
void AzimuthalImage (struct MapImageStruct *s, struct MapImageStruct *d)
void SwapIEEE16 (char W[2])
void SwapIEEE32 (char W[4])
int ReadINT (FILE *fpi)
short ReadSHORT (FILE *fpi)
void ReadImage (struct MapImageStruct *ei, char *filename)
void ntocdat (void)
char * CharAlloc (int bytes, char *array_name)
int * IntAlloc (int words, char *array_name)
float * FloatAlloc (int words, char *array_name)
void * SizeAlloc (int words, int Size, char *array_name)
void LoadFonts (void)
int AllocateColorCells (struct ColorStrip cs[])
void CalcButtonAreas (void)
void TestWindow (int xx, int yy, int wi, int he, int *x, int *y, int *X, int *Y, unsigned int *W, unsigned int *H)
void CreateTestWindow (void)
void TrimCopy (char *Trim, char *Line, int n)
int ReadConfig (char *filename)
void CreateControlWindow (void)
void ShowStep (void)
int FormatVal (char *Name, float V, char *Text)
void ShowParcs (void)
void CheckMark (int x, int y, int d)
void ShowWindowStatus (void)
void ShowGridStatus (void)
int RedrawControlWindow (void)
void ClearTracer (void)
int CheckEndianess (void)
void initgui_ (int *model, int *debug, int *lats, int *mrpid, int *mrnum)
void FillPoly (int n, REAL Poly[])
void IsoArea (INT y, REAL vl, REAL vh, REAL Top[], REAL Bot[], INT Dim)
void IsoAreas (struct ColorStrip Strip[])
void IsoLine (INT y, REAL v, REAL Top[], REAL Bot[], INT Dim)
void IsoLines (struct ColorStrip Strip[], int Colored)
int AziPoint (int fpx, int fpy, int *x2, int *y2)
void AziLine (int x1, int y1, int x2, int y2)
void MapLine (INT y, REAL v, REAL Top[], REAL Bot[], INT Dim)
void MapLines (struct ColorStrip Strip[], int Colored)
void poltra (float lam, float phi, float *x, float *y)
void TracerPlot (int w)
void AmplitudePlot (void)
void RedrawIsoWindow (int w)
void CloseWindow (int i)
void ReopenWindow (int i)
void DrawHelpWindow (void)
void DisplayHelpWindow (void)
int HitGridButton (XEvent *xe)
int HitPauseButton (XEvent *xe)
int HitStartButton (XEvent *xe)
int HitStopButton (XEvent *xe)
int HitHelpButton (XEvent *xe)
int HitPlusButton (XEvent *xe)
int HitFFWDButton (XEvent *xe)
int HitMinusButton (XEvent *xe)
int HitFBWDButton (XEvent *xe)
int HitUpperPanel (XEvent *xe)
int HitLowerPanel (XEvent *xe)
int HitWindowSelect (XEvent *xe)
void OnMouseClick (void)
void SwitchIndez (int w, int d)
void HandleEvents (void)
void guiclose_ (void)
void SaveConfig (void)
void lp2ps (REAL *a, REAL *b)
void lp2az (REAL *a, REAL *b, float laz)
void ShowGridCS (void)
void ShowGridCol (void)
void ShowGridLonsi (void)
void ShowGridCyl (void)
void ShowGridHov (void)
void ShowGridHovT (void)
void ShowGridPolar (void)
void AutoPalette (int w, struct ColorStrip Strip[], REAL f[], int Dim)
void guiput_ (char *aname, float *array, int *dimx, int *dimy, int *dimz)
void guisend_ (char *aname, float *array, int *dimx, int *dimy, int *dimz)
void iso (int w, int PicType, REAL *field, int dimx, int dimy, int dimz, int pal)
int iguistep_ (float pparcs[], int kdatim[])
int nresources_ (double *ut, double *st, long *mem, long *par, long *paf, long *swa, long *dr, long *dw)
void INITGUI (int *model, int *debug, int *lats, int *mrpid, int *mrnum)
void GUICLOSE (void)
int IGUISTEP (float pparcs[], int kdatim[])
void GUIPUT (char *aname, float *array, int *dimx, int *dimy, int *dimz)
int NRESOURCES (double *ut, double *st, long *mem, long *par, long *paf, long *swa, long *dr, long *dw)
void initgui (int *model, int *debug, int *lats, int *mrpid, int *mrnum)
void guiclose (void)
int iguistep (float pparcs[], int kdatim[])
void guiput (char *aname, float *array, int *dimx, int *dimy, int *dimz)
int iguinan_ (double *p)
int nresources (double *ut, double *st, long *mem, long *par, long *paf, long *swa, long *dr, long *dw)

Variables

int Debug = 0
char * IsoNames []
int IsoTypes = sizeof(IsoNames) / sizeof(char *)
char * PalNames []
int PalTypes = sizeof(PalNames) / sizeof(char *)
char * ProNames []
int ShowQueue = 0
int ShowOnce = 1
int OffsetY = 20
int Stop_XL
int Stop_XH
int Stop_YL
int Stop_YH
int Start_XL
int Start_XH
int Start_YL
int Start_YH
int Pause_XL
int Pause_XH
int Pause_YL
int Pause_YH
int Help_XL
int Help_XH
int Help_YL
int Help_YH
int Minus_XL
int Minus_XH
int Minus_YL
int Minus_YH
int FBWD_XL
int FBWD_XH
int FBWD_YL
int FBWD_YH
int Plus_XL
int Plus_XH
int Plus_YL
int Plus_YH
int FFWD_XL
int FFWD_XH
int FFWD_YL
int FFWD_YH
int Parc_XL
int Parc_XH
int Parc_XD
int Parc_YL
int Parc_YH
int Parc_YD
int Wbox_XL
int Wbox_XH
int Wbox_YL
int Wbox_YH
int Grid_XL
int Grid_XH
int Grid_YL
int Grid_YH
XPoint StopButton [4] = {{10,10},{40,10},{40,40},{10,40}}
XPoint StartButton [3] = {{50,10},{80,25},{50,40}}
XPoint PauseButton1 [4] = {{95,10},{102,10},{102,40},{95,40}}
XPoint PauseButton2 [4] = {{108,10},{115,10},{115,40},{108,40}}
int Parcs
int cpi = 1
struct ParcStruct Parc [PARCS]
int screen_num
Display * display
unsigned int ScreenW
unsigned int ScreenH
unsigned int ScreenBot
int SmallScreen
int BigEndian
int ScreenOffset
int Model
int CowX = -1
int CowY = -1
int CowW
int CowH
int NumWin = NUMWIN
int WinCols = 3
int WinRows = 3
int DimT = 100
int DimX
int DimY
int DimZ
int DimXY
int Uindex = -1
int Vindex = -1
int ScreenD
int OffX
int OffY = 0
INTXU WinXSize
INTXU WinYSize
int InXSize
int InYSize
int Latitudes
int Lines
int SizeChanged
int Shutdown
int Grid = 1
int GridLabel = 1
int WhitePix
int BlackPix
int * Flag
int FlagSize
int nstep
int MRpid
int MRnum
int wto
int FirstKey
int LastKey
int SymsPerKey
KeySym * KeyMap
char wtrun [8]
unsigned Seed
float RotInc = 0.2
int LineCo [NUMPAL]
int MapPro [NUMWIN]
int HovInx [NUMWIN]
int Indez [NUMWIN]
int MaxZ [NUMWIN]
int RedrawFlag [NUMWIN]
int LevelChanged [NUMWIN]
int RotLon [NUMWIN]
double AutoDelta [NUMWIN]
double AutoXdelt [NUMWIN]
double AutoLo [NUMWIN]
REAL * TSdata [NUMWIN]
REAL * Dmin [NUMWIN]
REAL * Dmax [NUMWIN]
REAL * SpeedScale
XPoint * TSxp [NUMWIN]
float pax [MAXPAR]
float pay [MAXPAR]
long pal [MAXPAR]
int Delpar = 8
int ParInd = 0
int ColInd = 0
long TracerColor
char TSName [NUMSCALARS][80]
char TSubsc [NUMSCALARS][80]
char TSUnit [NUMSCALARS][80]
char TScale [NUMSCALARS][80]
struct PixStruct WinPixMap [NUMWIN]
Pixmap pix
struct ArrayStruct Array [NUMARRAYS]
int NumArrays
struct WinAttStruct WinAtt [NUMWIN]
int BorderWidth = 0
int WM_top_area = 0
int WinLM = 0
int WinRM = 0
int WinTM = 24
int WinBM = 0
struct ColorStrip Autostrip [AUTOCOLORS+1]
struct ColorStrip Ustrip []
struct ColorStrip Qstrip []
struct ColorStrip Vstrip []
struct ColorStrip Tstrip []
struct ColorStrip Kstrip []
struct ColorStrip Pstrip []
struct ColorStrip MarsTStrip []
struct ColorStrip AmpliStrip []
struct ColorStrip Vegstrip []
struct ColorStrip Tstripoce []
struct ColorStrip Sstripoce []
struct ColorStrip DCCstrip []
struct ColorStrip DTDTstrip []
struct ColorStripCstrip
struct ColorStripPallet [NUMPAL]
REAL VGAX
REAL VGAY
REAL CurVal
REAL * Field
REAL * Ampli
XColor * Acol
Colormap colormap
XColor xcolor1
XColor xcolor2
XColor Red
XColor Green
XColor Blue
XColor Yellow
XColor Grey
XColor LightRed
XColor DarkRed
XColor LightBlue
XColor DarkBlue
XColor LightGreen
XColor DarkGreen
XColor Dummy
unsigned long TSColor [10]
Window Win [NUMWIN]
int win
Window Cow
Window HelpWindow
XTextProperty WinconName1
XTextProperty WinconName3
XTextProperty WinconPause
XTextProperty WinconReady
char * PauseTitle = "Run Paused"
char * ReadyTitle = "Press Start Button"
XEvent CowEvent
XSizeHints WinSizeHints
XSizeHints CowSizeHints
int OutXSize
int OutYSize
int count
XEvent report
GC gc
char BigFontName [80] = "9x15bold"
char FixFontName [80] = "8x13"
char SubFontName [80] = "6x10"
XFontStruct * FixFont
XFontStruct * SubFont
XFontStruct * BigFont
int FixFontHeight
int SubFontHeight
int BigFontHeight
int FixFontWidth
int SubFontWidth
int BigFontWidth
int Paused = 0
char * display_name = NULL
XWMHints wm_hints
XClassHint class_hints
Atom Delwin
char * WindowTitle [NUMWIN]
XTextProperty WindowName [NUMWIN]
XTextProperty HelpName
char * mona [12]
char * wena [7] = {"Mon","Tue","Wed","Thu","Fri","Sat","Sun"}
char datch [64]
char PlanetName [32] = "Earth"
char GUI_default [80] = "GUI.cfg"
char GUI_config [80] = "GUI_last_used.cfg"
char * pixelstar [PSDIM]
int fps
int rmuf = 20
int rmui = 1
int SkipFreq
int ThisSecond
int LastSecond
int LastStep
int SecEvent
int ndatim [6]
int LastMinute
int DeltaTime
struct BMIstruct ImageBMI
struct MapImageStruct MapHR
struct MapImageStruct MapLR [NUMWIN]
int polco = 0
char * HelpText []
int HelpLines = sizeof(HelpText) / sizeof(char *)

Define Documentation

#define AMPLI_COLS   8

Definition at line 598 of file pumax.c.

#define AUTOCOLORS   14

Definition at line 368 of file pumax.c.

#define AZIMUTHAL   2

Definition at line 130 of file pumax.c.

#define BOLEHI   0x0020

Definition at line 56 of file pumax.c.

#define BOLEIN   0x0400

Definition at line 61 of file pumax.c.

#define BOLELO   0x0010

Definition at line 55 of file pumax.c.

#define BOREIN   0x0800

Definition at line 62 of file pumax.c.

#define BORIHI   0x0080

Definition at line 58 of file pumax.c.

#define BORILO   0x0040

Definition at line 57 of file pumax.c.

#define CYLINDRICAL   0

Definition at line 128 of file pumax.c.

#define INT   int

Definition at line 35 of file pumax.c.

#define INTXS   int

Definition at line 38 of file pumax.c.

#define INTXU   unsigned int

Definition at line 37 of file pumax.c.

#define IPX (   l,
  m,
 
)    (VGAX * (x + (l-m) / (l-h)))

Definition at line 64 of file pumax.c.

#define IPY (   l,
  m,
 
)    (VGAY * (y + (l-m) / (l-h)))

Definition at line 65 of file pumax.c.

#define ISOCOL   8

Definition at line 80 of file pumax.c.

#define ISOCS   1

Definition at line 73 of file pumax.c.

#define ISOHOR   0

Definition at line 72 of file pumax.c.

#define ISOHOV   2

Definition at line 74 of file pumax.c.

#define ISOLON   6

Definition at line 78 of file pumax.c.

#define ISOROT   9

Definition at line 81 of file pumax.c.

#define ISOSH   5

Definition at line 77 of file pumax.c.

#define ISOTAB   4

Definition at line 76 of file pumax.c.

#define ISOTRA   7

Definition at line 79 of file pumax.c.

#define ISOTS   3

Definition at line 75 of file pumax.c.

#define MAPHOR   10

Definition at line 82 of file pumax.c.

#define MAPTRA   11

Definition at line 83 of file pumax.c.

#define MAX (   a,
 
)    ((a) > (b) ? (a) : (b))

Definition at line 45 of file pumax.c.

#define MAXMAPS   3

Definition at line 132 of file pumax.c.

#define MAXPAR   16384

Definition at line 301 of file pumax.c.

#define MIN (   a,
 
)    ((a) < (b) ? (a) : (b))

Definition at line 41 of file pumax.c.

#define NUMARRAYS   100

Definition at line 327 of file pumax.c.

#define NUMPAL   13

Definition at line 68 of file pumax.c.

#define NUMSCALARS   9

Definition at line 311 of file pumax.c.

#define NUMWIN   9

Definition at line 67 of file pumax.c.

#define PARCS   100

Definition at line 210 of file pumax.c.

#define POLAR   1

Definition at line 129 of file pumax.c.

#define PSDIM   30

Definition at line 688 of file pumax.c.

#define PUMA   0

Definition at line 87 of file pumax.c.

#define REAL   float

Definition at line 36 of file pumax.c.

#define ROTATE_LEFT   (XK_Left)

Definition at line 48 of file pumax.c.

#define ROTATE_RIGHT   (XK_Right)

Definition at line 49 of file pumax.c.

#define TOLEHI   0x0002

Definition at line 52 of file pumax.c.

#define TOLEIN   0x0100

Definition at line 59 of file pumax.c.

#define TOLELO   0x0001

Definition at line 51 of file pumax.c.

#define TOREIN   0x0200

Definition at line 60 of file pumax.c.

#define TORIHI   0x0008

Definition at line 54 of file pumax.c.

#define TORILO   0x0004

Definition at line 53 of file pumax.c.


Function/Subroutine Documentation

int AllocateColorCells ( struct ColorStrip  cs[])

Definition at line 1218 of file pumax.c.

void AmplitudePlot ( void  )

Definition at line 2904 of file pumax.c.

void AutoPalette ( int  w,
struct ColorStrip  Strip[],
REAL  f[],
int  Dim 
)

Definition at line 3870 of file pumax.c.

void AziLine ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 2568 of file pumax.c.

void AzimuthalImage ( struct MapImageStruct s,
struct MapImageStruct d 
)

Definition at line 889 of file pumax.c.

int AziPoint ( int  fpx,
int  fpy,
int *  x2,
int *  y2 
)

Definition at line 2546 of file pumax.c.

void CalcButtonAreas ( void  )

Definition at line 1232 of file pumax.c.

char* CharAlloc ( int  bytes,
char *  array_name 
)

Definition at line 1115 of file pumax.c.

int CheckEndianess ( void  )

Definition at line 1912 of file pumax.c.

void CheckMark ( int  x,
int  y,
int  d 
)

Definition at line 1729 of file pumax.c.

void ClearTracer ( void  )

Definition at line 1901 of file pumax.c.

void CloseWindow ( int  i)

Definition at line 2963 of file pumax.c.

unsigned long create_pixel ( long  red,
long  green,
long  blue 
)

Definition at line 766 of file pumax.c.

void CreateControlWindow ( void  )

Definition at line 1568 of file pumax.c.

void CreateTestWindow ( void  )

Definition at line 1370 of file pumax.c.

void DisplayHelpWindow ( void  )

Definition at line 3042 of file pumax.c.

void DrawHelpWindow ( void  )

Definition at line 3025 of file pumax.c.

void FillPoly ( int  n,
REAL  Poly[] 
)

Definition at line 2106 of file pumax.c.

float* FloatAlloc ( int  words,
char *  array_name 
)

Definition at line 1155 of file pumax.c.

int FormatVal ( char *  Name,
float  V,
char *  Text 
)

Definition at line 1648 of file pumax.c.

void GUICLOSE ( void  )

Definition at line 4637 of file pumax.c.

void guiclose ( void  )

Definition at line 4670 of file pumax.c.

void guiclose_ ( void  )

Definition at line 3384 of file pumax.c.

void GUIPUT ( char *  aname,
float *  array,
int *  dimx,
int *  dimy,
int *  dimz 
)

Definition at line 4647 of file pumax.c.

void guiput ( char *  aname,
float *  array,
int *  dimx,
int *  dimy,
int *  dimz 
)

Definition at line 4680 of file pumax.c.

void guiput_ ( char *  aname,
float *  array,
int *  dimx,
int *  dimy,
int *  dimz 
)

Definition at line 3930 of file pumax.c.

void guisend_ ( char *  aname,
float *  array,
int *  dimx,
int *  dimy,
int *  dimz 
)

Definition at line 3958 of file pumax.c.

void HandleEvents ( void  )

Definition at line 3293 of file pumax.c.

int HitFBWDButton ( XEvent *  xe)

Definition at line 3142 of file pumax.c.

int HitFFWDButton ( XEvent *  xe)

Definition at line 3122 of file pumax.c.

int HitGridButton ( XEvent *  xe)

Definition at line 3062 of file pumax.c.

int HitHelpButton ( XEvent *  xe)

Definition at line 3102 of file pumax.c.

int HitLowerPanel ( XEvent *  xe)

Definition at line 3162 of file pumax.c.

int HitMinusButton ( XEvent *  xe)

Definition at line 3132 of file pumax.c.

int HitPauseButton ( XEvent *  xe)

Definition at line 3072 of file pumax.c.

int HitPlusButton ( XEvent *  xe)

Definition at line 3112 of file pumax.c.

int HitStartButton ( XEvent *  xe)

Definition at line 3082 of file pumax.c.

int HitStopButton ( XEvent *  xe)

Definition at line 3092 of file pumax.c.

int HitUpperPanel ( XEvent *  xe)

Definition at line 3152 of file pumax.c.

int HitWindowSelect ( XEvent *  xe)

Definition at line 3172 of file pumax.c.

int iguinan_ ( double *  p)

Definition at line 4685 of file pumax.c.

int IGUISTEP ( float  pparcs[],
int  kdatim[] 
)

Definition at line 4642 of file pumax.c.

int iguistep ( float  pparcs[],
int  kdatim[] 
)

Definition at line 4675 of file pumax.c.

int iguistep_ ( float  pparcs[],
int  kdatim[] 
)

Definition at line 4551 of file pumax.c.

void INITGUI ( int *  model,
int *  debug,
int *  lats,
int *  mrpid,
int *  mrnum 
)

Definition at line 4632 of file pumax.c.

void initgui ( int *  model,
int *  debug,
int *  lats,
int *  mrpid,
int *  mrnum 
)

Definition at line 4665 of file pumax.c.

void initgui_ ( int *  model,
int *  debug,
int *  lats,
int *  mrpid,
int *  mrnum 
)

Definition at line 1925 of file pumax.c.

int* IntAlloc ( int  words,
char *  array_name 
)

Definition at line 1135 of file pumax.c.

void iso ( int  w,
int  PicType,
REAL *  field,
int  dimx,
int  dimy,
int  dimz,
int  pal 
)

Definition at line 3983 of file pumax.c.

void IsoArea ( INT  y,
REAL  vl,
REAL  vh,
REAL  Top[],
REAL  Bot[],
INT  Dim 
)

Definition at line 2122 of file pumax.c.

void IsoAreas ( struct ColorStrip  Strip[])

Definition at line 2383 of file pumax.c.

void IsoLine ( INT  y,
REAL  v,
REAL  Top[],
REAL  Bot[],
INT  Dim 
)

Definition at line 2410 of file pumax.c.

void IsoLines ( struct ColorStrip  Strip[],
int  Colored 
)

Definition at line 2522 of file pumax.c.

void LoadFonts ( void  )

Definition at line 1191 of file pumax.c.

void lp2az ( REAL *  a,
REAL *  b,
float  laz 
)

Definition at line 3555 of file pumax.c.

void lp2ps ( REAL *  a,
REAL *  b 
)

Definition at line 3492 of file pumax.c.

void MapLine ( INT  y,
REAL  v,
REAL  Top[],
REAL  Bot[],
INT  Dim 
)

Definition at line 2582 of file pumax.c.

void MapLines ( struct ColorStrip  Strip[],
int  Colored 
)

Definition at line 2694 of file pumax.c.

int NRESOURCES ( double *  ut,
double *  st,
long *  mem,
long *  par,
long *  paf,
long *  swa,
long *  dr,
long *  dw 
)

Definition at line 4652 of file pumax.c.

int nresources ( double *  ut,
double *  st,
long *  mem,
long *  par,
long *  paf,
long *  swa,
long *  dr,
long *  dw 
)

Definition at line 4690 of file pumax.c.

int nresources_ ( double *  ut,
double *  st,
long *  mem,
long *  par,
long *  paf,
long *  swa,
long *  dr,
long *  dw 
)

Definition at line 4609 of file pumax.c.

void ntocdat ( void  )

Definition at line 1098 of file pumax.c.

void OnMouseClick ( void  )

Definition at line 3184 of file pumax.c.

void PolarImage ( struct MapImageStruct s,
struct MapImageStruct d 
)

Definition at line 809 of file pumax.c.

void poltra ( float  lam,
float  phi,
float *  x,
float *  y 
)

Definition at line 2720 of file pumax.c.

int ReadConfig ( char *  filename)

Definition at line 1446 of file pumax.c.

void ReadImage ( struct MapImageStruct ei,
char *  filename 
)

Definition at line 1012 of file pumax.c.

int ReadINT ( FILE *  fpi)

Definition at line 996 of file pumax.c.

short ReadSHORT ( FILE *  fpi)

Definition at line 1004 of file pumax.c.

int RedrawControlWindow ( void  )

Definition at line 1798 of file pumax.c.

void RedrawIsoWindow ( int  w)

Definition at line 2956 of file pumax.c.

void ReopenWindow ( int  i)

Definition at line 2981 of file pumax.c.

void RevOrtho ( double  R,
double  lam0,
double  phi0,
int  xx,
int  yy,
double *  lam,
double *  phi 
)

Definition at line 857 of file pumax.c.

void SaveConfig ( void  )

Definition at line 3409 of file pumax.c.

void ScaleImage ( struct MapImageStruct s,
struct MapImageStruct d 
)

Definition at line 782 of file pumax.c.

void ShowGridCol ( void  )

Definition at line 3624 of file pumax.c.

void ShowGridCS ( void  )

Definition at line 3592 of file pumax.c.

void ShowGridCyl ( void  )

Definition at line 3688 of file pumax.c.

void ShowGridHov ( void  )

Definition at line 3721 of file pumax.c.

void ShowGridHovT ( void  )

Definition at line 3756 of file pumax.c.

void ShowGridLonsi ( void  )

Definition at line 3656 of file pumax.c.

void ShowGridPolar ( void  )

Definition at line 3791 of file pumax.c.

void ShowGridStatus ( void  )

Definition at line 1778 of file pumax.c.

void ShowParcs ( void  )

Definition at line 1670 of file pumax.c.

void ShowStep ( void  )

Definition at line 1624 of file pumax.c.

void ShowWindowStatus ( void  )

Definition at line 1741 of file pumax.c.

void* SizeAlloc ( int  words,
int  Size,
char *  array_name 
)

Definition at line 1175 of file pumax.c.

void SwapIEEE16 ( char  W[2])

Definition at line 981 of file pumax.c.

void SwapIEEE32 ( char  W[4])

Definition at line 988 of file pumax.c.

void SwitchIndez ( int  w,
int  d 
)

Definition at line 3250 of file pumax.c.

void TestWindow ( int  xx,
int  yy,
int  wi,
int  he,
int *  x,
int *  y,
int *  X,
int *  Y,
unsigned int *  W,
unsigned int *  H 
)

Definition at line 1343 of file pumax.c.

void TracerPlot ( int  w)

Definition at line 2752 of file pumax.c.

void TrimCopy ( char *  Trim,
char *  Line,
int  n 
)

Definition at line 1432 of file pumax.c.


Variable Documentation

XColor* Acol

Definition at line 611 of file pumax.c.

REAL* Ampli

Definition at line 610 of file pumax.c.

Initial value:
{
   {   0.0,  1.0,"DarkBlue"},
   {   8.0,  9.0,"blue"},
   {   8.0,  9.0,"DarkGreen"},
   {   8.0,  9.0,"green"},
   {   8.0,  9.0,"yellow"},
   {   9.0, 10.0,"Orange"},
   {  10.0, 11.0,"OrangeRed"},
   {  11.0, 12.0,"red"},
   {   0.0,  0.0,NULL}
}

Definition at line 504 of file pumax.c.

struct ArrayStruct Array[NUMARRAYS]
double AutoDelta[NUMWIN]

Definition at line 291 of file pumax.c.

double AutoLo[NUMWIN]

Definition at line 293 of file pumax.c.

struct ColorStrip Autostrip[AUTOCOLORS+1]
Initial value:
{
   {0.0,0.0,"red"},
   {0.0,0.0,"OrangeRed"},
   {0.0,0.0,"Orange"},
   {0.0,0.0,"yellow"},
   {0.0,0.0,"GreenYellow"},
   {0.0,0.0,"green"},
   {0.0,0.0,"aquamarine"},
   {0.0,0.0,"cyan"},
   {0.0,0.0,"SkyBlue"},
   {0.0,0.0,"blue"},
   {0.0,0.0,"orchid"},
   {0.0,0.0,"magenta"},
   {0.0,0.0,"violet"},
   {0.0,0.0,"DarkViolet"},
   {0.0,0.0,NULL}
}

Definition at line 369 of file pumax.c.

double AutoXdelt[NUMWIN]

Definition at line 292 of file pumax.c.

int BigEndian

Definition at line 234 of file pumax.c.

XFontStruct* BigFont

Definition at line 653 of file pumax.c.

Definition at line 656 of file pumax.c.

char BigFontName[80] = "9x15bold"

Definition at line 647 of file pumax.c.

Definition at line 659 of file pumax.c.

int BlackPix

Definition at line 265 of file pumax.c.

XColor Blue

Definition at line 616 of file pumax.c.

int BorderWidth = 0

Definition at line 353 of file pumax.c.

XClassHint class_hints

Definition at line 664 of file pumax.c.

int ColInd = 0

Definition at line 308 of file pumax.c.

Colormap colormap

Definition at line 613 of file pumax.c.

int count

Definition at line 638 of file pumax.c.

Window Cow

Definition at line 623 of file pumax.c.

XEvent CowEvent

Definition at line 633 of file pumax.c.

int CowH

Definition at line 240 of file pumax.c.

XSizeHints CowSizeHints

Definition at line 636 of file pumax.c.

int CowW

Definition at line 239 of file pumax.c.

int CowX = -1

Definition at line 237 of file pumax.c.

int CowY = -1

Definition at line 238 of file pumax.c.

int cpi = 1

Definition at line 222 of file pumax.c.

struct ColorStrip* Cstrip

Definition at line 600 of file pumax.c.

REAL CurVal

Definition at line 607 of file pumax.c.

XColor DarkBlue

Definition at line 616 of file pumax.c.

XColor DarkGreen

Definition at line 617 of file pumax.c.

XColor DarkRed

Definition at line 616 of file pumax.c.

char datch[64]

Definition at line 681 of file pumax.c.

struct ColorStrip DCCstrip[]
Initial value:
{
   {-99.0, 0.0, "Black"},
   {  0.0, 10.0,"Yellow"},
   { 10.0, 20.0,"YellowGreen"},
   { 20.0, 30.0,"Green"},
   { 30.0, 40.0,"Aquamarine"},
   { 40.0, 50.0,"Cyan"},
   { 50.0, 60.0,"SkyBlue"},
   { 60.0, 70.0,"Blue"},
   { 70.0, 80.0,"Orchid"},
   { 80.0, 90.0,"Magenta"},
   { 90.0,100.0,"DarkViolet"},
   { 0.0, 0.0,NULL}
}

Definition at line 565 of file pumax.c.

int Debug = 0

Definition at line 20 of file pumax.c.

int Delpar = 8

Definition at line 306 of file pumax.c.

int DeltaTime

Definition at line 734 of file pumax.c.

Atom Delwin

Definition at line 665 of file pumax.c.

int DimT = 100

Definition at line 244 of file pumax.c.

int DimX

Definition at line 245 of file pumax.c.

int DimXY

Definition at line 248 of file pumax.c.

int DimY

Definition at line 246 of file pumax.c.

int DimZ

Definition at line 247 of file pumax.c.

Display* display

Definition at line 228 of file pumax.c.

char* display_name = NULL

Definition at line 662 of file pumax.c.

REAL* Dmax[NUMWIN]

Definition at line 296 of file pumax.c.

REAL* Dmin[NUMWIN]

Definition at line 295 of file pumax.c.

Initial value:
{
   {-99.0,  -5.0,"brown"},
   {- 5.0,  -3.0,"gold"},
   { -3.0,  -1.5,"purple"},
   { -1.5,  -0.5,"red"},
   { -0.5,  -0.25,"OrangeRed"},
   { -0.25,  0.0,"Orange"},
   {  0.0,   0.25,"yellow"},
   {  0.25,  0.5,"GreenYellow"},
   {  0.5,   1.5,"green"},
   {  1.5,   3.0,"aquamarine"},
   {  3.0,   5.0,"cyan"},
   {  5.0, 99.0,"blue"},
   {  0.0,  0.0,NULL}
}

Definition at line 581 of file pumax.c.

XColor Dummy

Definition at line 617 of file pumax.c.

int FBWD_XH

Definition at line 174 of file pumax.c.

int FBWD_XL

Definition at line 173 of file pumax.c.

int FBWD_YH

Definition at line 176 of file pumax.c.

int FBWD_YL

Definition at line 175 of file pumax.c.

int FFWD_XH

Definition at line 184 of file pumax.c.

int FFWD_XL

Definition at line 183 of file pumax.c.

int FFWD_YH

Definition at line 186 of file pumax.c.

int FFWD_YL

Definition at line 185 of file pumax.c.

REAL* Field

Definition at line 609 of file pumax.c.

int FirstKey

Definition at line 272 of file pumax.c.

XFontStruct* FixFont

Definition at line 651 of file pumax.c.

Definition at line 654 of file pumax.c.

char FixFontName[80] = "8x13"

Definition at line 648 of file pumax.c.

Definition at line 657 of file pumax.c.

int* Flag

Definition at line 266 of file pumax.c.

int FlagSize

Definition at line 267 of file pumax.c.

int fps

Definition at line 723 of file pumax.c.

GC gc

Definition at line 640 of file pumax.c.

XColor Green

Definition at line 616 of file pumax.c.

XColor Grey

Definition at line 616 of file pumax.c.

int Grid = 1

Definition at line 262 of file pumax.c.

int Grid_XH

Definition at line 201 of file pumax.c.

int Grid_XL

Definition at line 200 of file pumax.c.

int Grid_YH

Definition at line 203 of file pumax.c.

int Grid_YL

Definition at line 202 of file pumax.c.

int GridLabel = 1

Definition at line 263 of file pumax.c.

char GUI_config[80] = "GUI_last_used.cfg"

Definition at line 685 of file pumax.c.

char GUI_default[80] = "GUI.cfg"

Definition at line 684 of file pumax.c.

int Help_XH

Definition at line 164 of file pumax.c.

int Help_XL

Definition at line 163 of file pumax.c.

int Help_YH

Definition at line 166 of file pumax.c.

int Help_YL

Definition at line 165 of file pumax.c.

int HelpLines = sizeof(HelpText) / sizeof(char *)

Definition at line 3023 of file pumax.c.

XTextProperty HelpName

Definition at line 669 of file pumax.c.

char* HelpText[]
Initial value:
{
   "Key assignment for azimuthal projection     ",
   "--------------------------------------------",
   "<- cursor left  : increase westward rotation",
   "-> cursor right : increase eastward rotation",
   "============================================",
   "Key assignment for 3D variables             ",
   "--------------------------------------------",
   "^  cursor up    : display next upper level  ",
   "v  cursor down  : display next lower level  ",
   "============================================",
   "Key assignment for Lon/Lev or Hovmoeller    ",
   "--------------------------------------------",
   "^  cursor up    : switch latitude northwards",
   "v  cursor down  : switch latitude southwards",
   "============================================",
   "Mouse button assignment                     ",
   "--------------------------------------------",
   "Left   button   : decrease level or latitude",
   "Right  button   : increase level or latitude",
   "Middle button   : cycle through projections "
}

Definition at line 2999 of file pumax.c.

Window HelpWindow

Definition at line 624 of file pumax.c.

int HovInx[NUMWIN]

Definition at line 285 of file pumax.c.

Definition at line 751 of file pumax.c.

int Indez[NUMWIN]

Definition at line 286 of file pumax.c.

int InXSize

Definition at line 256 of file pumax.c.

int InYSize

Definition at line 257 of file pumax.c.

char* IsoNames[]
Initial value:
{
   "ISOHOR",
   "ISOCS",
   "ISOHOV",
   "ISOTS",
   "ISOTAB",
   "ISOSH",
   "ISOLON",
   "ISOTRA",
   "ISOCOL",
   "ISOROT",
   "MAPHOR",
   "MAPTRA"
}

Definition at line 89 of file pumax.c.

int IsoTypes = sizeof(IsoNames) / sizeof(char *)

Definition at line 105 of file pumax.c.

KeySym* KeyMap

Definition at line 276 of file pumax.c.

struct ColorStrip Kstrip[]
Initial value:
{
   {100.0,210.0,"RoyalBlue4"},
   {210.0,220.0,"RoyalBlue3"},
   {220.0,230.0,"RoyalBlue2"},
   {230.0,240.0,"RoyalBlue1"},
   {240.0,250.0,"violet"},
   {250.0,260.0,"IndianRed1"},
   {260.0,270.0,"IndianRed2"},
   {270.0,280.0,"IndianRed3"},
   {280.0,290.0,"IndianRed4"},
   {290.0,400.0,"red"},
   {  0.0,  0.0,NULL}
}

Definition at line 459 of file pumax.c.

int LastKey

Definition at line 273 of file pumax.c.

Definition at line 733 of file pumax.c.

Definition at line 728 of file pumax.c.

int LastStep

Definition at line 729 of file pumax.c.

int Latitudes

Definition at line 258 of file pumax.c.

int LevelChanged[NUMWIN]

Definition at line 289 of file pumax.c.

XColor LightBlue

Definition at line 616 of file pumax.c.

XColor LightGreen

Definition at line 617 of file pumax.c.

XColor LightRed

Definition at line 616 of file pumax.c.

int LineCo[NUMPAL]

Definition at line 283 of file pumax.c.

int Lines

Definition at line 259 of file pumax.c.

Definition at line 779 of file pumax.c.

struct MapImageStruct MapLR[NUMWIN]

Definition at line 780 of file pumax.c.

int MapPro[NUMWIN]

Definition at line 284 of file pumax.c.

Initial value:
{
   {-200.0,-90.0,"RoyalBlue4"},
   { -90.0,-80.0,"RoyalBlue3"},
   { -80.0,-70.0,"RoyalBlue2"},
   { -70.0,-60.0,"RoyalBlue1"},
   { -60.0,-50.0,"violet"},
   { -50.0,-40.0,"IndianRed1"},
   { -40.0,-30.0,"IndianRed2"},
   { -30.0,-20.0,"IndianRed3"},
   { -20.0,  0.0,"IndianRed4"},
   {   0.0,100.0,"red"},
   {   0.0,  0.0,NULL}
}

Definition at line 489 of file pumax.c.

int MaxZ[NUMWIN]

Definition at line 287 of file pumax.c.

int Minus_XH

Definition at line 169 of file pumax.c.

int Minus_XL

Definition at line 168 of file pumax.c.

int Minus_YH

Definition at line 171 of file pumax.c.

int Minus_YL

Definition at line 170 of file pumax.c.

int Model

Definition at line 236 of file pumax.c.

char* mona[12]
Initial value:
{
   "Jan","Feb","Mar",
   "Apr","May","Jun",
   "Jul","Aug","Sep",
   "Oct","Nov","Dec"
}

Definition at line 671 of file pumax.c.

int MRnum

Definition at line 270 of file pumax.c.

int MRpid

Definition at line 269 of file pumax.c.

int ndatim[6]

Definition at line 732 of file pumax.c.

int nstep

Definition at line 268 of file pumax.c.

int NumArrays

Definition at line 339 of file pumax.c.

int NumWin = NUMWIN

Definition at line 241 of file pumax.c.

int OffsetY = 20

Definition at line 146 of file pumax.c.

int OffX

Definition at line 252 of file pumax.c.

int OffY = 0

Definition at line 253 of file pumax.c.

int OutXSize

Definition at line 637 of file pumax.c.

int OutYSize

Definition at line 637 of file pumax.c.

long pal[MAXPAR]

Definition at line 304 of file pumax.c.

struct ColorStrip* Pallet[NUMPAL]
char* PalNames[]
Initial value:
{
   "AUTO",
   "U",
   "V",
   "T",
   "P",
   "Q",
   "MARST",
   "AMPLI",
   "VEG",
   "OCET",
   "OCES",
   "DCC",
   "DTDT"
}

Definition at line 107 of file pumax.c.

int PalTypes = sizeof(PalNames) / sizeof(char *)

Definition at line 124 of file pumax.c.

struct ParcStruct Parc[PARCS]

Definition at line 224 of file pumax.c.

int Parc_XD

Definition at line 190 of file pumax.c.

int Parc_XH

Definition at line 189 of file pumax.c.

int Parc_XL

Definition at line 188 of file pumax.c.

int Parc_YD

Definition at line 193 of file pumax.c.

int Parc_YH

Definition at line 192 of file pumax.c.

int Parc_YL

Definition at line 191 of file pumax.c.

int Parcs

Definition at line 221 of file pumax.c.

int ParInd = 0

Definition at line 307 of file pumax.c.

int Pause_XH

Definition at line 159 of file pumax.c.

int Pause_XL

Definition at line 158 of file pumax.c.

int Pause_YH

Definition at line 161 of file pumax.c.

int Pause_YL

Definition at line 160 of file pumax.c.

XPoint PauseButton1[4] = {{95,10},{102,10},{102,40},{95,40}}

Definition at line 207 of file pumax.c.

XPoint PauseButton2[4] = {{108,10},{115,10},{115,40},{108,40}}

Definition at line 208 of file pumax.c.

int Paused = 0

Definition at line 660 of file pumax.c.

char* PauseTitle = "Run Paused"

Definition at line 630 of file pumax.c.

float pax[MAXPAR]

Definition at line 302 of file pumax.c.

float pay[MAXPAR]

Definition at line 303 of file pumax.c.

Pixmap pix

Definition at line 325 of file pumax.c.

char* pixelstar[PSDIM]

Definition at line 689 of file pumax.c.

char PlanetName[32] = "Earth"

Definition at line 682 of file pumax.c.

int Plus_XH

Definition at line 179 of file pumax.c.

int Plus_XL

Definition at line 178 of file pumax.c.

int Plus_YH

Definition at line 181 of file pumax.c.

int Plus_YL

Definition at line 180 of file pumax.c.

int polco = 0

Definition at line 2718 of file pumax.c.

char* ProNames[]
Initial value:
{
   "CYLINDRICAL",
   "POLAR",
   "AZIMUTHAL"
}

Definition at line 134 of file pumax.c.

struct ColorStrip Pstrip[]
Initial value:
{
   {  00.0, 985.0,"RoyalBlue4"},
   { 985.0, 990.0,"RoyalBlue3"},
   { 990.0, 995.0,"RoyalBlue2"},
   { 995.0,1000.0,"RoyalBlue1"},
   {1000.0,1005.0,"violet"},
   {1005.0,1010.0,"IndianRed1"},
   {1010.0,1015.0,"IndianRed2"},
   {1015.0,1020.0,"IndianRed3"},
   {1020.0,1025.0,"IndianRed4"},
   {1025.0,9990.0,"red"},
   {  0.0,  0.0,NULL}
}

Definition at line 474 of file pumax.c.

struct ColorStrip Qstrip[]
Initial value:
{
   {-99.0,  0.0,"black"},
   {  0.0,  5.0,"OrangeRed"},
   {  5.0, 10.0,"Orange"},
   { 10.0, 15.0,"yellow"},
   { 15.0, 20.0,"GreenYellow"},
   { 20.0, 25.0,"green"},
   { 25.0, 30.0,"aquamarine"},
   { 30.0, 35.0,"cyan"},
   { 35.0, 40.0,"SkyBlue"},
   { 40.0, 45.0,"blue"},
   { 45.0, 50.0,"orchid"},
   { 50.0, 55.0,"magenta"},
   { 55.0, 60.0,"violet"},
   { 60.0, 99.0,"DarkViolet"},
   {  0.0,  0.0,NULL}
}

Definition at line 407 of file pumax.c.

char* ReadyTitle = "Press Start Button"

Definition at line 631 of file pumax.c.

XColor Red

Definition at line 616 of file pumax.c.

int RedrawFlag[NUMWIN]

Definition at line 288 of file pumax.c.

XEvent report

Definition at line 639 of file pumax.c.

int rmuf = 20

Definition at line 724 of file pumax.c.

int rmui = 1

Definition at line 725 of file pumax.c.

float RotInc = 0.2

Definition at line 282 of file pumax.c.

int RotLon[NUMWIN]

Definition at line 290 of file pumax.c.

Definition at line 226 of file pumax.c.

unsigned int ScreenBot

Definition at line 229 of file pumax.c.

int ScreenD

Definition at line 251 of file pumax.c.

unsigned int ScreenH

Definition at line 229 of file pumax.c.

Definition at line 235 of file pumax.c.

unsigned int ScreenW

Definition at line 229 of file pumax.c.

int SecEvent

Definition at line 730 of file pumax.c.

unsigned Seed

Definition at line 280 of file pumax.c.

int ShowOnce = 1

Definition at line 145 of file pumax.c.

int ShowQueue = 0

Definition at line 144 of file pumax.c.

int Shutdown

Definition at line 261 of file pumax.c.

Definition at line 260 of file pumax.c.

int SkipFreq

Definition at line 726 of file pumax.c.

Definition at line 230 of file pumax.c.

REAL* SpeedScale

Definition at line 297 of file pumax.c.

Initial value:
{
   {-99.0, 30.0,"Black"},
   { 30.0, 32.0 ,"RoyalBlue4"},
   { 32.0 ,32.5,"RoyalBlue3"},
   { 32.5, 33.0,"RoyalBlue2"},
   { 33.0, 34.0,"SeaGreen"},
   { 34.0, 34.5,"YellowGreen"},
   { 34.5, 35.0,"LightGreen"},
   { 35.0, 35.5,"Orange"},
   { 35.5, 36.0,"DarkOrange"},
   { 36.0, 36.5,"OrangeRed"},
   { 36.5, 40.0,"red"},
   {  0.0,  0.0,NULL}
}

Definition at line 549 of file pumax.c.

int Start_XH

Definition at line 154 of file pumax.c.

int Start_XL

Definition at line 153 of file pumax.c.

int Start_YH

Definition at line 156 of file pumax.c.

int Start_YL

Definition at line 155 of file pumax.c.

XPoint StartButton[3] = {{50,10},{80,25},{50,40}}

Definition at line 206 of file pumax.c.

int Stop_XH

Definition at line 149 of file pumax.c.

int Stop_XL

Definition at line 148 of file pumax.c.

int Stop_YH

Definition at line 151 of file pumax.c.

int Stop_YL

Definition at line 150 of file pumax.c.

XPoint StopButton[4] = {{10,10},{40,10},{40,40},{10,40}}

Definition at line 205 of file pumax.c.

XFontStruct* SubFont

Definition at line 652 of file pumax.c.

Definition at line 655 of file pumax.c.

char SubFontName[80] = "6x10"

Definition at line 649 of file pumax.c.

Definition at line 658 of file pumax.c.

Definition at line 274 of file pumax.c.

Definition at line 727 of file pumax.c.

Definition at line 309 of file pumax.c.

char TScale[NUMSCALARS][80]

Definition at line 316 of file pumax.c.

unsigned long TSColor[10]

Definition at line 619 of file pumax.c.

REAL* TSdata[NUMWIN]

Definition at line 294 of file pumax.c.

char TSName[NUMSCALARS][80]

Definition at line 313 of file pumax.c.

struct ColorStrip Tstrip[]
Initial value:
{
   {-99.0,-50.0,"MidnightBlue"},
   {-50.0,-40.0,"RoyalBlue4"},
   {-40.0,-30.0,"RoyalBlue3"},
   {-30.0,-20.0,"RoyalBlue2"},
   {-20.0,-10.0,"RoyalBlue1"},
   {-10.0,  0.0,"violet"},
   {  0.0, 10.0,"IndianRed1"},
   { 10.0, 20.0,"IndianRed2"},
   { 20.0, 30.0,"IndianRed3"},
   { 30.0, 40.0,"IndianRed4"},
   { 40.0, 50.0,"red"},
   {  0.0,  0.0,NULL}
}

Definition at line 443 of file pumax.c.

Initial value:
{
   {-99.0, 0.00001,"Black"},
   { 0.00001, 4.0 ,"RoyalBlue4"},
   { 4.0 ,8.0,"RoyalBlue3"},
   { 8.0, 12.0,"RoyalBlue2"},
   { 12.0, 16.0,"RoyalBlue1"},
   { 16.0, 20.0,"violet"},
   { 20.0, 24.0,"IndianRed1"},
   { 24.0, 28.0,"IndianRed2"},
   { 28.0, 32.0,"IndianRed3"},
   { 32.0, 36.0,"IndianRed4"},
   { 36.0, 40.0,"red"},
   {  0.0,  0.0,NULL}
}

Definition at line 533 of file pumax.c.

char TSubsc[NUMSCALARS][80]

Definition at line 314 of file pumax.c.

char TSUnit[NUMSCALARS][80]

Definition at line 315 of file pumax.c.

XPoint* TSxp[NUMWIN]

Definition at line 298 of file pumax.c.

int Uindex = -1

Definition at line 249 of file pumax.c.

struct ColorStrip Ustrip[]
Initial value:
{
   {-99.0,-10.0,"red"},
   {-10.0, -5.0,"OrangeRed"},
   { -5.0,  0.0,"Orange"},
   {  0.0,  5.0,"yellow"},
   {  5.0, 10.0,"GreenYellow"},
   { 10.0, 15.0,"green"},
   { 15.0, 20.0,"aquamarine"},
   { 20.0, 25.0,"cyan"},
   { 25.0, 30.0,"SkyBlue"},
   { 30.0, 35.0,"blue"},
   { 35.0, 40.0,"orchid"},
   { 40.0, 45.0,"magenta"},
   { 45.0, 50.0,"violet"},
   { 50.0, 99.0,"DarkViolet"},
   {  0.0,  0.0,NULL}
}

Definition at line 388 of file pumax.c.

struct ColorStrip Vegstrip[]
Initial value:
{
   {-999.9,0.001,"DarkBlue"},
   { 0.001, 10.0,"brown"},
   {  10.0, 20.0,"SeaGreen4"},
   {  20.0, 30.0,"SeaGreen3"},
   {  30.0, 40.0,"SeaGreen2"},
   {  40.0, 50.0,"SeaGreen1"},
   {  50.0, 60.0,"YellowGreen"},
   {  60.0, 70.0,"green4"},
   {  70.0, 80.0,"green3"},
   {  80.0, 90.0,"green2"},
   {  90.0,999.0,"green1"},
   {   0.0,  0.0,NULL}
}

Definition at line 517 of file pumax.c.

REAL VGAX

Definition at line 605 of file pumax.c.

REAL VGAY

Definition at line 606 of file pumax.c.

int Vindex = -1

Definition at line 250 of file pumax.c.

struct ColorStrip Vstrip[]
Initial value:
{
   {-99.0,-10.0,"brown"},
   {-10.0, -8.0,"gold"},
   { -8.0, -6.0,"purple"},
   { -6.0, -4.0,"red"},
   { -4.0, -2.0,"OrangeRed"},
   { -2.0,  0.0,"Orange"},
   {  0.0,  2.0,"yellow"},
   {  2.0,  4.0,"GreenYellow"},
   {  4.0,  6.0,"green"},
   {  6.0,  8.0,"aquamarine"},
   {  8.0, 10.0,"cyan"},
   { 10.0, 99.0,"blue"},
   {  0.0,  0.0,NULL}
}

Definition at line 426 of file pumax.c.

int Wbox_XH

Definition at line 196 of file pumax.c.

int Wbox_XL

Definition at line 195 of file pumax.c.

int Wbox_YH

Definition at line 198 of file pumax.c.

int Wbox_YL

Definition at line 197 of file pumax.c.

char* wena[7] = {"Mon","Tue","Wed","Thu","Fri","Sat","Sun"}

Definition at line 679 of file pumax.c.

int WhitePix

Definition at line 264 of file pumax.c.

Window Win[NUMWIN]

Definition at line 621 of file pumax.c.

int win

Definition at line 622 of file pumax.c.

struct WinAttStruct WinAtt[NUMWIN]
int WinBM = 0

Definition at line 358 of file pumax.c.

int WinCols = 3

Definition at line 242 of file pumax.c.

XTextProperty WinconName1

Definition at line 626 of file pumax.c.

XTextProperty WinconName3

Definition at line 627 of file pumax.c.

XTextProperty WinconPause

Definition at line 628 of file pumax.c.

XTextProperty WinconReady

Definition at line 629 of file pumax.c.

XTextProperty WindowName[NUMWIN]

Definition at line 668 of file pumax.c.

char* WindowTitle[NUMWIN]

Definition at line 667 of file pumax.c.

int WinLM = 0

Definition at line 355 of file pumax.c.

struct PixStruct WinPixMap[NUMWIN]
int WinRM = 0

Definition at line 356 of file pumax.c.

int WinRows = 3

Definition at line 243 of file pumax.c.

XSizeHints WinSizeHints

Definition at line 635 of file pumax.c.

int WinTM = 24

Definition at line 357 of file pumax.c.

INTXU WinXSize

Definition at line 254 of file pumax.c.

INTXU WinYSize

Definition at line 255 of file pumax.c.

XWMHints wm_hints

Definition at line 663 of file pumax.c.

int WM_top_area = 0

Definition at line 354 of file pumax.c.

int wto

Definition at line 271 of file pumax.c.

char wtrun[8]

Definition at line 278 of file pumax.c.

XColor xcolor1

Definition at line 615 of file pumax.c.

XColor xcolor2

Definition at line 615 of file pumax.c.

XColor Yellow

Definition at line 616 of file pumax.c.