https://github.com/N-BodyShop/changa
Raw File
Tip revision: ce8c286acba202ce0ace4f5464503b9b0253a944 authored by Cambridge on 13 October 2017, 03:38:37 UTC
Modify the counterArrays flags to better fit multiple node/step run
Tip revision: ce8c286
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