#include <stdlib.h>
#include <stdio.h>
#include <fstream>
#include <iostream>
#include <mpi.h>
#include <ALL.hpp>
Go to the source code of this file.
|
| void | convert_verts (std::vector< ALL::Point< double > > *vv, double *verts) |
| int | main (int argc, char **argv) |
| void | print_binary (int step, int rank, double work, std::vector< ALL::Point< double > > &vertices, int *loc, int *size, MPI_File fh) |
| 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) |
◆ 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 52 of file ALL_Tensor.cpp.
◆ MPI_RUN_ORDER_DEF
| #define MPI_RUN_ORDER_DEF |
( |
| fun | ) |
|
Value:
#define MPI_RUN_ORDER(comm, rank, max_ranks, fun)
Definition at line 71 of file ALL_Tensor.cpp.
◆ convert_verts()
| void convert_verts |
( |
std::vector< ALL::Point< double > > * | vv, |
|
|
double * | verts ) |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
◆ print_binary()
| void print_binary |
( |
int | step, |
|
|
int | rank, |
|
|
double | work, |
|
|
std::vector< ALL::Point< double > > & | vertices, |
|
|
int * | loc, |
|
|
int * | size, |
|
|
MPI_File | fh ) |
◆ print_domain()
| void print_domain |
( |
int | rank, |
|
|
double * | verts ) |
◆ print_loc()
| void print_loc |
( |
int | rank, |
|
|
int * | loc, |
|
|
int * | size ) |
◆ print_testing_output()
| void print_testing_output |
( |
int | rank, |
|
|
std::vector< ALL::Point< double > > & | vertices, |
|
|
int | timestep ) |
◆ print_width()
| void print_width |
( |
int | rank, |
|
|
double | width, |
|
|
double | bottom, |
|
|
double | top ) |
◆ print_work()
| void print_work |
( |
int | rank, |
|
|
double | work ) |