DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
constraintMatrixInfoDeviceKernels.h File Reference

Go to the source code of this file.

Namespaces

namespace  dftfe
 
namespace  dftfe::dftUtils
 Contains repeatedly used functions in the KSDFT calculations.
 

Functions

template<typename ValueType>
void dftfe::dftUtils::distributeDevice (const dftfe::uInt contiguousBlockSize, ValueType *xVec, const dftfe::uInt *constraintLocalRowIdsUnflattened, const dftfe::uInt numConstraints, const dftfe::uInt *constraintRowSizes, const dftfe::uInt *constraintRowSizesAccumulated, const dftfe::uInt *constraintLocalColumnIdsAllRowsUnflattened, const double *constraintColumnValuesAllRowsUnflattened, const double *inhomogenities)
 
template<typename ValueType>
void dftfe::dftUtils::distributeSlaveToMasterAtomicAddDevice (const dftfe::uInt contiguousBlockSize, ValueType *xVec, const dftfe::uInt *constraintLocalRowIdsUnflattened, const dftfe::uInt numConstraints, const dftfe::uInt *constraintRowSizes, const dftfe::uInt *constraintRowSizesAccumulated, const dftfe::uInt *constraintLocalColumnIdsAllRowsUnflattened, const double *constraintColumnValuesAllRowsUnflattened)
 
template<typename ValueType>
void dftfe::dftUtils::setzeroDevice (const dftfe::uInt contiguousBlockSize, ValueType *xVec, const dftfe::uInt *constraintLocalRowIdsUnflattened, const dftfe::uInt numConstraints)
 
void dftfe::dftUtils::scaleConstraintsDevice (const double *xVec, const dftfe::uInt *constraintLocalRowIdsUnflattened, const dftfe::uInt numConstraints, const dftfe::uInt *constraintRowSizes, const dftfe::uInt *constraintRowSizesAccumulated, const dftfe::uInt *constraintLocalColumnIdsAllRowsUnflattened, double *constraintColumnValuesAllRowsUnflattened)