Go to the documentation of this file.
18 #ifndef __ESCRIPT_DISTRIBUTION_H__
19 #define __ESCRIPT_DISTRIBUTION_H__
21 #include <escript/DataTypes.h>
39 for (
int i = 0; i <
mpi_info->size+1; ++i)
79 #endif // __ESCRIPT_DISTRIBUTION_H__
DataTypes::dim_t getGlobalNumComponents() const
Definition: Distribution.h:53
boost::shared_ptr< Distribution > Distribution_ptr
Definition: Distribution.h:25
DataTypes::dim_t getMyNumComponents() const
Definition: Distribution.h:58
DataTypes::IndexVector first_component
Definition: Distribution.h:73
Distribution(JMPI mpiInfo, const DataTypes::IndexVector &firstComponent, DataTypes::index_t m=1, DataTypes::index_t b=0)
Definition: Distribution.h:34
DataTypes::dim_t getMinGlobalComponents() const
Definition: Distribution.h:63
Definition: Distribution.h:33
index_t dim_t
Definition: DataTypes.h:65
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:72
DataTypes::index_t getFirstComponent() const
Definition: Distribution.h:43
boost::shared_ptr< const Distribution > const_Distribution_ptr
Definition: Distribution.h:27
DataTypes::index_t getLastComponent() const
Definition: Distribution.h:48
DataTypes::dim_t getMaxGlobalComponents() const
Definition: Distribution.h:68
JMPI mpi_info
Definition: Distribution.h:74
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:60
Definition: AbstractContinuousDomain.cpp:23
std::vector< index_t > IndexVector
Definition: DataTypes.h:63