#include <MPIDataReducer.h>
◆ MPIDataReducer()
escript::MPIDataReducer::MPIDataReducer |
( |
MPI_Op | op | ) |
|
◆ ~MPIDataReducer()
escript::MPIDataReducer::~MPIDataReducer |
( |
| ) |
|
|
inline |
◆ canClash()
bool escript::MPIDataReducer::canClash |
( |
| ) |
|
|
virtual |
◆ checkRemoteCompatibility()
bool escript::MPIDataReducer::checkRemoteCompatibility |
( |
JMPI & | mpi_info, |
|
|
std::string & | errstring ) |
|
virtual |
◆ copyValueFrom()
void escript::MPIDataReducer::copyValueFrom |
( |
boost::shared_ptr< AbstractReducer > & | src | ) |
|
|
virtual |
◆ description()
std::string escript::MPIDataReducer::description |
( |
| ) |
|
|
virtual |
◆ getCompatibilityInfo()
void escript::MPIDataReducer::getCompatibilityInfo |
( |
std::vector< unsigned > & | params | ) |
|
References escript::Data::getDataPointShape(), escript::Data::getFunctionSpace(), escript::Data::getNumberOfTaggedValues(), escript::FunctionSpace::getTypeCode(), escript::Data::isComplex(), escript::Data::isConstant(), escript::Data::isExpanded(), escript::Data::isTagged(), value, and escript::AbstractReducer::valueadded.
Referenced by checkRemoteCompatibility(), groupSend(), and sendTo().
◆ getPyObj()
boost::python::object escript::MPIDataReducer::getPyObj |
( |
| ) |
|
|
virtual |
◆ groupReduce()
bool escript::MPIDataReducer::groupReduce |
( |
MPI_Comm & | com, |
|
|
char | mystate ) |
◆ groupSend()
bool escript::MPIDataReducer::groupSend |
( |
MPI_Comm & | com, |
|
|
bool | imsending ) |
References escript::Data::complicate(), dom, getCompatibilityInfo(), escript::Data::getDataRO(), escript::Data::getExpandedVectorReference(), escript::Data::getLength(), escript::Data::isComplex(), escript::Data::isLazy(), MPI_DOUBLE, escript::DataTypes::noValues(), escript::Data::resolve(), escript::Data::setTaggedValueFromCPP(), escript::Data::tag(), value, and escript::AbstractReducer::valueadded.
◆ newRunJobs()
void escript::MPIDataReducer::newRunJobs |
( |
| ) |
|
|
virtual |
◆ recvFrom()
bool escript::MPIDataReducer::recvFrom |
( |
int | localid, |
|
|
int | source, |
|
|
JMPI & | mpiinfo ) |
|
virtual |
◆ reduceLocalValue()
bool escript::MPIDataReducer::reduceLocalValue |
( |
boost::python::object | v, |
|
|
std::string & | errstring ) |
|
virtual |
Implements escript::AbstractReducer.
References dom, escript::Data::expand(), escript::Data::getDomain(), escript::Data::getFunctionSpace(), had_an_export_this_round, escript::Data::isEmpty(), MPI_OP_NULL, reduceop, reset(), value, and escript::AbstractReducer::valueadded.
◆ reduceRemoteValues()
bool escript::MPIDataReducer::reduceRemoteValues |
( |
MPI_Comm & | com | ) |
|
|
virtual |
◆ reset()
void escript::MPIDataReducer::reset |
( |
| ) |
|
|
virtual |
◆ sendTo()
bool escript::MPIDataReducer::sendTo |
( |
int | localid, |
|
|
int | target, |
|
|
JMPI & | mpiinfo ) |
|
virtual |
◆ setDomain()
◆ valueCompatible()
bool escript::MPIDataReducer::valueCompatible |
( |
boost::python::object | v | ) |
|
|
virtual |
◆ dom
◆ had_an_export_this_round
bool escript::MPIDataReducer::had_an_export_this_round |
|
private |
◆ reduceop
MPI_Op escript::MPIDataReducer::reduceop |
|
private |
◆ value
The documentation for this class was generated from the following files: