Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
ad684649
Commit
ad684649
authored
Aug 09, 2016
by
Matthieu Schaller
Browse files
Default to 3D hydrodyamics
parent
f8b5a684
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/const.h
View file @
ad684649
...
...
@@ -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. */
...
...
src/equation_of_state.h
View file @
ad684649
...
...
@@ -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"
...
...
tests/test125cells.c
View file @
ad684649
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment