NeoN
A framework for CFD software
|
Functions | |
template<typename ValueType > | |
auto | deepCopyVisitor (localIdx ssize, const ValueType *srcPtr, ValueType *dstPtr) |
A helper function to simplify the common pattern of copying between and to executor. | |
template<typename ValueType , typename BinaryOp > | |
void | fieldBinaryOp (Vector< ValueType > &vect1, const Vector< std::type_identity_t< ValueType > > &vect2, BinaryOp op) |
auto NeoN::detail::deepCopyVisitor | ( | localIdx | ssize, |
const ValueType * | srcPtr, | ||
ValueType * | dstPtr | ||
) |
A helper function to simplify the common pattern of copying between and to executor.
size | The number of elements to copy. |
srcPtr | Pointer to the original block of memory. |
dstPtr | Pointer to the target block of memory. |
ValueType | The type of the underlying elements. |
Definition at line 29 of file containerFreeFunctions.hpp.