https://github.com/N-BodyShop/changa
Raw File
Tip revision: c409ab82b7be75a56c7463aac7ef296b4053d6ed authored by Tom Quinn on 02 January 2024, 21:58:36 UTC
PressureSmoothParams::fcnSmoth(): Remove fDivv_Corrector because it creates instabilities.
Tip revision: c409ab8
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