NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
vector.hpp File Reference
#include <Kokkos_Core.hpp>
#include "NeoN/core/error.hpp"
#include "NeoN/core/executor/executor.hpp"
#include "NeoN/core/primitives/label.hpp"
#include "NeoN/core/primitives/scalar.hpp"
#include "NeoN/core/view.hpp"
#include "NeoN/fields/fieldFreeFunctions.hpp"
#include "NeoN/fields/fieldTypeDefs.hpp"
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

class  NeoN::Vector< ValueType >
 A class to contain the data and executors for a field and define some basic operations. More...
 

Namespaces

namespace  NeoN
 
namespace  NeoN::detail
 

Functions

template<typename ValueType >
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.
 
template<typename T >
Vector< T > NeoN::operator+ (Vector< T > lhs, const Vector< T > &rhs)
 Arithmetic add operator, addition of two fields.
 
template<typename T >
Vector< T > NeoN::operator- (Vector< T > lhs, const Vector< T > &rhs)
 Arithmetic subtraction operator, subtraction one field from another.