MOAB: Mesh Oriented datABase  (version 5.3.0)
ParallelHelper.cpp File Reference
#include "ParallelHelper.hpp"
#include <mpi.h>
#include <cstdio>
#include <cassert>
#include <iostream>
#include <cstdlib>
#include <algorithm>
#include <ctime>
#include "MsqVertex.hpp"
#include "MsqError.hpp"
+ Include dependency graph for ParallelHelper.cpp:

Go to the source code of this file.

Classes

struct  MBMesquite::VertexPack

Namespaces

namespace  MBMesquite
 

Implements the NonSmoothDescent class member functions.


Defines

#define VERTEX_HEADER   1
#define VERTEX_BLOCK   1000
#define GHOST_NODE_INFO   2000
#define GHOST_NODE_VERTICES_WANTED   2001
#define GHOST_NODE_VERTEX_GIDS   2002
#define GHOST_NODE_VERTEX_UPDATES   2003
#define ARRPTR(x)   arrptr( x, true )
#define CHECK_MPI(RVAL, ERR)
#define CHECK_MPI_RZERO(RVAL, ERR)

Typedefs

typedef struct
MBMesquite::VertexPack 
MBMesquite::VertexPack

Functions

void MBMesquite::parallel_barrier ()
int MBMesquite::get_parallel_rank ()
int MBMesquite::get_parallel_size ()
double MBMesquite::reduce_parallel_max (double value)
static const char * MBMesquite::mpi_err_string (int error_code)
static bool MBMesquite::vertex_map_insert (VertexIdMap &map, size_t glob_id, int proc_id, int value)
static int MBMesquite::vertex_map_find (const VertexIdMap &map, size_t glob_id, int proc_id)
static void MBMesquite::my_quicksort (int *a, size_t *b, MBMesquite::Mesh::VertexHandle *c, int i, int j)
static int MBMesquite::hash6432shift (unsigned long long key)
static unsigned long long MBMesquite::hash64shift (unsigned long long key)
static double MBMesquite::generate_random_number (int generate_random_numbers, int proc_id, size_t glob_id)

Define Documentation

#define CHECK_MPI_RZERO (   RVAL,
  ERR 
)
#define GHOST_NODE_INFO   2000

Definition at line 17 of file ParallelHelper.cpp.

Referenced by MBMesquite::ParallelHelperImpl::smoothing_init().

#define GHOST_NODE_VERTEX_GIDS   2002

Definition at line 19 of file ParallelHelper.cpp.

Referenced by MBMesquite::ParallelHelperImpl::smoothing_init().

#define GHOST_NODE_VERTEX_UPDATES   2003

Definition at line 20 of file ParallelHelper.cpp.

Referenced by MBMesquite::ParallelHelperImpl::smoothing_close().

#define GHOST_NODE_VERTICES_WANTED   2001

Definition at line 18 of file ParallelHelper.cpp.

Referenced by MBMesquite::ParallelHelperImpl::smoothing_init().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines