changed reading hint
[gromacs/adressmacs.git] / include / types / matrix.h
blobd4e489f00bfcaf9b67074abf35d073b91ef53135
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 2.0
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * Please refer to:
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
23 * or e-mail to:
24 * gromacs@chem.rug.nl
26 * And Hey:
27 * Green Red Orange Magenta Azure Cyan Skyblue
30 typedef struct {
31 real r,g,b;
32 } t_rgb;
34 typedef struct {
35 char c1; /* should all be non-zero (and printable and not '"') */
36 char c2; /*
37 * should all be zero (single char color names: smaller xpm's)
38 * or should all be non-zero (double char color names: more colors)
40 } t_xpmelmt;
42 typedef short t_matelmt;
44 typedef struct {
45 t_xpmelmt code; /* see comment for t_xpmelmt */
46 char *desc;
47 t_rgb rgb;
48 } t_mapping;
50 typedef struct {
51 int nx,ny;
52 int y0;
53 char title[256];
54 char legend[256];
55 char label_x[256];
56 char label_y[256];
57 bool bDiscrete;
58 real *axis_x;
59 real *axis_y;
60 t_matelmt **matrix;
61 int nmap;
62 t_mapping *map;
63 } t_matrix;