|
ALL 0.9.4
A Loadbalacing Library
|
#include "ALL.hpp"#include "ALL_CustomExceptions.hpp"#include "ALL_Point.hpp"#include <cmath>#include <exception>#include <fstream>#include <iomanip>#include <iostream>#include <random>#include <sstream>#include <stdlib.h>#include <string>#include <vector>#include <vtkCellArray.h>#include <vtkCellLocator.h>#include <vtkPointData.h>#include <vtkPoints.h>#include <vtkPolyData.h>#include <vtkSmartPointer.h>#include <vtkVersion.h>#include <vtkXMLPPolyDataWriter.h>#include <vtkXMLPolyDataWriter.h>Go to the source code of this file.
Macros | |
| #define | ALL_HISTOGRAM_DEFAULT_WIDTH 1.0 |
| #define | ALL_VORONOI_PREP_STEPS 50 |
| #define | BOX_SIZE 300.0 |
| #define | MAX_NEIG 1024 |
| #define | N_GENERATE 1000 |
| #define | N_LOOP 500 |
| #define | N_PARTICLES 2080 |
| #define | OUTPUT_INTV 1 |
| #define | SEED 123789456u |
Functions | |
| void | generate_points (std::vector< ALL::Point< double > > &points, std::vector< double > l, std::vector< double > u, int *lcoords, int *gcoords, int dimension, int &n, int rank) |
| int | main (int argc, char **argv) |
| void | print_points (std::vector< ALL::Point< double > > plist, int step, ALL::LB_t method, MPI_Comm comm) |
| void | read_points (std::vector< ALL::Point< double > > &points, std::vector< double > l, std::vector< double > u, int &n_points, char *filename, int dimension, int rank, MPI_Comm comm) |
| #define ALL_HISTOGRAM_DEFAULT_WIDTH 1.0 |
Definition at line 65 of file ALL_test.cpp.
| #define ALL_VORONOI_PREP_STEPS 50 |
Definition at line 68 of file ALL_test.cpp.
| #define BOX_SIZE 300.0 |
Definition at line 58 of file ALL_test.cpp.
| #define MAX_NEIG 1024 |
Definition at line 64 of file ALL_test.cpp.
| #define N_GENERATE 1000 |
Definition at line 60 of file ALL_test.cpp.
| #define N_LOOP 500 |
Definition at line 62 of file ALL_test.cpp.
| #define N_PARTICLES 2080 |
Definition at line 59 of file ALL_test.cpp.
| #define OUTPUT_INTV 1 |
Definition at line 63 of file ALL_test.cpp.
| #define SEED 123789456u |
Definition at line 61 of file ALL_test.cpp.
| void generate_points | ( | std::vector< ALL::Point< double > > & | points, |
| std::vector< double > | l, | ||
| std::vector< double > | u, | ||
| int * | lcoords, | ||
| int * | gcoords, | ||
| int | dimension, | ||
| int & | n, | ||
| int | rank ) |
| int main | ( | int | argc, |
| char ** | argv ) |
| void print_points | ( | std::vector< ALL::Point< double > > | plist, |
| int | step, | ||
| ALL::LB_t | method, | ||
| MPI_Comm | comm ) |
| void read_points | ( | std::vector< ALL::Point< double > > & | points, |
| std::vector< double > | l, | ||
| std::vector< double > | u, | ||
| int & | n_points, | ||
| char * | filename, | ||
| int | dimension, | ||
| int | rank, | ||
| MPI_Comm | comm ) |