DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
|
#include <DeviceAPICalls.h>
#include <DeviceDataTypeOverloads.h>
#include <DeviceKernelLauncherConstants.h>
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 unsigned int contiguousBlockSize, ValueType *xVec, const unsigned int *constraintLocalRowIdsUnflattened, const unsigned int numConstraints, const unsigned int *constraintRowSizes, const unsigned int *constraintRowSizesAccumulated, const unsigned int *constraintLocalColumnIdsAllRowsUnflattened, const double *constraintColumnValuesAllRowsUnflattened, const double *inhomogenities) |
template<typename ValueType> | |
void | dftfe::dftUtils::distributeSlaveToMasterAtomicAddDevice (const unsigned int contiguousBlockSize, ValueType *xVec, const unsigned int *constraintLocalRowIdsUnflattened, const unsigned int numConstraints, const unsigned int *constraintRowSizes, const unsigned int *constraintRowSizesAccumulated, const unsigned int *constraintLocalColumnIdsAllRowsUnflattened, const double *constraintColumnValuesAllRowsUnflattened) |
template<typename ValueType> | |
void | dftfe::dftUtils::setzeroDevice (const unsigned int contiguousBlockSize, ValueType *xVec, const unsigned int *constraintLocalRowIdsUnflattened, const unsigned int numConstraints) |
void | dftfe::dftUtils::scaleConstraintsDevice (const double *xVec, const unsigned int *constraintLocalRowIdsUnflattened, const unsigned int numConstraints, const unsigned int *constraintRowSizes, const unsigned int *constraintRowSizesAccumulated, const unsigned int *constraintLocalColumnIdsAllRowsUnflattened, double *constraintColumnValuesAllRowsUnflattened) |