17#ifndef dftfeFEBasisOperationsKernelsInternal_h
18#define dftfeFEBasisOperationsKernelsInternal_h
22#ifdef DFTFE_WITH_DEVICE
45 template <
typename ValueType>
51 const ValueType *copyFromVec,
52 ValueType *copyToVec);
54 template <
typename ValueType>
60 const ValueType *copyFromVec,
61 ValueType *copyToVec);
72 template <
typename ValueType>
78 const ValueType *copyFromVec,
79 ValueType *copyToVec);
81 template <
typename ValueType>
87 const ValueType *copyFromVec,
88 ValueType *copyToVec);
90 template <
typename ValueType>
96 const ValueType *inverseJacobiansEntries,
97 const ValueType *gradientDataBlockCoeff,
98 ValueType *gradientData,
101 template <
typename ValueType>
107 const ValueType *inverseJacobiansEntries,
108 const ValueType *gradientDataBlockCoeff,
109 ValueType *gradientData,
Definition FEBasisOperationsKernelsInternal.h:34
void 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 * ...
void reshapeToNonAffineLayoutHost(const dftfe::uInt numVecs, const dftfe::uInt numQuads, const dftfe::uInt nDims, const dftfe::uInt numCells, const ValueType *copyFromVec, ValueType *copyToVec)
void 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)
void 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 ...
void reshapeFromNonAffineLayoutHost(const dftfe::uInt numVecs, const dftfe::uInt numQuads, const dftfe::uInt nDims, const dftfe::uInt numCells, const ValueType *copyFromVec, ValueType *copyToVec)
void 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)
Definition FEBasisOperations.h:30
Definition pseudoPotentialToDftfeConverter.cc:34
std::uint32_t uInt
Definition TypeConfig.h:10