![]() |
PARALUTION
1.0.0
PARALUTION
|
#include <host_vector.hpp>
Public Member Functions | |
LocalVector () | |
virtual | ~LocalVector () |
virtual void | MoveToAccelerator (void) |
Move the object to the Accelerator backend. More... | |
virtual void | MoveToAcceleratorAsync (void) |
Move the object to the Accelerator backend with async move. More... | |
virtual void | MoveToHost (void) |
Move the object to the Host backend. More... | |
virtual void | MoveToHostAsync (void) |
Move the object to the Host backend with async move. More... | |
virtual void | Sync (void) |
virtual void | info (void) const |
Print the object information (properties, backends) More... | |
virtual int | get_size (void) const |
Return the size of the vector. More... | |
virtual bool | Check (void) const |
Return true if the vector is ok (empty vector is also ok) and false if some of values are NaN. More... | |
virtual void | Allocate (std::string name, const int size) |
Allocate a local vector with name and size. More... | |
void | SetDataPtr (ValueType **ptr, std::string name, const int size) |
Initialize a vector with externally allocated data. More... | |
void | LeaveDataPtr (ValueType **ptr) |
Get a pointer from the vector data and free the vector object. More... | |
void | Assemble (const int *i, const ValueType *v, int size, std::string name, const int n=0) |
Assembling. More... | |
virtual void | Clear () |
Clear (free) the vector. More... | |
virtual void | Zeros () |
Set the values of the vector to zero. More... | |
virtual void | Ones () |
Set the values of the vector to one. More... | |
virtual void | SetValues (const ValueType val) |
Set the values of the vector to given argument. More... | |
virtual void | SetRandom (const ValueType a=-1.0, const ValueType b=1.0, const int seed=0) |
Set random values from interval [a,b]. More... | |
ValueType & | operator[] (const int i) |
Access operator (only for host data!) More... | |
const ValueType & | operator[] (const int i) const |
Access operator (only for host data!) More... | |
virtual void | ReadFileASCII (const std::string filename) |
Read vector from ASCII file. More... | |
virtual void | WriteFileASCII (const std::string filename) const |
Write vector to ASCII file. More... | |
virtual void | ReadFileBinary (const std::string filename) |
Read vector from binary file. More... | |
virtual void | WriteFileBinary (const std::string filename) const |
Write vector to binary file. More... | |
virtual void | CopyFrom (const LocalVector< ValueType > &src) |
Copy values from another local vector. More... | |
virtual void | CopyFromAsync (const LocalVector< ValueType > &src) |
Async copy. More... | |
virtual void | CopyFromFloat (const LocalVector< float > &src) |
Copy values from float vector. More... | |
virtual void | CopyFromDouble (const LocalVector< double > &src) |
Copy values from double vector. More... | |
void | CopyFrom (const LocalVector< ValueType > &src, const int src_offset, const int dst_offset, const int size) |
Copy data (not entire vector) from another local vector with specified src/dst offsets and size. More... | |
void | CopyFromPermute (const LocalVector< ValueType > &src, const LocalVector< int > &permutation) |
Copy a local vector under specified permutation (forward permutation) More... | |
void | CopyFromPermuteBackward (const LocalVector< ValueType > &src, const LocalVector< int > &permutation) |
Copy a local vector under specified permutation (backward permutation) More... | |
void | CloneFrom (const LocalVector< ValueType > &src) |
Clone the entire vector (values,backend descr) from another LocalVector. More... | |
void | CopyFromData (const ValueType *data) |
Copy (import) vector described in one array (values) The object data has to be allocated (call Allocate first) More... | |
void | CopyToData (ValueType *data) const |
Copy (export) vector described in one array (values) The output array has to be allocated. More... | |
void | Permute (const LocalVector< int > &permutation) |
Perform inplace permutation (forward) of the vector. More... | |
void | PermuteBackward (const LocalVector< int > &permutation) |
Perform inplace permutation (backward) of the vector. More... | |
void | Restriction (const LocalVector< ValueType > &vec_fine, const LocalVector< int > &map) |
Restriction operator based on restriction mapping vector. More... | |
void | Prolongation (const LocalVector< ValueType > &vec_coarse, const LocalVector< int > &map) |
Prolongation operator based on restriction(!) mapping vector. More... | |
virtual void | AddScale (const LocalVector< ValueType > &x, const ValueType alpha) |
Perform vector update of type this = this + alpha*x. More... | |
virtual void | ScaleAdd (const ValueType alpha, const LocalVector< ValueType > &x) |
Perform vector update of type this = alpha*this + x. More... | |
virtual void | ScaleAddScale (const ValueType alpha, const LocalVector< ValueType > &x, const ValueType beta) |
Perform vector update of type this = alpha*this + x*beta. More... | |
void | ScaleAddScale (const ValueType alpha, const LocalVector< ValueType > &x, const ValueType beta, const int src_offset, const int dst_offset, const int size) |
Perform vector update of type this = alpha*this + x*beta with offsets for a specified part of a vector. More... | |
virtual void | ScaleAdd2 (const ValueType alpha, const LocalVector< ValueType > &x, const ValueType beta, const LocalVector< ValueType > &y, const ValueType gamma) |
Perform vector update of type this = alpha*this + x*beta + y*gamma. More... | |
virtual void | Scale (const ValueType alpha) |
Perform vector scaling this = alpha*this. More... | |
virtual void | PartialSum (const LocalVector< ValueType > &x) |
Computes partial sum. More... | |
virtual ValueType | Dot (const LocalVector< ValueType > &x) const |
Compute dot (scalar) product, return this^T y. More... | |
virtual ValueType | DotNonConj (const LocalVector< ValueType > &x) const |
Compute non-conjugate dot (scalar) product, return this^T y. More... | |
virtual ValueType | Norm (void) const |
Compute L2 norm of the vector, return = srqt(this^T this) More... | |
virtual ValueType | Reduce (void) const |
Reduce the vector. More... | |
virtual ValueType | Asum (void) const |
Compute the sum of the absolute values of the vector (L1 norm), return = sum(|this|) More... | |
virtual int | Amax (ValueType &value) const |
Compute the absolute max value of the vector, return = index(max(|this|)) More... | |
virtual void | PointWiseMult (const LocalVector< ValueType > &x) |
Perform point-wise multiplication (element-wise) of type this = this * x. More... | |
virtual void | PointWiseMult (const LocalVector< ValueType > &x, const LocalVector< ValueType > &y) |
Perform point-wise multiplication (element-wise) of type this = x*y. More... | |
virtual void | Power (const double power) |
Perform power operation to a vector. More... | |
void | CloneBackend (const BaseParalution< ValueType > &src) |
Clone the Backend descriptor from another object. More... | |
template<typename ValueType2 > | |
void | CloneBackend (const BaseParalution< ValueType2 > &src) |
Clone the Backend descriptor from another object with different template ValueType. More... | |
Protected Member Functions | |
virtual bool | is_host (void) const |
Return true if the object is on the host. More... | |
virtual bool | is_accel (void) const |
Return true if the object is on the accelerator. More... | |
Protected Attributes | |
std::string | object_name_ |
Name of the object. More... | |
Paralution_Backend_Descriptor | local_backend_ |
Backend descriptor. More... | |
bool | asyncf |
size_t | global_obj_id |
Private Attributes | |
BaseVector< ValueType > * | vector_ |
Pointer from the base vector class to the current allocated vector (host_ or accel_) More... | |
HostVector< ValueType > * | vector_host_ |
Host Vector. More... | |
AcceleratorVector< ValueType > * | vector_accel_ |
Accelerator Vector. More... | |
Friends | |
class | LocalVector< double > |
class | LocalVector< float > |
class | LocalVector< std::complex< double > > |
class | LocalVector< std::complex< float > > |
class | LocalVector< int > |
class | LocalMatrix< double > |
class | LocalMatrix< float > |
class | LocalMatrix< std::complex< double > > |
class | LocalMatrix< std::complex< float > > |
class | LocalStencil< double > |
class | LocalStencil< float > |
class | LocalStencil< std::complex< double > > |
class | LocalStencil< std::complex< float > > |
class | LocalMatrix< ValueType > |
paralution::LocalVector< ValueType >::LocalVector | ( | ) |
|
virtual |
|
virtual |
Perform vector update of type this = this + alpha*x.
Reimplemented from paralution::Vector< ValueType >.
Referenced by main().
|
virtual |
Allocate a local vector with name and size.
Referenced by paralution::LocalMatrix< ValueType >::ExtractDiagonal(), paralution::LocalMatrix< ValueType >::ExtractInverseDiagonal(), main(), paralution::LocalMatrix< ValueType >::MaximalIndependentSet(), mexFunction(), paralution::LocalMatrix< ValueType >::MultiColoring(), paralution::IDR< OperatorType, VectorType, ValueType >::SolveNonPrecond_(), paralution::IDR< OperatorType, VectorType, ValueType >::SolvePrecond_(), and paralution::LocalMatrix< ValueType >::ZeroBlockPermutation().
|
virtual |
Compute the absolute max value of the vector, return = index(max(|this|))
Implements paralution::Vector< ValueType >.
void paralution::LocalVector< ValueType >::Assemble | ( | const int * | i, |
const ValueType * | v, | ||
int | size, | ||
std::string | name, | ||
const int | n = 0 |
||
) |
Assembling.
Referenced by main().
|
virtual |
Compute the sum of the absolute values of the vector (L1 norm), return = sum(|this|)
Implements paralution::Vector< ValueType >.
|
virtual |
Return true if the vector is ok (empty vector is also ok) and false if some of values are NaN.
Implements paralution::Vector< ValueType >.
Referenced by paralution::LocalVector< ValueType >::Check(), and main().
|
virtual |
Clear (free) the vector.
Implements paralution::Vector< ValueType >.
Referenced by paralution::AMG< OperatorType, VectorType, ValueType >::Aggregate(), and mexFunction().
|
inherited |
Clone the Backend descriptor from another object.
Referenced by paralution::AMG< OperatorType, VectorType, ValueType >::Aggregate(), paralution::SIRA< OperatorTypeH, VectorTypeH, ValueTypeH, OperatorTypeL, VectorTypeL, ValueTypeL >::Build_(), paralution::MultiColored< OperatorType, VectorType, ValueType >::Decompose_(), main(), paralution::LocalMatrix< ValueType >::MaximalIndependentSet(), paralution::LocalMatrix< ValueType >::MultiColoring(), and paralution::LocalMatrix< ValueType >::UpdateValuesCSR().
|
inherited |
Clone the Backend descriptor from another object with different template ValueType.
|
virtual |
Clone the entire vector (values,backend descr) from another LocalVector.
Reimplemented from paralution::Vector< ValueType >.
|
virtual |
Copy values from another local vector.
Reimplemented from paralution::Vector< ValueType >.
Referenced by paralution::LocalMatrix< ValueType >::AMGAggregate(), paralution::LocalMatrix< ValueType >::AMGAggregation(), paralution::LocalMatrix< ValueType >::AMGSmoothedAggregation(), paralution::LocalMatrix< ValueType >::Apply(), paralution::LocalMatrix< ValueType >::ApplyAdd(), paralution::LocalVector< ValueType >::Check(), paralution::LocalMatrix< ValueType >::CreateFromMap(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultL(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultR(), paralution::LocalMatrix< ValueType >::LLSolve(), paralution::LocalMatrix< ValueType >::LSolve(), paralution::LocalMatrix< ValueType >::LUSolve(), paralution::LocalMatrix< ValueType >::Permute(), paralution::LocalMatrix< ValueType >::PermuteBackward(), paralution::LocalVector< ValueType >::Prolongation(), paralution::LocalMatrix< ValueType >::QRSolve(), paralution::LocalMatrix< ValueType >::ReplaceColumnVector(), paralution::LocalMatrix< ValueType >::ReplaceRowVector(), paralution::LocalVector< ValueType >::Restriction(), paralution::LocalMatrix< ValueType >::USolve(), paralution::LocalVector< ValueType >::WriteFileASCII(), and paralution::LocalVector< ValueType >::WriteFileBinary().
void paralution::LocalVector< ValueType >::CopyFrom | ( | const LocalVector< ValueType > & | src, |
const int | src_offset, | ||
const int | dst_offset, | ||
const int | size | ||
) |
Copy data (not entire vector) from another local vector with specified src/dst offsets and size.
|
virtual |
Async copy.
Reimplemented from paralution::Vector< ValueType >.
void paralution::LocalVector< ValueType >::CopyFromData | ( | const ValueType * | data | ) |
Copy (import) vector described in one array (values) The object data has to be allocated (call Allocate first)
|
virtual |
Copy values from double vector.
Reimplemented from paralution::Vector< ValueType >.
|
virtual |
Copy values from float vector.
Reimplemented from paralution::Vector< ValueType >.
void paralution::LocalVector< ValueType >::CopyFromPermute | ( | const LocalVector< ValueType > & | src, |
const LocalVector< int > & | permutation | ||
) |
Copy a local vector under specified permutation (forward permutation)
void paralution::LocalVector< ValueType >::CopyFromPermuteBackward | ( | const LocalVector< ValueType > & | src, |
const LocalVector< int > & | permutation | ||
) |
Copy a local vector under specified permutation (backward permutation)
void paralution::LocalVector< ValueType >::CopyToData | ( | ValueType * | data | ) | const |
Copy (export) vector described in one array (values) The output array has to be allocated.
|
virtual |
Compute dot (scalar) product, return this^T y.
Reimplemented from paralution::Vector< ValueType >.
Referenced by main().
|
virtual |
Compute non-conjugate dot (scalar) product, return this^T y.
Reimplemented from paralution::Vector< ValueType >.
|
virtual |
Return the size of the vector.
Implements paralution::Vector< ValueType >.
Referenced by paralution::LocalVector< ValueType >::AddScale(), paralution::LocalVector< ValueType >::CopyFrom(), paralution::LocalVector< ValueType >::CopyFromPermute(), paralution::LocalVector< ValueType >::CopyFromPermuteBackward(), paralution::LocalMatrix< ValueType >::CreateFromMap(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultL(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultR(), paralution::LocalVector< ValueType >::Dot(), paralution::LocalVector< ValueType >::DotNonConj(), export_dealii_vector(), paralution::LocalMatrix< ValueType >::ExtractColumnVector(), paralution::LocalMatrix< ValueType >::ExtractRowVector(), main(), paralution::LocalVector< ValueType >::PartialSum(), paralution::LocalVector< ValueType >::Permute(), paralution::LocalMatrix< ValueType >::Permute(), paralution::LocalVector< ValueType >::PermuteBackward(), paralution::LocalMatrix< ValueType >::PermuteBackward(), paralution::LocalVector< ValueType >::PointWiseMult(), paralution::LocalMatrix< ValueType >::ReplaceColumnVector(), paralution::LocalMatrix< ValueType >::ReplaceRowVector(), paralution::LocalVector< ValueType >::ScaleAdd(), paralution::LocalVector< ValueType >::ScaleAdd2(), and paralution::LocalVector< ValueType >::ScaleAddScale().
|
virtual |
Print the object information (properties, backends)
Implements paralution::BaseParalution< ValueType >.
Referenced by paralution::Vector< ValueType >::AddScale(), paralution::Operator< ValueType >::Apply(), paralution::Operator< ValueType >::ApplyAdd(), paralution::Vector< ValueType >::CloneFrom(), paralution::Vector< ValueType >::CopyFrom(), paralution::Vector< ValueType >::CopyFromAsync(), paralution::Vector< ValueType >::CopyFromDouble(), paralution::Vector< ValueType >::CopyFromFloat(), paralution::Vector< ValueType >::Dot(), paralution::Vector< ValueType >::DotNonConj(), main(), paralution_fortran_solve(), paralution::Vector< ValueType >::PartialSum(), paralution::Vector< ValueType >::PointWiseMult(), paralution::Vector< ValueType >::ScaleAdd(), paralution::Vector< ValueType >::ScaleAdd2(), and paralution::Vector< ValueType >::ScaleAddScale().
|
protectedvirtual |
Return true if the object is on the accelerator.
Implements paralution::BaseParalution< ValueType >.
Referenced by paralution::LocalMatrix< ValueType >::CreateFromMap(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultL(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultR(), paralution::LocalMatrix< ValueType >::Permute(), paralution::LocalMatrix< ValueType >::PermuteBackward(), paralution::LocalMatrix< ValueType >::ReplaceColumnVector(), and paralution::LocalMatrix< ValueType >::ReplaceRowVector().
|
protectedvirtual |
Return true if the object is on the host.
Implements paralution::BaseParalution< ValueType >.
void paralution::LocalVector< ValueType >::LeaveDataPtr | ( | ValueType ** | ptr | ) |
Get a pointer from the vector data and free the vector object.
Referenced by export_dealii_vector(), mexFunction(), paralution_fortran_solve_coo(), paralution_fortran_solve_csr(), paralution_solve(), paralution::IDR< OperatorType, VectorType, ValueType >::SolveNonPrecond_(), paralution::IDR< OperatorType, VectorType, ValueType >::SolvePrecond_(), and paralution::LocalMatrix< ValueType >::UpdateValuesCSR().
|
virtual |
Move the object to the Accelerator backend.
Implements paralution::BaseParalution< ValueType >.
Referenced by paralution::LocalMatrix< ValueType >::AMGAggregate(), paralution::LocalMatrix< ValueType >::AMGConnect(), paralution::LocalMatrix< ValueType >::Apply(), paralution::LocalMatrix< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::CMK(), paralution::LocalMatrix< ValueType >::ExtractColumnVector(), paralution::LocalMatrix< ValueType >::ExtractDiagonal(), paralution::LocalMatrix< ValueType >::ExtractInverseDiagonal(), paralution::LocalMatrix< ValueType >::ExtractRowVector(), paralution::LocalMatrix< ValueType >::Householder(), paralution::LocalMatrix< ValueType >::ICFactorize(), paralution::LocalMatrix< ValueType >::LLSolve(), paralution::LocalMatrix< ValueType >::LSolve(), paralution::LocalMatrix< ValueType >::LUSolve(), main(), paralution::LocalMatrix< ValueType >::MaximalIndependentSet(), mexFunction(), paralution::LocalMatrix< ValueType >::MultiColoring(), paralution_fortran_solve(), paralution_solve(), paralution::LocalMatrix< ValueType >::QRSolve(), paralution::LocalMatrix< ValueType >::RCMK(), paralution::LocalMatrix< ValueType >::USolve(), and paralution::LocalMatrix< ValueType >::ZeroBlockPermutation().
|
virtual |
Move the object to the Accelerator backend with async move.
Reimplemented from paralution::BaseParalution< ValueType >.
Referenced by main().
|
virtual |
Move the object to the Host backend.
Implements paralution::BaseParalution< ValueType >.
Referenced by paralution::LocalMatrix< ValueType >::AMGAggregate(), paralution::LocalMatrix< ValueType >::AMGConnect(), paralution::LocalMatrix< ValueType >::Apply(), paralution::LocalMatrix< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::CMK(), export_dealii_vector(), paralution::LocalMatrix< ValueType >::ExtractColumnVector(), paralution::LocalMatrix< ValueType >::ExtractDiagonal(), paralution::LocalMatrix< ValueType >::ExtractInverseDiagonal(), paralution::LocalMatrix< ValueType >::ExtractRowVector(), paralution::LocalMatrix< ValueType >::Householder(), paralution::LocalMatrix< ValueType >::ICFactorize(), import_dealii_vector(), paralution::LocalMatrix< ValueType >::LLSolve(), paralution::LocalMatrix< ValueType >::LSolve(), paralution::LocalMatrix< ValueType >::LUSolve(), main(), paralution::LocalMatrix< ValueType >::MaximalIndependentSet(), mexFunction(), paralution::LocalMatrix< ValueType >::MultiColoring(), paralution_fortran_solve_coo(), paralution_fortran_solve_csr(), paralution_solve(), paralution::LocalMatrix< ValueType >::QRSolve(), paralution::LocalMatrix< ValueType >::RCMK(), paralution::LocalMatrix< ValueType >::UpdateValuesCSR(), paralution::LocalMatrix< ValueType >::USolve(), and paralution::LocalMatrix< ValueType >::ZeroBlockPermutation().
|
virtual |
Move the object to the Host backend with async move.
Reimplemented from paralution::BaseParalution< ValueType >.
|
virtual |
Compute L2 norm of the vector, return = srqt(this^T this)
Implements paralution::Vector< ValueType >.
Referenced by main().
|
virtual |
Set the values of the vector to one.
Implements paralution::Vector< ValueType >.
Referenced by main().
ValueType & paralution::LocalVector< ValueType >::operator[] | ( | const int | i | ) |
Access operator (only for host data!)
const ValueType & paralution::LocalVector< ValueType >::operator[] | ( | const int | i | ) | const |
Access operator (only for host data!)
|
virtual |
Computes partial sum.
Reimplemented from paralution::Vector< ValueType >.
void paralution::LocalVector< ValueType >::Permute | ( | const LocalVector< int > & | permutation | ) |
Perform inplace permutation (forward) of the vector.
void paralution::LocalVector< ValueType >::PermuteBackward | ( | const LocalVector< int > & | permutation | ) |
Perform inplace permutation (backward) of the vector.
Referenced by main().
|
virtual |
Perform point-wise multiplication (element-wise) of type this = this * x.
Reimplemented from paralution::Vector< ValueType >.
|
virtual |
Perform point-wise multiplication (element-wise) of type this = x*y.
Reimplemented from paralution::Vector< ValueType >.
|
virtual |
Perform power operation to a vector.
Implements paralution::Vector< ValueType >.
void paralution::LocalVector< ValueType >::Prolongation | ( | const LocalVector< ValueType > & | vec_coarse, |
const LocalVector< int > & | map | ||
) |
Prolongation operator based on restriction(!) mapping vector.
|
virtual |
|
virtual |
Read vector from binary file.
Implements paralution::Vector< ValueType >.
|
virtual |
void paralution::LocalVector< ValueType >::Restriction | ( | const LocalVector< ValueType > & | vec_fine, |
const LocalVector< int > & | map | ||
) |
Restriction operator based on restriction mapping vector.
|
virtual |
Perform vector scaling this = alpha*this.
Implements paralution::Vector< ValueType >.
Referenced by main().
|
virtual |
Perform vector update of type this = alpha*this + x.
Reimplemented from paralution::Vector< ValueType >.
Referenced by main().
|
virtual |
Perform vector update of type this = alpha*this + x*beta + y*gamma.
Reimplemented from paralution::Vector< ValueType >.
|
virtual |
Perform vector update of type this = alpha*this + x*beta.
Reimplemented from paralution::Vector< ValueType >.
void paralution::LocalVector< ValueType >::ScaleAddScale | ( | const ValueType | alpha, |
const LocalVector< ValueType > & | x, | ||
const ValueType | beta, | ||
const int | src_offset, | ||
const int | dst_offset, | ||
const int | size | ||
) |
Perform vector update of type this = alpha*this + x*beta with offsets for a specified part of a vector.
void paralution::LocalVector< ValueType >::SetDataPtr | ( | ValueType ** | ptr, |
std::string | name, | ||
const int | size | ||
) |
Initialize a vector with externally allocated data.
Referenced by import_dealii_vector(), mexFunction(), paralution_fortran_solve_coo(), paralution_fortran_solve_csr(), paralution_solve(), paralution::IDR< OperatorType, VectorType, ValueType >::SolveNonPrecond_(), paralution::IDR< OperatorType, VectorType, ValueType >::SolvePrecond_(), and paralution::LocalMatrix< ValueType >::UpdateValuesCSR().
|
virtual |
Set random values from interval [a,b].
Implements paralution::Vector< ValueType >.
|
virtual |
Set the values of the vector to given argument.
Implements paralution::Vector< ValueType >.
|
virtual |
Reimplemented from paralution::BaseParalution< ValueType >.
Referenced by main().
|
virtual |
|
virtual |
Write vector to binary file.
Implements paralution::Vector< ValueType >.
|
virtual |
Set the values of the vector to zero.
Implements paralution::Vector< ValueType >.
Referenced by main(), and mexFunction().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Backend descriptor.
Referenced by paralution::BaseParalution< ValueType >::CloneBackend(), and paralution::LocalMatrix< ValueType >::CloneFrom().
|
protectedinherited |
|
private |
Pointer from the base vector class to the current allocated vector (host_ or accel_)
Referenced by paralution::LocalVector< ValueType >::AddScale(), paralution::LocalMatrix< ValueType >::AMGAggregate(), paralution::LocalMatrix< ValueType >::AMGAggregation(), paralution::LocalMatrix< ValueType >::AMGConnect(), paralution::LocalMatrix< ValueType >::AMGSmoothedAggregation(), paralution::LocalStencil< ValueType >::Apply(), paralution::LocalMatrix< ValueType >::Apply(), paralution::LocalStencil< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::CMK(), paralution::LocalVector< ValueType >::CopyFrom(), paralution::LocalVector< ValueType >::CopyFromAsync(), paralution::LocalVector< ValueType >::CopyFromDouble(), paralution::LocalVector< ValueType >::CopyFromFloat(), paralution::LocalVector< ValueType >::CopyFromPermute(), paralution::LocalVector< ValueType >::CopyFromPermuteBackward(), paralution::LocalMatrix< ValueType >::CreateFromMap(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultL(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultR(), paralution::LocalVector< ValueType >::Dot(), paralution::LocalVector< ValueType >::DotNonConj(), paralution::LocalMatrix< ValueType >::ExtractColumnVector(), paralution::LocalMatrix< ValueType >::ExtractDiagonal(), paralution::LocalMatrix< ValueType >::ExtractInverseDiagonal(), paralution::LocalMatrix< ValueType >::ExtractRowVector(), paralution::LocalMatrix< ValueType >::Householder(), paralution::LocalMatrix< ValueType >::ICFactorize(), paralution::LocalMatrix< ValueType >::LLSolve(), paralution::LocalMatrix< ValueType >::LSolve(), paralution::LocalMatrix< ValueType >::LUSolve(), paralution::LocalMatrix< ValueType >::MaximalIndependentSet(), paralution::LocalMatrix< ValueType >::MultiColoring(), paralution::LocalVector< ValueType >::PartialSum(), paralution::LocalVector< ValueType >::Permute(), paralution::LocalMatrix< ValueType >::Permute(), paralution::LocalVector< ValueType >::PermuteBackward(), paralution::LocalMatrix< ValueType >::PermuteBackward(), paralution::LocalVector< ValueType >::PointWiseMult(), paralution::LocalVector< ValueType >::Prolongation(), paralution::LocalMatrix< ValueType >::QRSolve(), paralution::LocalMatrix< ValueType >::RCMK(), paralution::LocalMatrix< ValueType >::ReplaceColumnVector(), paralution::LocalMatrix< ValueType >::ReplaceRowVector(), paralution::LocalVector< ValueType >::Restriction(), paralution::LocalVector< ValueType >::ScaleAdd(), paralution::LocalVector< ValueType >::ScaleAdd2(), paralution::LocalVector< ValueType >::ScaleAddScale(), paralution::LocalMatrix< ValueType >::USolve(), paralution::LocalVector< ValueType >::WriteFileASCII(), paralution::LocalVector< ValueType >::WriteFileBinary(), and paralution::LocalMatrix< ValueType >::ZeroBlockPermutation().
|
private |
Accelerator Vector.
Referenced by paralution::LocalVector< ValueType >::AddScale(), paralution::LocalMatrix< ValueType >::AMGAggregate(), paralution::LocalMatrix< ValueType >::AMGAggregation(), paralution::LocalMatrix< ValueType >::AMGConnect(), paralution::LocalMatrix< ValueType >::AMGSmoothedAggregation(), paralution::LocalStencil< ValueType >::Apply(), paralution::LocalMatrix< ValueType >::Apply(), paralution::LocalStencil< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::CMK(), paralution::LocalVector< ValueType >::CopyFrom(), paralution::LocalVector< ValueType >::CopyFromPermute(), paralution::LocalVector< ValueType >::CopyFromPermuteBackward(), paralution::LocalMatrix< ValueType >::CreateFromMap(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultL(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultR(), paralution::LocalVector< ValueType >::Dot(), paralution::LocalVector< ValueType >::DotNonConj(), paralution::LocalMatrix< ValueType >::ExtractColumnVector(), paralution::LocalMatrix< ValueType >::ExtractDiagonal(), paralution::LocalMatrix< ValueType >::ExtractInverseDiagonal(), paralution::LocalMatrix< ValueType >::ExtractRowVector(), paralution::LocalMatrix< ValueType >::ICFactorize(), paralution::LocalMatrix< ValueType >::LLSolve(), paralution::LocalMatrix< ValueType >::LSolve(), paralution::LocalMatrix< ValueType >::LUSolve(), paralution::LocalMatrix< ValueType >::MaximalIndependentSet(), paralution::LocalMatrix< ValueType >::MultiColoring(), paralution::LocalVector< ValueType >::PartialSum(), paralution::LocalVector< ValueType >::Permute(), paralution::LocalMatrix< ValueType >::Permute(), paralution::LocalVector< ValueType >::PermuteBackward(), paralution::LocalMatrix< ValueType >::PermuteBackward(), paralution::LocalVector< ValueType >::PointWiseMult(), paralution::LocalVector< ValueType >::Prolongation(), paralution::LocalMatrix< ValueType >::QRSolve(), paralution::LocalMatrix< ValueType >::RCMK(), paralution::LocalMatrix< ValueType >::ReplaceColumnVector(), paralution::LocalMatrix< ValueType >::ReplaceRowVector(), paralution::LocalVector< ValueType >::Restriction(), paralution::LocalVector< ValueType >::ScaleAdd(), paralution::LocalVector< ValueType >::ScaleAdd2(), paralution::LocalVector< ValueType >::ScaleAddScale(), paralution::LocalMatrix< ValueType >::USolve(), and paralution::LocalMatrix< ValueType >::ZeroBlockPermutation().
|
private |
Host Vector.
Referenced by paralution::LocalVector< ValueType >::AddScale(), paralution::LocalMatrix< ValueType >::AMGAggregate(), paralution::LocalMatrix< ValueType >::AMGAggregation(), paralution::LocalMatrix< ValueType >::AMGConnect(), paralution::LocalMatrix< ValueType >::AMGSmoothedAggregation(), paralution::LocalStencil< ValueType >::Apply(), paralution::LocalMatrix< ValueType >::Apply(), paralution::LocalStencil< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::ApplyAdd(), paralution::LocalMatrix< ValueType >::CMK(), paralution::LocalVector< ValueType >::CopyFrom(), paralution::LocalVector< ValueType >::CopyFromPermute(), paralution::LocalVector< ValueType >::CopyFromPermuteBackward(), paralution::LocalMatrix< ValueType >::CreateFromMap(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultL(), paralution::LocalMatrix< ValueType >::DiagonalMatrixMultR(), paralution::LocalVector< ValueType >::Dot(), paralution::LocalVector< ValueType >::DotNonConj(), paralution::LocalMatrix< ValueType >::ExtractColumnVector(), paralution::LocalMatrix< ValueType >::ExtractDiagonal(), paralution::LocalMatrix< ValueType >::ExtractInverseDiagonal(), paralution::LocalMatrix< ValueType >::ExtractRowVector(), paralution::LocalMatrix< ValueType >::ICFactorize(), paralution::LocalMatrix< ValueType >::LLSolve(), paralution::LocalMatrix< ValueType >::LSolve(), paralution::LocalMatrix< ValueType >::LUSolve(), paralution::LocalMatrix< ValueType >::MaximalIndependentSet(), paralution::LocalMatrix< ValueType >::MultiColoring(), paralution::LocalVector< ValueType >::PartialSum(), paralution::LocalVector< ValueType >::Permute(), paralution::LocalMatrix< ValueType >::Permute(), paralution::LocalVector< ValueType >::PermuteBackward(), paralution::LocalMatrix< ValueType >::PermuteBackward(), paralution::LocalVector< ValueType >::PointWiseMult(), paralution::LocalVector< ValueType >::Prolongation(), paralution::LocalMatrix< ValueType >::QRSolve(), paralution::LocalMatrix< ValueType >::RCMK(), paralution::LocalMatrix< ValueType >::ReplaceColumnVector(), paralution::LocalMatrix< ValueType >::ReplaceRowVector(), paralution::LocalVector< ValueType >::Restriction(), paralution::LocalVector< ValueType >::ScaleAdd(), paralution::LocalVector< ValueType >::ScaleAdd2(), paralution::LocalVector< ValueType >::ScaleAddScale(), paralution::LocalMatrix< ValueType >::USolve(), paralution::LocalVector< ValueType >::WriteFileASCII(), paralution::LocalVector< ValueType >::WriteFileBinary(), and paralution::LocalMatrix< ValueType >::ZeroBlockPermutation().