Commit 0d969cd4 authored by Tom Theuns's avatar Tom Theuns
Browse files

dded source terms

parent c556388a
......@@ -40,8 +40,8 @@
#define const_isothermal_internal_energy 20.2615290634f
/* Dimensionality of the problem */
//#define HYDRO_DIMENSION_3D
#define HYDRO_DIMENSION_2D
#define HYDRO_DIMENSION_3D
//#define HYDRO_DIMENSION_2D
//#define HYDRO_DIMENSION_1D
/* Hydrodynamical adiabatic index. */
......@@ -64,9 +64,9 @@
/* SPH variant to use */
//#define MINIMAL_SPH
//#define GADGET2_SPH
#define GADGET2_SPH
//#define DEFAULT_SPH
#define GIZMO_SPH
//#define GIZMO_SPH
/* Riemann solver to use (GIZMO_SPH only) */
#define RIEMANN_SOLVER_EXACT
......@@ -90,9 +90,9 @@
#define const_gravity_eta 0.025f
/* External gravity properties */
//#define EXTERNAL_POTENTIAL_POINTMASS
#define EXTERNAL_POTENTIAL_POINTMASS
//#define EXTERNAL_POTENTIAL_ISOTHERMALPOTENTIAL
#define EXTERNAL_POTENTIAL_DISK_PATCH
//#define EXTERNAL_POTENTIAL_DISK_PATCH
/* Source terms */
#define SN_FEEDBACK
......
......@@ -66,7 +66,7 @@ enum engine_policy {
engine_policy_cosmology = (1 << 11),
engine_policy_drift_all = (1 << 12),
engine_policy_cooling = (1 << 13),
engine_policy_sourceterms = (1 << 12)
engine_policy_sourceterms = (1 << 14)
};
extern const char *engine_policy_names[];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment