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

Default to 3D hydrodyamics

parent f8b5a684
No related branches found
No related tags found
1 merge request!216Hydrodynamics in 2D + New test cases
......@@ -37,8 +37,8 @@
#define const_max_u_change 0.1f
/* 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. */
......
......@@ -19,6 +19,13 @@
#ifndef SWIFT_EQUATION_OF_STATE_H
#define SWIFT_EQUATION_OF_STATE_H
/**
* @file equation_of_state.h
* @brief Defines the equation of state of the gas we simulate in the form of
* relations between thermodynamic quantities. These are later used internally
* by all hydro schemes
*/
/* Config parameters. */
#include "../config.h"
......
......@@ -465,7 +465,7 @@ int main(int argc, char *argv[]) {
message("test125cells only useful in 3D. Change parameters in const.h !");
return 1;
#endif
/* Build the infrastructure */
struct space space;
space.periodic = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment