NeoN
WIP Prototype of a modern OpenFOAM core
|
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 > &a, const Vector< std::type_identity_t< ValueType > > &b, 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 33 of file vector.hpp.
void NeoN::detail::fieldBinaryOp | ( | Vector< ValueType > & | a, |
const Vector< std::type_identity_t< ValueType > > & | b, | ||
BinaryOp | op | ||
) |
Definition at line 105 of file fieldFreeFunctions.hpp.