Revision f27312790573c958550e624a9dd2ee69a08fbdf8 authored by Tom Quinn on 30 May 2016, 04:41:54 UTC, committed by Tom Quinn on 30 May 2016, 04:41:54 UTC
Change-Id: I35b38e1332e9e5e08d8c0458a9d9579af211d6ca
1 parent 6aa9a2b
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