https://github.com/N-BodyShop/changa
Raw File
Tip revision: 5cdf993a49f8319ed0b8026a1dc03094e02b2ba2 authored by Tom Quinn on 13 January 2019, 04:50:02 UTC
Added a "childrenRadius" to the moments structure, separate from "radius".
Tip revision: 5cdf993
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