Commits

Matthew Turk committed 15e9d9b

Switching a few routines to preincludes.h to ease development.

Comments (0)

Files changed (7)

src/enzo/ClusterInitialize.C

 // This routine intializes a new simulation based on the parameter file.
 //
 
-#include <string.h>
-#include <stdio.h>
-#include <math.h>
+#include "preincludes.h"
 #include "macros_and_parameters.h"
 #include "typedefs.h"
 #include "global_data.h"

src/enzo/CommunicationMergeStarParticle.C

 #ifdef USE_MPI
 #include "mpi.h"
 #endif /* USE_MPI */
-#include <stdio.h>
-#include <map>
-#include <string>
-#include <math.h>
+#include "preincludes.h"
 #include "macros_and_parameters.h"
 #include "typedefs.h"
 #include "global_data.h"

src/enzo/DetermineParallelism.C

 #include "mpi.h"
 #endif /* USE_MPI */
 
-#include <stdio.h>
-#include <map>
-#include <string>
-#include <math.h>
+#include "preincludes.h"
 
 /* Original includes for Enzo */
 #include "macros_and_parameters.h"

src/enzo/Grid_ClusterInitializeGrid.C

 /
 ************************************************************************/
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <math.h>
+#include "preincludes.h"
 #include "macros_and_parameters.h"
 #include "typedefs.h"
 #include "global_data.h"

src/enzo/Grid_RHIonizationSteepInitializeGrid.C

 /
 ************************************************************************/
 
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <math.h>
-#include "ErrorExceptions.h"
+#include "preincludes.h"
 #include "macros_and_parameters.h"
 #include "typedefs.h"
 #include "global_data.h"

src/enzo/HydroShockTubesInitialize.C

-#include <string.h>
-#include <stdio.h>
-#include <math.h>
+#include "preincludes.h"
 #include "macros_and_parameters.h"
 #include "typedefs.h"
 #include "global_data.h"

src/enzo/hydro_rk/TurbulenceInitialize.C

 #include <mpi.h>
 #endif /* USE_MPI */
 
-#include <stdio.h>
-#include <map>
-#include <string>
-#include <math.h>
+#include "preincludes.h"
 #include "macros_and_parameters.h"
 #include "typedefs.h"
 #include "global_data.h"