View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

scalar.h
Go to the documentation of this file.
1#ifndef SCALAR_H
2#define SCALAR_H
3
4#include <cinttypes>
5
6namespace vistle {
7
8// used for mapped data
9typedef unsigned char Byte;
10
11#ifdef VISTLE_SCALAR_DOUBLE
12typedef double Scalar; // also used for coordinates
13#else
14typedef float Scalar; // also used for coordinates
15#endif
16
17// used for parameters
18typedef double Float;
19typedef int64_t Integer;
20
21} // namespace vistle
22
23#endif
Definition: allobjects.cpp:30
unsigned char Byte
Definition: scalar.h:9
double Float
Definition: scalar.h:18
float Scalar
Definition: scalar.h:14
int64_t Integer
Definition: scalar.h:19