ALL 0.9.3
A Loadbalacing Library
Loading...
Searching...
No Matches
ALL_test.cpp File Reference
#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>
+ Include dependency graph for ALL_test.cpp:

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)
 

Macro Definition Documentation

◆ ALL_HISTOGRAM_DEFAULT_WIDTH

#define ALL_HISTOGRAM_DEFAULT_WIDTH   1.0

Definition at line 65 of file ALL_test.cpp.

◆ ALL_VORONOI_PREP_STEPS

#define ALL_VORONOI_PREP_STEPS   50

Definition at line 68 of file ALL_test.cpp.

◆ BOX_SIZE

#define BOX_SIZE   300.0

Definition at line 58 of file ALL_test.cpp.

◆ MAX_NEIG

#define MAX_NEIG   1024

Definition at line 64 of file ALL_test.cpp.

◆ N_GENERATE

#define N_GENERATE   1000

Definition at line 60 of file ALL_test.cpp.

◆ N_LOOP

#define N_LOOP   500

Definition at line 62 of file ALL_test.cpp.

◆ N_PARTICLES

#define N_PARTICLES   2080

Definition at line 59 of file ALL_test.cpp.

◆ OUTPUT_INTV

#define OUTPUT_INTV   1

Definition at line 63 of file ALL_test.cpp.

◆ SEED

#define SEED   123789456u

Definition at line 61 of file ALL_test.cpp.

Function Documentation

◆ generate_points()

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 )

Definition at line 71 of file ALL_test.cpp.

+ Here is the caller graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 286 of file ALL_test.cpp.

+ Here is the call graph for this function:

◆ print_points()

void print_points ( std::vector< ALL::Point< double > > plist,
int step,
ALL::LB_t method,
MPI_Comm comm )

Definition at line 211 of file ALL_test.cpp.

+ Here is the caller graph for this function:

◆ read_points()

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 )

Definition at line 125 of file ALL_test.cpp.

+ Here is the caller graph for this function: