escript  Revision_
Public Member Functions | Public Attributes | Static Public Attributes
paso::Distribution Struct Reference

describes the distribution of a vector stored on the local process More...

#include <Distribution.h>

List of all members.

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_tfirst_component
dim_t reference_counter
Esys_MPIInfompi_info

Static Public Attributes

static double random_seed = .4142135623730951

Detailed Description

describes the distribution of a vector stored on the local process


Constructor & Destructor Documentation

paso::Distribution::Distribution ( Esys_MPIInfo mpiInfo,
const index_t firstComponent,
index_t  m,
index_t  b 
) [inline]

Member Function Documentation

double* paso::Distribution::createRandomVector ( dim_t  block) const [inline]

References first_component.

Referenced by getGlobalNumComponents().

References getFirstComponent(), and getLastComponent().

Referenced by numPositives().

dim_t paso::Distribution::numPositives ( const double *  x,
dim_t  block 
) const [inline]

Member Data Documentation

double paso::Distribution::random_seed = .4142135623730951 [static]

Referenced by createRandomVector().


The documentation for this struct was generated from the following files: