Skip to content
Snippets Groups Projects
Commit 97c7c027 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

LEGACY_GADGET2_SPH --> GADGET2_SPH

parent a89c410b
Branches
Tags
2 merge requests!136Master,!90Improved multi-timestep SPH
......@@ -287,7 +287,7 @@ void writeSPHflavour(hid_t h_file) {
writeAttribute_f(h_grpsph, "Delta N_ngb", const_delta_nwneigh);
writeAttribute_f(h_grpsph, "Hydro gamma", const_hydro_gamma);
#ifdef LEGACY_GADGET2_SPH
#ifdef GADGET2_SPH
writeAttribute_s(h_grpsph, "Thermal Conductivity Model",
"(No treatment) Legacy Gadget-2 as in Springel (2005)");
writeAttribute_s(h_grpsph, "Viscosity Model",
......
......@@ -66,7 +66,7 @@
#define const_iepsilon6 (const_iepsilon3* const_iepsilon3)
/* SPH variant to use */
#define LEGACY_GADGET2_SPH
#define GADGET2_SPH
/* System of units */
#define const_unit_length_in_cgs 1 /* 3.08567810e16 /\* 1Mpc *\/ */
......
......@@ -28,7 +28,7 @@
#include "debug.h"
/* Import the right hydro definition */
#ifdef LEGACY_GADGET2_SPH
#ifdef GADGET2_SPH
#include "./hydro/Gadget2/hydro_debug.h"
#else
#include "./hydro/Default/hydro_debug.h"
......
......@@ -22,7 +22,7 @@
#include "./const.h"
/* Import the right functions */
#ifdef LEGACY_GADGET2_SPH
#ifdef GADGET2_SPH
#include "./hydro/Gadget2/hydro.h"
#include "./hydro/Gadget2/hydro_iact.h"
#else
......
......@@ -22,7 +22,7 @@
#include "./const.h"
/* Import the right functions */
#ifdef LEGACY_GADGET2_SPH
#ifdef GADGET2_SPH
#include "./hydro/Gadget2/hydro_io.h"
#else
#include "./hydro/Default/hydro_io.h"
......
......@@ -38,7 +38,7 @@
#define xpart_align 32
/* Import the right particle definition */
#ifdef LEGACY_GADGET2_SPH
#ifdef GADGET2_SPH
#include "./hydro/Gadget2/hydro_part.h"
#else
#include "./hydro/Default/hydro_part.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment