18#ifndef kineticEnergyDensityCalculator_H_
19#define kineticEnergyDensityCalculator_H_
27 template <
typename NumberType, dftfe::utils::MemorySpace memorySpace>
32 const unsigned int totalNumWaveFunctions,
33 const std::vector<std::vector<double>> &partialOccupancies,
37 const unsigned int quadratureIndex,
38 const std::vector<double> &kPointCoords,
39 const std::vector<double> &kPointWeights,
41 & kineticEnergyDensityValues,
42 const MPI_Comm & mpiCommParent,
43 const MPI_Comm & interpoolcomm,
44 const MPI_Comm & interBandGroupComm,
45 const MPI_Comm & mpiCommDomain,
48 template <
typename NumberType>
53 const std::pair<unsigned int, unsigned int> cellRange,
54 const std::pair<unsigned int, unsigned int> vecRange,
55 const unsigned int nQuadsPerCell,
56 double * partialOccupVec,
58 NumberType * wfcQuadPointData,
59 NumberType * gradWfcQuadPointData,
60 double * kineticCellsWfcContributions,
61 double * kineticEnergyDensity,
62 const MPI_Comm & mpiCommDomain);
Definition FEBasisOperations.h:84
Namespace which declares the input parameters and the functions to parse them from the input paramete...
Definition dftParameters.h:35
Definition BLASWrapper.h:35
Definition MemoryStorage.h:33
Definition pseudoPotentialToDftfeConverter.cc:34
void computeKineticEnergyDensity(const dftfe::linearAlgebra::BLASWrapper< memorySpace > &BLASWrapperPtr, const dftfe::utils::MemoryStorage< NumberType, memorySpace > *X, const unsigned int totalNumWaveFunctions, const std::vector< std::vector< double > > &partialOccupancies, std::shared_ptr< dftfe::basis::FEBasisOperations< NumberType, double, memorySpace > > &basisOperationsPtr, const unsigned int quadratureIndex, const std::vector< double > &kPointCoords, const std::vector< double > &kPointWeights, dftfe::utils::MemoryStorage< double, dftfe::utils::MemorySpace::HOST > &kineticEnergyDensityValues, const MPI_Comm &mpiCommParent, const MPI_Comm &interpoolcomm, const MPI_Comm &interBandGroupComm, const MPI_Comm &mpiCommDomain, const dftParameters &dftParams)
void computeKineticEnergyDensityFromInterpolatedValues(const dftfe::linearAlgebra::BLASWrapper< dftfe::utils::MemorySpace::HOST > &BLASWrapperPtr, const std::pair< unsigned int, unsigned int > cellRange, const std::pair< unsigned int, unsigned int > vecRange, const unsigned int nQuadsPerCell, double *partialOccupVec, double *kcoord, NumberType *wfcQuadPointData, NumberType *gradWfcQuadPointData, double *kineticCellsWfcContributions, double *kineticEnergyDensity, const MPI_Comm &mpiCommDomain)