|
void | setDensityMatrixComponents (const dftfe::utils::MemoryStorage< dataTypes::number, memorySpace > &eigenVectorsFlattenedMemSpace, const std::vector< std::vector< double > > &fractionalOccupancies) |
|
void | applyLocalOperations (const std::pair< dftfe::uInt, dftfe::uInt > &quadIndexRange, std::unordered_map< DensityDescriptorDataAttributes, std::vector< double > > &densityData) override |
| compute local descriptors of the aux basis electron-density representation at the supplied range of Quadrature index range
|
|
void | applyLocalOperations (const std::pair< dftfe::uInt, dftfe::uInt > &quadIndexRange, std::unordered_map< WfcDescriptorDataAttributes, std::vector< double > > &wfcData) override |
|
void | evalOverlapMatrixStart (const std::vector< double > &quadpts, const std::vector< double > &quadWt) override |
| Compute aux basis overlap matrix batchwise contribution from supplied set of quadrature points and their associated weights.
|
|
void | evalOverlapMatrixEnd (const MPI_Comm &mpiComm) override |
| for MPI accumulation
|
|
virtual void | projectDensityMatrixStart (const std::unordered_map< std::string, std::vector< dataTypes::number > > &projectionInputsDataType, const std::unordered_map< std::string, std::vector< double > > &projectionInputsReal, const dftfe::Int iSpin) override |
| Projects the KS density matrix to aux basis (L2 projection) batch wise.
|
|
void | projectDensityMatrixEnd (const MPI_Comm &mpiComm) override |
| for MPI accumulation
|
|
void | projectDensityStart (const std::unordered_map< std::string, std::vector< double > > &projectionInputs) override |
| Projects the quadrature density to aux basis (L2 projection). This is actually a copy call. All the local partition quadrature points must to be passed to this function in one go.
|
|
void | projectDensityEnd (const MPI_Comm &mpiComm) override |
| for MPI accumulation
|
|
const std::vector< std::vector< double > > * | getDensityMatrixComponents_occupancies () const |
|
const dftfe::utils::MemoryStorage< dataTypes::number, memorySpace > * | getDensityMatrixComponents_wavefunctions () const |
|
void dftfe::AuxDensityMatrixFE< memorySpace >::projectDensityStart |
( |
const std::unordered_map< std::string, std::vector< double > > & | projectionInputs | ) |
|
|
overridevirtual |
Projects the quadrature density to aux basis (L2 projection). This is actually a copy call. All the local partition quadrature points must to be passed to this function in one go.
- Parameters
-
projectionInputs | is a map from string to inputs needed for projection. projectionInputs["quadpts"], projectionInputs["quadWt"], projectionInputs["densityFunc"] projectionInputs["gradDensityFunc"] |
densityFunc The density Values at quad points densityFunc(spin_index, quad_index), quad_index is fastest.
gradDensityFunc The density Values at quad points gradDensityFunc(spin_index, quad_index,dim_index), dim_index is fastest.
Implements dftfe::AuxDensityMatrix< memorySpace >.