DFT-EFE
 
Loading...
Searching...
No Matches
MultiVector.t.cpp File Reference
#include <utils/Exceptions.h>
#include <utils/MPIWrapper.h>
#include <linearAlgebra/BlasLapack.h>
#include <cmath>
#include <utils/RandNumGen.h>
Include dependency graph for MultiVector.t.cpp:
This graph shows which files directly or indirectly include this file:

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...
 
template<typename ValueType1 , typename ValueType2 , utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::dot (const MultiVector< ValueType1, memorySpace > &u, const MultiVector< ValueType2, memorySpace > &v, blasLapack::scalar_type< ValueType1, ValueType2 > *dotProds, const blasLapack::ScalarOp &opU, const blasLapack::ScalarOp &opV)
 
template<typename ValueType1 , typename ValueType2 , utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::dot (const MultiVector< ValueType1, memorySpace > &u, const MultiVector< ValueType2, memorySpace > &v, std::vector< blasLapack::scalar_type< ValueType1, ValueType2 > > &dotProds, const blasLapack::ScalarOp &opU, const blasLapack::ScalarOp &opV)