escript
Revision_4925
|
describes the distribution of a vector stored on the local process More...
#include <Distribution.h>
Public Member Functions | |
Distribution (Esys_MPIInfo *mpiInfo, const index_t *firstComponent, index_t m, index_t b) | |
~Distribution () | |
index_t | getFirstComponent () const |
index_t | getLastComponent () const |
dim_t | getGlobalNumComponents () const |
dim_t | getMyNumComponents () const |
dim_t | getMinGlobalComponents () const |
dim_t | getMaxGlobalComponents () const |
dim_t | numPositives (const double *x, dim_t block) const |
double * | createRandomVector (dim_t block) const |
Public Attributes | |
index_t * | first_component |
dim_t | reference_counter |
Esys_MPIInfo * | mpi_info |
Static Public Attributes | |
static double | random_seed = .4142135623730951 |
describes the distribution of a vector stored on the local process
|
inline |
References Esys_MPIInfo_getReference(), first_component, mpi_info, and Esys_MPIInfo::size.
|
inline |
References Esys_MPIInfo_free(), first_component, and mpi_info.
|
inline |
References getFirstComponent(), getGlobalNumComponents(), getLastComponent(), and random_seed.
|
inline |
References first_component, mpi_info, and Esys_MPIInfo::rank.
Referenced by createRandomVector(), and getMyNumComponents().
|
inline |
References getMaxGlobalComponents(), and getMinGlobalComponents().
Referenced by createRandomVector().
|
inline |
References first_component, mpi_info, and Esys_MPIInfo::rank.
Referenced by createRandomVector(), and getMyNumComponents().
|
inline |
References first_component, mpi_info, and Esys_MPIInfo::size.
Referenced by getGlobalNumComponents().
|
inline |
References first_component.
Referenced by getGlobalNumComponents().
|
inline |
References getFirstComponent(), and getLastComponent().
Referenced by numPositives().
References Esys_MPIInfo::comm, getMyNumComponents(), mpi_info, MPI_INT, and paso::util::numPositives().
index_t* paso::Distribution::first_component |
Referenced by Distribution(), getFirstComponent(), getLastComponent(), getMaxGlobalComponents(), getMinGlobalComponents(), and ~Distribution().
Esys_MPIInfo* paso::Distribution::mpi_info |
Referenced by Distribution(), getFirstComponent(), getLastComponent(), getMaxGlobalComponents(), numPositives(), and ~Distribution().
|
static |
Referenced by createRandomVector().
dim_t paso::Distribution::reference_counter |