18#if defined(DFTFE_WITH_DEVICE)
19# ifndef forceWfcContractionsDeviceKernels_H_
20# define forceWfcContractionsDeviceKernels_H_
24 namespace forceDeviceKernels
26 template <
typename ValueType>
28 nlpContractionContributionPsiIndex(
33 const ValueType *projectorKetTimesVectorPar,
34 const ValueType *gradPsiOrPsiQuadValuesNLP,
35 const double *partialOccupancies,
37 const dftfe::uInt *projecterKetTimesFlattenedVectorLocalIds,
38 ValueType *nlpContractionContribution);
40 template <
typename ValueType>
42 computeELocWfcEshelbyTensorContributions(
const dftfe::uInt wfcBlockSize,
45 const ValueType *psiQuadValues,
46 const ValueType *gradPsiQuadValues,
47 const double *eigenValues,
48 const double *partialOccupancies,
54 double *eshelbyTensorContributions
Definition pseudoPotentialToDftfeConverter.cc:34
std::uint32_t uInt
Definition TypeConfig.h:10