Go to the documentation of this file.
17 #ifndef __ESCRIPT_DISTRIBUTION_H__
18 #define __ESCRIPT_DISTRIBUTION_H__
20 #include <escript/DataTypes.h>
38 for (
int i = 0; i <
mpi_info->size+1; ++i)
78 #endif // __ESCRIPT_DISTRIBUTION_H__
DataTypes::dim_t getGlobalNumComponents() const
Definition: Distribution.h:63
boost::shared_ptr< Distribution > Distribution_ptr
Definition: Distribution.h:35
DataTypes::dim_t getMyNumComponents() const
Definition: Distribution.h:68
DataTypes::IndexVector first_component
Definition: Distribution.h:83
Distribution(JMPI mpiInfo, const DataTypes::IndexVector &firstComponent, DataTypes::index_t m=1, DataTypes::index_t b=0)
Definition: Distribution.h:44
DataTypes::dim_t getMinGlobalComponents() const
Definition: Distribution.h:73
index_t dim_t
Definition: DataTypes.h:87
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:70
DataTypes::index_t getFirstComponent() const
Definition: Distribution.h:53
boost::shared_ptr< const Distribution > const_Distribution_ptr
Definition: Distribution.h:37
DataTypes::index_t getLastComponent() const
Definition: Distribution.h:58
DataTypes::dim_t getMaxGlobalComponents() const
Definition: Distribution.h:78
JMPI mpi_info
Definition: Distribution.h:84
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:82
Definition: AbstractContinuousDomain.cpp:22
std::vector< index_t > IndexVector
Definition: DataTypes.h:85