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

Namespaces

namespace  dftefe
 dealii includes
 
namespace  dftefe::linearAlgebra
 
namespace  dftefe::linearAlgebra::elpaScalaOpInternal
 

Functions

template<typename T >
void dftefe::linearAlgebra::elpaScalaOpInternal::createGlobalToLocalIdMapsScaLAPACKMat (const std::shared_ptr< const ProcessGrid > &processGrid, const ScaLAPACKMatrix< T > &mat, std::unordered_map< size_type, size_type > &globalToLocalRowIdMap, std::unordered_map< size_type, size_type > &globalToLocalColumnIdMap)
 Creates global row/column id to local row/column ids for ScaLAPACKMatrix. More...
 
template<typename T >
void dftefe::linearAlgebra::elpaScalaOpInternal::scaleScaLAPACKMat (const std::shared_ptr< const ProcessGrid > &processGrid, ScaLAPACKMatrix< T > &mat, const T scalar)
 scale a ScaLAPACKMat with a scalar More...
 
template<typename T >
void dftefe::linearAlgebra::elpaScalaOpInternal::fillParallelOverlapMatrix (const T *X, const size_type XLocalSize, const size_type numberVectors, const std::shared_ptr< const ProcessGrid > &processGrid, const utils::mpi::MPIComm &mpiComm, const size_type wfcBlockSize, ScaLAPACKMatrix< T > &overlapMatPar)
 Computes Sc=X^{T}*Xc and stores in a parallel ScaLAPACK matrix. X^{T} is the subspaceVectorsArray stored in the column major format (N x M). Sc is the overlapMatPar. More...
 
template<typename ValueType , typename utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::elpaScalaOpInternal::subspaceRotation (ValueType *X, const size_type M, const size_type N, const std::shared_ptr< const ProcessGrid > &processGrid, const utils::mpi::MPIComm &mpiCommDomain, LinAlgOpContext< memorySpace > &linAlgOpContext, const ScaLAPACKMatrix< ValueType > &rotationMatPar, const size_type subspaceRotDofsBlockSize, const size_type wfcBlockSize, const bool rotationMatTranspose=false, const bool isRotationMatLowerTria=false)
 Computes X^{T}=Q*X^{T} inplace. X^{T} is the subspaceVectorsArray stored in the column major format (N x M). Q is rotationMatPar (N x N). More...