File: data.cc

package info (click to toggle)
simrisc 16.06.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,568 kB
  • sloc: cpp: 6,889; fortran: 669; makefile: 112; ansic: 112; sh: 107
file content (23 lines) | stat: -rw-r--r-- 889 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//#define XERR
#include "globals.ih"

uint16_t const Globals::uint16_max = numeric_limits<uint16_t>::max();

bool Globals::s_vary = false;
SimulationType Globals::s_simType = BREAST;
double const Globals::s_sqrt2PI = sqrt(2 * M_PI);
unsigned Globals::s_width = 0;

//char const *Globals::s_label[][3] =     // update when enums
//{                                       // SimulationType is modified
//     { "Breast:", "breast:", "breast" },// the top line represents the default
//     { "Male:",   "male:",   "male"   },
//     { "Female:", "female:", "female" }
//};

char const *Globals::s_label[][3] =         // update when enums
{                                           // SimulationType is modified
     { "Breast:", "Male:",  "Female:" },    // the first elements represent
     { "breast:", "male:",  "female:" },    // the default
     { "breast",  "male",   "female"  }
};