Commit de801403 authored by snuverink_j's avatar snuverink_j
Browse files

replace remaining include math.h with cmath

parent 631b616b
......@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <math.h>
#include <cmath>
#include "gsl/gsl_sf_gamma.h"
#include "gsl/gsl_sf_pow_int.h"
......
......@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <math.h>
#include <cmath>
#include "gsl/gsl_sf_gamma.h"
#include "gsl/gsl_sf_pow_int.h"
......
......@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <math.h>
#include <cmath>
#include <iomanip>
#include "Utilities/OpalException.h"
#include "Fields/Interpolation/Mesh.h"
......
......@@ -25,11 +25,11 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <math.h>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <sstream>
#include <algorithm>
#include "gsl/gsl_sf_gamma.h"
......
......@@ -2,7 +2,7 @@
#include "Interface/Mesh.hh"
#include "Utils/Exception.hh"
#include <iomanip>
#include <math.h>
#include <cmath>
/////// TwoDGrid ///////
TwoDGrid::TwoDGrid() : _x(2,0), _y(2,0), _xSize(2), _ySize(2), _maps(), _constantSpacing(false)
......
......@@ -2,10 +2,10 @@
#ifndef Mesh_hh
#define Mesh_hh
#include <vector>
#include <algorithm>
#include <math.h>
#include <cmath>
#include <ostream>
#include <vector>
#include "src/legacy/Interface/Meshing/Mesh.hh"
#include "src/legacy/Interface/Meshing/ThreeDGrid.hh"
......
......@@ -27,11 +27,11 @@
#include "Fields/SectorField.h"
#include <math.h>
#include <algorithm>
#include <cmath>
#include <limits>
#include <string>
#include <vector>
#include <algorithm>
#include "Utilities/LogicalError.h"
......
......@@ -39,13 +39,12 @@
#include "Utilities/LogicalError.h"
#include <math.h>
#include <algorithm>
#include <vector>
#include <iostream>
#include <cmath>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
using namespace interpolation;
......
......@@ -33,8 +33,6 @@
#include <tuple>
#include <assert.h>
#include <math.h>
ArbitraryDomain::ArbitraryDomain( BoundaryGeometry * bgeom,
Vector_t nr,
Vector_t /*hr*/,
......
......@@ -163,7 +163,7 @@ static void write_voxel_mesh (
*/
#include <math.h>
#include <cmath>
#define LERP( A, B, C) ((B)+(A)*((C)-(B)))
......
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