Commit a8969b30 authored by gsell's avatar gsell
Browse files

Merge branch '440-cleanup-remove-ippl_use_standard_headers' into 'master'

Resolve "cleanup: remove IPPL_USE_STANDARD_HEADERS"

Closes #440

See merge request !252
parents a34a9f1a 5b03e524
......@@ -27,12 +27,7 @@
#include "Ippl.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <complex>
using namespace std;
#else
#include <complex.h>
#endif
enum TestCases {test1,test2};
......
......@@ -30,12 +30,7 @@
#include "Ippl.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <complex>
using namespace std;
#else
#include <complex.h>
#endif
#define THREED
......
......@@ -24,12 +24,7 @@
#include "Ippl.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <complex>
using namespace std;
#else
#include <complex.h>
#endif
int main(int argc, char *argv[])
{
......
......@@ -14,12 +14,7 @@
#include "Ippl.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <complex>
using namespace std;
#else
#include <complex.h>
#endif
#ifdef IPPL_DKS
#include "DKSOPAL.h"
......
......@@ -44,12 +44,7 @@
#include "Ippl.h"
#include "Clock.h" // Borrowed from IPPL 2.
#ifdef IPPL_USE_STANDARD_HEADERS
#include <iostream>
using namespace std;
#else
#include <iostream>
#endif
#include <stdio.h>
......
......@@ -47,14 +47,8 @@
#include "Utility/ParticleDebug.h"
#include "Utility/FieldDebug.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <iostream>
#include <fstream>
using namespace std;
#else
#include <iostream>
#include <fstream>
#endif
//-----------------------------------------------------------------------------
// Simple user Particles class definition
......
......@@ -52,12 +52,7 @@
#include "Utility/ParticleDebug.h"
#include "Utility/FieldDebug.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <iostream>
using namespace std;
#else
#include <iostream>
#endif
//-----------------------------------------------------------------------------
// Simple user Particles class definition
......@@ -246,4 +241,4 @@ int main(int argc, char *argv[])
* $RCSfile: TestParticleDebugParallel.cpp,v $ $Author: adelmann $
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:39 $
* IPPL_VERSION_ID: $Id: TestParticleDebugParallel.cpp,v 1.1.1.1 2003/01/23 07:40:39 adelmann Exp $
***************************************************************************/
\ No newline at end of file
***************************************************************************/
......@@ -30,12 +30,7 @@
#include "Ippl.h"
#include "Utility/FieldDebug.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <fstream>
using namespace std;
#else
#include <fstream>
#endif
typedef ParticleSpatialLayout<double,3>::SingleParticlePos_t Vector_t;
......
......@@ -33,12 +33,7 @@
#include "Field/BCond.h"
#include "Meshes/UniformCartesian.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <iostream>
using namespace std;
#else
#include <iostream>
#endif
// define helper print function
void printout(Field<double,2>& A)
......
......@@ -36,12 +36,7 @@
#include "Meshes/UniformCartesian.h"
#include "AppTypes/Vektor.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <iostream>
using namespace std;
#else
#include <iostream>
#endif
// set dimensionality
const unsigned Dim=2;
......
......@@ -33,12 +33,7 @@
#include "Field/BCond.h"
#include "Meshes/UniformCartesian.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <iostream>
using namespace std;
#else
#include <iostream>
#endif
//
// Print out an array including the guard cells.
......
......@@ -32,14 +32,8 @@
#include "Meshes/UniformCartesian.h"
#include "Message/Communicate.h"
#ifdef IPPL_USE_STANDARD_HEADERS
#include <iostream>
#include <fstream>
using namespace std;
#else
#include <iostream>
#include <fstream>
#endif
#include <stdlib.h>
#include <stdio.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment