DFT-FE 1.3.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
FEBasisOperationsKernelsInternal.h File Reference
#include <TypeConfig.h>
#include <BLASWrapper.h>

Go to the source code of this file.

Namespaces

namespace  dftfe
 
namespace  dftfe::basis
 
namespace  dftfe::basis::FEBasisOperationsKernelsInternal
 

Functions

template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeFromNonAffineLayoutDevice (const dftfe::uInt numVecs, const dftfe::uInt numQuads, const dftfe::uInt nDims, const dftfe::uInt numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 rehsape gradient data from [iCell * 3 * d_nQuadsPerCell * d_nVectors + iQuad * 3 * d_nVectors + iDim * d_nVectors + iVec] to [iCell * 3 * d_nQuadsPerCell * d_nVectors + iDim * d_nQuadsPerCell * d_nVectors + iQuad * d_nVectors + iVec].
 
template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeFromNonAffineLayoutHost (const dftfe::uInt numVecs, const dftfe::uInt numQuads, const dftfe::uInt nDims, const dftfe::uInt numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 
template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeToNonAffineLayoutDevice (const dftfe::uInt numVecs, const dftfe::uInt numQuads, const dftfe::uInt nDims, const dftfe::uInt numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 rehsape gradient data to [iCell * 3 * d_nQuadsPerCell * d_nVectors + iQuad * 3 * d_nVectors + iDim * d_nVectors + iVec] from [iCell * 3 * d_nQuadsPerCell * d_nVectors + iDim * d_nQuadsPerCell * d_nVectors + iQuad * d_nVectors + iVec].
 
template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeToNonAffineLayoutHost (const dftfe::uInt numVecs, const dftfe::uInt numQuads, const dftfe::uInt nDims, const dftfe::uInt numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 
template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::scaleQuadratureDataWithDiagonalJacobianDevice (const dftfe::uInt numberOfElements, const dftfe::uInt nDoFsPerCell, const dftfe::uInt nQuadsPerCell, const ValueType *inverseJacobiansEntries, const ValueType *gradientDataBlockCoeff, ValueType *gradientData, const dftfe::uInt *cellIndices)
 
template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::scaleQuadratureDataWithDiagonalJacobianHost (const dftfe::uInt numberOfElements, const dftfe::uInt nDoFsPerCell, const dftfe::uInt nQuadsPerCell, const ValueType *inverseJacobiansEntries, const ValueType *gradientDataBlockCoeff, ValueType *gradientData, const dftfe::uInt *cellIndices)