Commit 40ed5118 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Remove recursive inclusions

parent 5314a4df
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
/*! \file cluster.cpp
 */
#include <cstdio>
#include <fstream>
#include <string>
#include <complex>

#ifndef INCLUDE_CONFIGURATION_H_
#include <exception>
#include "../include/Configuration.h"
#endif

#ifndef INCLUDE_COMMONS_H_
#include "../include/Commons.h"
#endif

#ifndef INCLUDE_SPH_SUBS_H_
#include "../include/sph_subs.h"
#endif

#ifndef INCLUDE_CLU_SUBS_H_
#include "../include/clu_subs.h"
#endif
+2 −0
Original line number Diff line number Diff line
@@ -2,7 +2,9 @@
 */

#include <cstdio>
#include <complex>
#include <string>

#ifndef INCLUDE_CONFIGURATION_H_
#include "../include/Configuration.h"
#endif
+2 −4
Original line number Diff line number Diff line
@@ -14,10 +14,8 @@
 *
 */

#ifndef INCLUDE_COMMONS_
#define INCLUDE_COMMONS_

#include <complex>
#ifndef INCLUDE_COMMONS_H_
#define INCLUDE_COMMONS_H_

/*! \brief Representation of the FORTRAN C1 common blocks.
 *
+0 −4
Original line number Diff line number Diff line
@@ -4,10 +4,6 @@
#ifndef INCLUDE_CONFIGURATION_H_
#define INCLUDE_CONFIGURATION_H_

#include <complex>
#include <exception>
#include <string>

/**
 * \brief Exception for open file error handlers.
 */
+0 −3
Original line number Diff line number Diff line
@@ -4,9 +4,6 @@
#ifndef INCLUDE_LIST_H_
#define INCLUDE_LIST_H_

#include <exception>
#include <string>

/**
 * \brief Exception for out of bounds List requests.
 */
Loading