ALL 0.9.3
A Loadbalacing Library
Loading...
Searching...
No Matches
ALL_Voronoi.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <mpi.h>
#include <ALL.hpp>
+ Include dependency graph for ALL_Voronoi.cpp:

Go to the source code of this file.

Macros

#define MPI_RUN_ORDER(comm, rank, max_ranks, fun)
 
#define MPI_RUN_ORDER_DEF(fun)
 

Functions

void convert_verts (std::vector< ALL::Point< double > > *vv, double *verts)
 
int main (int argc, char **argv)
 
void print_domain (int rank, double *verts)
 
void print_loc (int rank, int *loc, int *size)
 
void print_testing_output (int rank, std::vector< ALL::Point< double > > &vertices, int timestep)
 
void print_width (int rank, double width, double bottom, double top)
 
void print_work (int rank, double work)
 

Macro Definition Documentation

◆ MPI_RUN_ORDER

#define MPI_RUN_ORDER ( comm,
rank,
max_ranks,
fun )
Value:
{int MPI_RO_IT;\
for(MPI_RO_IT=0;MPI_RO_IT<max_ranks;MPI_RO_IT++)\
{\
if(MPI_RO_IT==rank)\
{\
fun;\
MPI_Barrier(comm);\
} else {\
MPI_Barrier(comm);\
}\
}\
}

Definition at line 44 of file ALL_Voronoi.cpp.

◆ MPI_RUN_ORDER_DEF

#define MPI_RUN_ORDER_DEF ( fun)
Value:
MPI_RUN_ORDER(MPI_COMM_WORLD, MyRank, MaximumRank, fun)
#define MPI_RUN_ORDER(comm, rank, max_ranks, fun)

Definition at line 59 of file ALL_Voronoi.cpp.

Function Documentation

◆ convert_verts()

void convert_verts ( std::vector< ALL::Point< double > > * vv,
double * verts )

Definition at line 108 of file ALL_Voronoi.cpp.

+ Here is the caller graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 118 of file ALL_Voronoi.cpp.

+ Here is the call graph for this function:

◆ print_domain()

void print_domain ( int rank,
double * verts )

Definition at line 95 of file ALL_Voronoi.cpp.

+ Here is the caller graph for this function:

◆ print_loc()

void print_loc ( int rank,
int * loc,
int * size )

Definition at line 89 of file ALL_Voronoi.cpp.

+ Here is the caller graph for this function:

◆ print_testing_output()

void print_testing_output ( int rank,
std::vector< ALL::Point< double > > & vertices,
int timestep )

Definition at line 67 of file ALL_Voronoi.cpp.

+ Here is the caller graph for this function:

◆ print_width()

void print_width ( int rank,
double width,
double bottom,
double top )

Definition at line 61 of file ALL_Voronoi.cpp.

◆ print_work()

void print_work ( int rank,
double work )

Definition at line 102 of file ALL_Voronoi.cpp.

+ Here is the caller graph for this function: