LAMA
|
Common base class for all objects that are distributed. More...
#include <Distributed.hpp>
Public Member Functions | |
Distributed (DistributionPtr) | |
Distributed (const Distributed &other) | |
virtual | ~Distributed () |
const Distribution & | getDistribution () const |
DistributionPtr | getDistributionPtr () const |
Protected Member Functions | |
void | swap (Distributed &other) |
void | setDistributionPtr (DistributionPtr distributionPtr) |
Private Member Functions | |
Distributed () | |
Private Attributes | |
DistributionPtr | mDistribution |
Common base class for all objects that are distributed.
Important: There is no default constructor, a distribution must always be specified. You can use NoDistribtion for non distributed objects.
lama::Distributed::Distributed | ( | DistributionPtr | distribution | ) |
References LAMA_THROWEXCEPTION.
lama::Distributed::Distributed | ( | const Distributed & | other | ) |
lama::Distributed::~Distributed | ( | ) | [virtual] |
lama::Distributed::Distributed | ( | ) | [private] |
const Distribution & lama::Distributed::getDistribution | ( | ) | const [inline] |
References mDistribution.
Referenced by lama::SparseMatrix< T >::assignTransposeImpl(), lama::Matrix::checkSettings(), lama::LUSolver::computeLUFactorization(), lama::InverseSolver::decompose(), lama::DenseMatrix< T >::DenseMatrix(), lama::DenseVector< T >::DenseVector(), lama::DenseVector< T >::dotProduct(), lama::MatrixCreator< T >::fillRandom(), lama::SparseMatrix< T >::getLocalRow(), lama::SparseMatrix< T >::getRow(), lama::DenseMatrix< T >::getRow(), lama::DenseMatrixOps::invert(), lama::InverseSolver::invert(), lama::DenseMatrixOps::invertCyclic(), lama::DenseMatrixOps::invertReplicated(), lama::Matrix::Matrix(), lama::DenseMatrix< T >::matrixTimesMatrix(), lama::SparseMatrix< T >::matrixTimesMatrixImpl(), lama::CRTPMatrix< DenseMatrix< T >, T >::matrixTimesVector(), lama::SparseMatrix< T >::matrixTimesVector(), lama::SparseMatrix< T >::matrixTimesVectorNImpl(), lama::DenseMatrix< T >::maxDiffNorm(), lama::SparseMatrix< T >::maxDiffNorm(), lama::DenseMatrix< T >::maxDiffNormImpl(), lama::SparseMatrix< T >::maxDiffNormImpl(), lama::Matrix::operator=(), lama::SparseMatrix< T >::scale(), lama::SparseMatrix< T >::setDiagonal(), lama::LUSolver::solve(), lama::Solver::solveInit(), lama::Vector::Vector(), and lama::Vector::~Vector().
DistributionPtr lama::Distributed::getDistributionPtr | ( | ) | const [inline] |
References mDistribution.
Referenced by lama::SparseMatrix< T >::assign(), lama::DenseMatrix< T >::assign(), lama::DenseVector< T >::assign(), lama::DenseMatrix< T >::assignSparse(), lama::SparseMatrix< T >::assignTransposeImpl(), lama::DenseMatrix< T >::copyDenseMatrix(), lama::DenseVector< T >::DenseVector(), lama::MatrixCreator< T >::fillRandom(), lama::SingleGridSetup::initialize(), lama::CG::initialize(), lama::DefaultJacobi::initialize(), lama::GMRES::initialize(), lama::DenseMatrixOps::invert(), lama::DenseMatrix< T >::invert(), lama::DenseMatrixOps::invertCyclic(), lama::GMRES::iterate(), lama::SparseMatrix< T >::matrixTimesMatrixImpl(), lama::CRTPMatrix< DenseMatrix< T >, T >::matrixTimesVector(), lama::Vector::operator=(), lama::Vector::size(), and lama::Vector::writeAt().
void lama::Distributed::setDistributionPtr | ( | DistributionPtr | distributionPtr | ) | [protected] |
References mDistribution.
Referenced by lama::Vector::resize(), and lama::Matrix::setDistributedMatrix().
void lama::Distributed::swap | ( | Distributed & | other | ) | [protected] |
References mDistribution.
Referenced by lama::Matrix::swapMatrix().
Referenced by getDistribution(), getDistributionPtr(), setDistributionPtr(), and swap().