convert atc library header files to C++ style
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
|
|
||||||
// for macros
|
// for macros
|
||||||
#include "MatrixDef.h"
|
#include "MatrixDef.h"
|
||||||
|
|||||||
@ -2,10 +2,9 @@
|
|||||||
#define ARRAY2D_H
|
#define ARRAY2D_H
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cstdlib>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#include "Array.h"
|
#include "Array.h"
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
|
|
||||||
using ATC_Utility::command_line;
|
using ATC_Utility::command_line;
|
||||||
using ATC_Utility::str2dbl;
|
using ATC_Utility::str2dbl;
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
#include "Utility.h"
|
#include "Utility.h"
|
||||||
|
|
||||||
// Other headers
|
// Other headers
|
||||||
#include "math.h"
|
#include <cmath>
|
||||||
|
|
||||||
using ATC_Utility::dbl_geq;
|
using ATC_Utility::dbl_geq;
|
||||||
using ATC_Utility::det3;
|
using ATC_Utility::det3;
|
||||||
|
|||||||
@ -7,8 +7,8 @@
|
|||||||
#include "KernelFunction.h"
|
#include "KernelFunction.h"
|
||||||
#include "Utility.h"
|
#include "Utility.h"
|
||||||
#include "MPI_Wrappers.h"
|
#include "MPI_Wrappers.h"
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
#include "FE_Quadrature.h"
|
#include "FE_Quadrature.h"
|
||||||
|
|
||||||
// Other headers
|
// Other headers
|
||||||
#include "math.h"
|
#include <cmath>
|
||||||
|
|
||||||
using std::map;
|
using std::map;
|
||||||
using std::vector;
|
using std::vector;
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
#include "OutputManager.h"
|
#include "OutputManager.h"
|
||||||
#include "Utility.h"
|
#include "Utility.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <assert.h>
|
#include <cassert>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <float.h>
|
#include <cfloat>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "mpi.h"
|
#include "mpi.h"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#ifndef XT_FUNCTION_H
|
#ifndef XT_FUNCTION_H
|
||||||
#define XT_FUNCTION_H
|
#define XT_FUNCTION_H
|
||||||
|
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
//
|
//
|
||||||
//*****************************************************************
|
//*****************************************************************
|
||||||
|
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
|
|
||||||
|
|
||||||
template<class Real>
|
template<class Real>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#include "KD_Tree.h"
|
#include "KD_Tree.h"
|
||||||
#include <assert.h>
|
#include <cassert>
|
||||||
|
|
||||||
using std::vector;
|
using std::vector;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
#include "Array2D.h"
|
#include "Array2D.h"
|
||||||
#include "MatrixDef.h"
|
#include "MatrixDef.h"
|
||||||
#include "MatrixLibrary.h"
|
#include "MatrixLibrary.h"
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#include "KernelFunction.h"
|
#include "KernelFunction.h"
|
||||||
#include "math.h"
|
#include <cmath>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "ATC_Error.h"
|
#include "ATC_Error.h"
|
||||||
#include "Quadrature.h"
|
#include "Quadrature.h"
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
#define LAMMPS_INTERFACE_H
|
#define LAMMPS_INTERFACE_H
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "OutputManager.h"
|
#include "OutputManager.h"
|
||||||
#include "ATC_Error.h"
|
#include "ATC_Error.h"
|
||||||
|
|||||||
@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
#include "DependencyManager.h"
|
#include "DependencyManager.h"
|
||||||
#include "PaqAtcUtility.h"
|
#include "PaqAtcUtility.h"
|
||||||
#include <map.h>
|
#include <map>
|
||||||
#include <vector.h>
|
#include <vector>
|
||||||
#include <set.h>
|
#include <set>
|
||||||
#include <pair.h>
|
#include <pair>
|
||||||
|
|
||||||
namespace ATC {
|
namespace ATC {
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "math.h"
|
#include <cmath>
|
||||||
|
|
||||||
#include "ATC_Error.h"
|
#include "ATC_Error.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user