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
e7abc42c
Commit
e7abc42c
authored
May 01, 2018
by
Matthieu Schaller
Browse files
change gear --> GEAR throughout the code.
parent
05903bd3
Changes
10
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
e7abc42c
...
...
@@ -48,7 +48,7 @@ AM_PROG_CC_C_O
# As an example for this, see the call to AC_ARG_WITH for cooling.
AC_ARG_WITH([subgrid],
[AS_HELP_STRING([--with-subgrid=<subgrid>],
[Master switch for subgrid methods. Inexperienced user should start from here @<:@none,
gear
, EAGLE default: none@:>@]
[Master switch for subgrid methods. Inexperienced user should start from here @<:@none,
GEAR
, EAGLE default: none@:>@]
)],
[with_subgrid="$withval"],
[with_subgrid=none]
...
...
@@ -65,9 +65,9 @@ case "$with_subgrid" in
;;
none)
;;
gear
)
GEAR
)
with_subgrid_cooling=grackle
with_subgrid_chemistry=
gear
with_subgrid_chemistry=
GEAR
with_subgrid_hydro=gadget2
;;
EAGLE)
...
...
@@ -1096,7 +1096,7 @@ esac
# chemistry function
AC_ARG_WITH([chemistry],
[AS_HELP_STRING([--with-chemistry=<function>],
[chemistry function @<:@none,
gear
, EAGLE default: none@:>@]
[chemistry function @<:@none,
GEAR
, EAGLE default: none@:>@]
)],
[with_chemistry="$withval"],
[with_chemistry="none"]
...
...
@@ -1114,7 +1114,7 @@ case "$with_chemistry" in
none)
AC_DEFINE([CHEMISTRY_NONE], [1], [No chemistry function])
;;
gear
)
GEAR
)
AC_DEFINE([CHEMISTRY_GEAR], [1], [Chemistry taken from the GEAR model])
;;
EAGLE)
...
...
src/Makefile.am
View file @
e7abc42c
...
...
@@ -131,10 +131,10 @@ nobase_noinst_HEADERS = align.h approx_math.h atomic.h barrier.h cycle.h error.h
chemistry/none/chemistry_io.h
\
chemistry/none/chemistry_struct.h
\
chemistry/none/chemistry_iact.h
\
chemistry/
gear
/chemistry.h
\
chemistry/
gear
/chemistry_io.h
\
chemistry/
gear
/chemistry_struct.h
\
chemistry/
gear
/chemistry_iact.h
\
chemistry/
GEAR
/chemistry.h
\
chemistry/
GEAR
/chemistry_io.h
\
chemistry/
GEAR
/chemistry_struct.h
\
chemistry/
GEAR
/chemistry_iact.h
\
chemistry/EAGLE/chemistry.h
\
chemistry/EAGLE/chemistry_io.h
\
chemistry/EAGLE/chemistry_struct.h
\
...
...
src/chemistry.h
View file @
e7abc42c
...
...
@@ -33,8 +33,8 @@
#include
"./chemistry/none/chemistry.h"
#include
"./chemistry/none/chemistry_iact.h"
#elif defined(CHEMISTRY_GEAR)
#include
"./chemistry/
gear
/chemistry.h"
#include
"./chemistry/
gear
/chemistry_iact.h"
#include
"./chemistry/
GEAR
/chemistry.h"
#include
"./chemistry/
GEAR
/chemistry_iact.h"
#elif defined(CHEMISTRY_EAGLE)
#include
"./chemistry/EAGLE/chemistry.h"
#include
"./chemistry/EAGLE/chemistry_iact.h"
...
...
src/chemistry/EAGLE/chemistry.h
View file @
e7abc42c
...
...
@@ -20,7 +20,7 @@
#define SWIFT_CHEMISTRY_EAGLE_H
/**
* @file src/chemistry/
gear
/chemistry.h
* @file src/chemistry/
EAGLE
/chemistry.h
* @brief Empty infrastructure for the cases without chemistry function
*/
...
...
src/chemistry/
gear
/chemistry.h
→
src/chemistry/
GEAR
/chemistry.h
View file @
e7abc42c
...
...
@@ -20,7 +20,7 @@
#define SWIFT_CHEMISTRY_GEAR_H
/**
* @file src/chemistry/
gear
/chemistry.h
* @file src/chemistry/
GEAR
/chemistry.h
* @brief Empty infrastructure for the cases without chemistry function
*/
...
...
src/chemistry/
gear
/chemistry_iact.h
→
src/chemistry/
GEAR
/chemistry_iact.h
View file @
e7abc42c
File moved
src/chemistry/
gear
/chemistry_io.h
→
src/chemistry/
GEAR
/chemistry_io.h
View file @
e7abc42c
File moved
src/chemistry/
gear
/chemistry_struct.h
→
src/chemistry/
GEAR
/chemistry_struct.h
View file @
e7abc42c
File moved
src/chemistry_io.h
View file @
e7abc42c
...
...
@@ -26,7 +26,7 @@
#if defined(CHEMISTRY_NONE)
#include
"./chemistry/none/chemistry_io.h"
#elif defined(CHEMISTRY_GEAR)
#include
"./chemistry/
gear
/chemistry_io.h"
#include
"./chemistry/
GEAR
/chemistry_io.h"
#elif defined(CHEMISTRY_EAGLE)
#include
"./chemistry/EAGLE/chemistry_io.h"
#else
...
...
src/chemistry_struct.h
View file @
e7abc42c
...
...
@@ -31,7 +31,7 @@
#if defined(CHEMISTRY_NONE)
#include
"./chemistry/none/chemistry_struct.h"
#elif defined(CHEMISTRY_GEAR)
#include
"./chemistry/
gear
/chemistry_struct.h"
#include
"./chemistry/
GEAR
/chemistry_struct.h"
#elif defined(CHEMISTRY_EAGLE)
#include
"./chemistry/EAGLE/chemistry_struct.h"
#else
...
...
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