DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
dftfe::basis::FEBasisOperationsKernelsInternal Namespace Reference

Functions

template<typename ValueType>
void reshapeFromNonAffineLayoutDevice (const dftfe::size_type numVecs, const dftfe::size_type numQuads, const dftfe::size_type numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 rehsape gradient data from [iCell * 3 * d_nQuadsPerCell * d_nVectors + iQuad * 3 * d_nVectors + iDim * d_nVectors + iVec] to [iCell * 3 * d_nQuadsPerCell * d_nVectors + iDim * d_nQuadsPerCell * d_nVectors + iQuad * d_nVectors + iVec].
 
template<typename ValueType>
void reshapeFromNonAffineLayoutHost (const dftfe::size_type numVecs, const dftfe::size_type numQuads, const dftfe::size_type numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 
template<typename ValueType>
void reshapeToNonAffineLayoutDevice (const dftfe::size_type numVecs, const dftfe::size_type numQuads, const dftfe::size_type numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 rehsape gradient data to [iCell * 3 * d_nQuadsPerCell * d_nVectors + iQuad * 3 * d_nVectors + iDim * d_nVectors + iVec] from [iCell * 3 * d_nQuadsPerCell * d_nVectors + iDim * d_nQuadsPerCell * d_nVectors + iQuad * d_nVectors + iVec].
 
template<typename ValueType>
void reshapeToNonAffineLayoutHost (const dftfe::size_type numVecs, const dftfe::size_type numQuads, const dftfe::size_type numCells, const ValueType *copyFromVec, ValueType *copyToVec)
 

Function Documentation

◆ reshapeFromNonAffineLayoutDevice()

template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeFromNonAffineLayoutDevice ( const dftfe::size_type numVecs,
const dftfe::size_type numQuads,
const dftfe::size_type numCells,
const ValueType * copyFromVec,
ValueType * copyToVec )

rehsape gradient data from [iCell * 3 * d_nQuadsPerCell * d_nVectors + iQuad * 3 * d_nVectors + iDim * d_nVectors + iVec] to [iCell * 3 * d_nQuadsPerCell * d_nVectors + iDim * d_nQuadsPerCell * d_nVectors + iQuad * d_nVectors + iVec].

Parameters
[in]numVecsnumber of vectors.
[in]numQuadsnumber of quadrature points per cell.
[in]numCellsnumber of locally owned cells.
[in]copyFromVecsource data pointer.
[out]copyToVecdestination data pointer.

◆ reshapeFromNonAffineLayoutHost()

template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeFromNonAffineLayoutHost ( const dftfe::size_type numVecs,
const dftfe::size_type numQuads,
const dftfe::size_type numCells,
const ValueType * copyFromVec,
ValueType * copyToVec )

◆ reshapeToNonAffineLayoutDevice()

template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeToNonAffineLayoutDevice ( const dftfe::size_type numVecs,
const dftfe::size_type numQuads,
const dftfe::size_type numCells,
const ValueType * copyFromVec,
ValueType * copyToVec )

rehsape gradient data to [iCell * 3 * d_nQuadsPerCell * d_nVectors + iQuad * 3 * d_nVectors + iDim * d_nVectors + iVec] from [iCell * 3 * d_nQuadsPerCell * d_nVectors + iDim * d_nQuadsPerCell * d_nVectors + iQuad * d_nVectors + iVec].

Parameters
[in]numVecsnumber of vectors.
[in]numQuadsnumber of quadrature points per cell.
[in]numCellsnumber of locally owned cells.
[in]copyFromVecsource data pointer.
[out]copyToVecdestination data pointer.

◆ reshapeToNonAffineLayoutHost()

template<typename ValueType>
void dftfe::basis::FEBasisOperationsKernelsInternal::reshapeToNonAffineLayoutHost ( const dftfe::size_type numVecs,
const dftfe::size_type numQuads,
const dftfe::size_type numCells,
const ValueType * copyFromVec,
ValueType * copyToVec )