diff options
Diffstat (limited to 'MultiSource/Benchmarks/DOE-ProxyApps-C/CoMD/mytype.h')
-rw-r--r-- | MultiSource/Benchmarks/DOE-ProxyApps-C/CoMD/mytype.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/MultiSource/Benchmarks/DOE-ProxyApps-C/CoMD/mytype.h b/MultiSource/Benchmarks/DOE-ProxyApps-C/CoMD/mytype.h deleted file mode 100644 index 4efaa0ba..00000000 --- a/MultiSource/Benchmarks/DOE-ProxyApps-C/CoMD/mytype.h +++ /dev/null @@ -1,29 +0,0 @@ -/// \file -/// Frequently needed typedefs. - -#ifndef __MYTYPE_H_ -#define __MYTYPE_H_ - -/// \def SINGLE determines whether single or double precision is built -#ifdef SINGLE -typedef float real_t; //!< define native type for CoMD as single precision - #define FMT1 "%g" //!< /def format argument for floats - #define EMT1 "%e" //!< /def format argument for eng floats -#else -typedef double real_t; //!< define native type for CoMD as double precision - #define FMT1 "%lg" //!< \def format argument for doubles - #define EMT1 "%le" //!< \def format argument for eng doubles -#endif - -typedef real_t real3[3]; //!< a convenience vector with three real_t - -static void zeroReal3(real3 a) -{ - a[0] = 0.0; - a[1] = 0.0; - a[2] = 0.0; -} - -#define screenOut stdout - -#endif |