6 #ifndef MESHPOINTSMPI_HPP 7 #define MESHPOINTSMPI_HPP 1 9 #define _USE_MATH_DEFINES 10 #include <boost/random/mersenne_twister.hpp> 11 #include <boost/random/uniform_real_distribution.hpp> 12 #include "../tessellation/ConvexHull.hpp" 13 #include "../tessellation/VoronoiMesh.hpp" 14 #include "../misc/utils.hpp" 56 double xc,
double yc,
double alpha,
Tessellation const& tess);
81 #endif //MESHPOINTSMPI_HPP vector< Vector2D > CirclePointsRmaxM(int PointNum, double Rmin, double Rmax, Vector2D const &bottomleft, Vector2D const &topright, Tessellation const &tess, double xc=0, double yc=0)
Generates a round grid with constant point density.
vector< Vector2D > SquareMeshM(int nx, int ny, Tessellation const &tess, Vector2D const &lower_left, Vector2D const &upper_right)
Creates a cartesian mesh for MPI.
Abstract class for tessellation.
vector< Vector2D > CirclePointsRmax_aM(int PointNum, double Rmin, double Rmax, double xc, double yc, double alpha, Tessellation const &tess)
Generates a round grid with r^alpha point density.
vector< Vector2D > circle_circumferenceM(int point_number, double radius, Vector2D const ¢er, Tessellation const &tproc)
Creates a circle of evenly spaced points.
vector< Vector2D > RandSquare(int npoints, Tessellation const &tess, Vector2D const &lowerleft, Vector2D const &upperright)
Creates a uniform random mesh for MPI.