https://github.com/N-BodyShop/changa
Raw File
Tip revision: 736758a71a4662a551e24a24a579c2a994059c31 authored by Tom Quinn on 16 March 2018, 20:38:51 UTC
Refactor load balancing in Main.
Tip revision: 736758a
cosmoType.h
#ifndef __COSMOTYPE_H__
#define __COSMOTYPE_H__

/* #define COSMO_FLOAT */

#ifdef COSMO_FLOAT
#define CONVERT_TO_COSMO_TYPE (float)
typedef float cosmoType;
#define COSMO_CONST(val) val##f
#else
#define CONVERT_TO_COSMO_TYPE
typedef double cosmoType;
#define COSMO_CONST(val) val
#endif

#endif
back to top