DFT-EFE
 
Loading...
Searching...
No Matches
MultiVector.h File Reference
Include dependency graph for MultiVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dftefe::linearAlgebra::MultiVector< ValueType, memorySpace >
 An class template to encapsulate a MultiVector. A MultiVector is a collection of \(N\) vectors belonging to the same finite-dimensional vector space, where usual notion of vector size denotes the dimension of the vector space. Note that this in the mathematical sense and not in the sense of an multi-dimensional array.The MultiVector is stored contiguously with the vector index being the fastest index, or in other words a matrix of size \(M \times N\) in row major format with \(M \) denoting the dimension of the vector space (size of individual vector). More...
 

Namespaces

namespace  dftefe
 dealii includes
 
namespace  dftefe::linearAlgebra
 

Functions

template<typename ValueType , dftefe::utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::swap (MultiVector< ValueType, memorySpace > &X, MultiVector< ValueType, memorySpace > &Y)
 Swaps the data of u with this multivector. More...
 
template<typename ValueType1 , typename ValueType2 , utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::add (blasLapack::scalar_type< ValueType1, ValueType2 > a, const MultiVector< ValueType1, memorySpace > &u, blasLapack::scalar_type< ValueType1, ValueType2 > b, const MultiVector< ValueType2, memorySpace > &v, MultiVector< blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > &w)
 Perform \( w = au + bv \). More...
 
template<typename ValueType1 , typename ValueType2 , utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::add (const std::vector< blasLapack::scalar_type< ValueType1, ValueType2 > > &a, const MultiVector< ValueType1, memorySpace > &u, const std::vector< blasLapack::scalar_type< ValueType1, ValueType2 > > &b, const MultiVector< ValueType2, memorySpace > &v, MultiVector< blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > &w)
 Perform \( w = au + bv \). More...