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

Correct header guards and remove unnecessary includes.

parent d1f4ff4d
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
******************************************************************************/ ******************************************************************************/
/* Config parameters. */ /* Config parameters. */
#ifndef SWIFT_EAGLE_COOLING_RATES_H
#define SWIFT_EAGLE_COOLING_RATES_H
#include "../config.h" #include "../config.h"
/* Local includes. */ /* Local includes. */
...@@ -714,3 +717,5 @@ INLINE static double eagle_cooling_rate( ...@@ -714,3 +717,5 @@ INLINE static double eagle_cooling_rate(
d_He, cooling, dLambdaNet_du, d_He, cooling, dLambdaNet_du,
/*element_lambda=*/NULL); /*element_lambda=*/NULL);
} }
#endif /* SWIFT_EAGLE_COOLING_RATES_H */
...@@ -27,23 +27,12 @@ ...@@ -27,23 +27,12 @@
/* Config parameters. */ /* Config parameters. */
#include "../config.h" #include "../config.h"
/* Some standard headers. */
#include <float.h>
#include <hdf5.h>
#include <math.h>
#include <time.h>
/* Local includes. */ /* Local includes. */
#include "chemistry.h" #include "align.h"
#include "cooling_struct.h" #include "cooling_struct.h"
#include "eagle_cool_tables.h" #include "eagle_cool_tables.h"
#include "error.h" #include "error.h"
#include "hydro.h" #include "inline.h"
#include "io_properties.h"
#include "parser.h"
#include "part.h"
#include "physical_constants.h"
#include "units.h"
/** /**
* @brief Returns the 1d index of element with 2d indices x,y * @brief Returns the 1d index of element with 2d indices x,y
......
...@@ -16,15 +16,10 @@ ...@@ -16,15 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
******************************************************************************/ ******************************************************************************/
#include "../config.h"
#include <unistd.h> /* Local headers. */
#include "cooling.h"
#include "cooling/EAGLE/interpolate.h"
#include "cooling_struct.h"
#include "hydro.h"
#include "physical_constants.h"
#include "swift.h" #include "swift.h"
#include "units.h"
#if 0 #if 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment