Revision 0cd087ff237b95be1a29c928039d7107809742c8 authored by Tom Quinn on 11 June 2012, 22:36:21 UTC, committed by Tim Haines on 12 August 2016, 05:26:41 UTC
compile.

Change-Id: Ic94f1dfbfc1c39c2d174a2ee974d3a1bd09c7f85
1 parent 4b03974
Raw File
cooling.h
#ifndef COOLING_HINCLUDED
#define COOLING_HINCLUDED

/*
 * Cooling includes initially from GASOLINE
 */

#ifdef COOLING_NONE
#include "param.h"

typedef struct CoolingParametersStruct {
	double    dParam1;
	} COOLPARAM;

typedef struct CoolingPKDStruct COOL;

struct CoolingPKDStruct { 
   double     dTime;
};

inline COOL *CoolInit() {return NULL ;}
inline void CoolFinalize( COOL *cl ){};
inline void CoolAddParams( COOLPARAM *CoolParam, PRM ) {};
#else

#ifdef COOLING_DISK
#include "cooling_disk.h"
#else

#ifdef COOLING_PLANET
#include "cooling_planet.h"
#else

#ifdef COOLING_COSMO
#include "cooling_cosmo.h"
#else

#ifdef COOLING_GRACKLE
#include "cooling_grackle.h"
#else

#ifdef COOLING_METAL
#include "cooling_metal.h"
#else

#ifdef COOLING_BATE
#include "cooling_bate.h"
#else

#error "No valid cooling function specified"

#endif
#endif
#endif
#endif
#endif
#endif

#endif

#endif
back to top