https://github.com/N-BodyShop/changa
Revision f9aa0561beec30804f8b61d4e72bba24ad9d5fa1 authored by Tom Quinn on 14 August 2017, 22:41:05 UTC, committed by Tom Quinn on 30 August 2017, 22:34:50 UTC
Change-Id: Icb82cbd8a7e18f918a512d4385ed6412415d5500
1 parent 2c05d51
Raw File
Tip revision: f9aa0561beec30804f8b61d4e72bba24ad9d5fa1 authored by Tom Quinn on 14 August 2017, 22:41:05 UTC
Update to v3.3
Tip revision: f9aa056
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