18#ifndef densityCalculator_H_
19#define densityCalculator_H_
27 template <
typename NumberType, dftfe::utils::MemorySpace memorySpace>
31 const unsigned int totalNumWaveFunctions,
32 const std::vector<std::vector<double>> &partialOccupancies,
38 const unsigned int matrixFreeDofhandlerIndex,
39 const unsigned int quadratureIndex,
40 const std::vector<double> &kPointWeights,
47 const bool isEvaluateGradRho,
48 const MPI_Comm & mpiCommParent,
49 const MPI_Comm & interpoolcomm,
50 const MPI_Comm & interBandGroupComm,
53 template <
typename NumberType>
59 const std::pair<unsigned int, unsigned int> cellRange,
60 const std::pair<unsigned int, unsigned int> vecRange,
61 const unsigned int nQuadsPerCell,
62 double * partialOccupVec,
63 NumberType * wfcQuadPointData,
64 NumberType * gradWfcQuadPointData,
65 double * rhoCellsWfcContributions,
66 double * gradRhoCellsWfcContributions,
69 const bool isEvaluateGradRho);
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 computeRhoGradRhoFromInterpolatedValues(std::shared_ptr< 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, NumberType *wfcQuadPointData, NumberType *gradWfcQuadPointData, double *rhoCellsWfcContributions, double *gradRhoCellsWfcContributions, double *rho, double *gradRho, const bool isEvaluateGradRho)
void computeRhoFromPSI(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, std::shared_ptr< dftfe::linearAlgebra::BLASWrapper< memorySpace > > &BLASWrapperPtr, const unsigned int matrixFreeDofhandlerIndex, const unsigned int quadratureIndex, const std::vector< double > &kPointWeights, std::vector< dftfe::utils::MemoryStorage< double, dftfe::utils::MemorySpace::HOST > > &densityValues, std::vector< dftfe::utils::MemoryStorage< double, dftfe::utils::MemorySpace::HOST > > &gradDensityValues, const bool isEvaluateGradRho, const MPI_Comm &mpiCommParent, const MPI_Comm &interpoolcomm, const MPI_Comm &interBandGroupComm, const dftParameters &dftParams)
@ gradRho
Definition mixingClass.h:34
@ rho
Definition mixingClass.h:33