Skip to content
Snippets Groups Projects
Commit 7d609ed8 authored by lhausamm's avatar lhausamm
Browse files

Forgot a file

parent 854d7183
No related branches found
No related tags found
1 merge request!1Init
#ifndef __PYSWIFTSIM_CONFIG_H__
#define __PYSWIFTSIM_CONFIG_H__
#include "pyswiftsim_tools.h"
#include <config.h>
/**
* @brief give the cooling type name
*
* @return Cooling name (PyUnicode)
*/
PyObject* config_get_cooling() {
char *cooling_name;
#ifdef COOLING_CONST_LAMBDA
cooling_name = "const_lambda";
#elif defined(COOLING_GRACKLE)
cooling_name = "grackle";
#endif
return PyUnicode_FromString(cooling_name);
};
#endif // __PYSWIFTSIM_CONFIG_H__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment