NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
field.hpp File Reference
#include <Kokkos_Core.hpp>
#include <iostream>
#include <span>
#include "NeoFOAM/core/error.hpp"
#include "NeoFOAM/core/executor/executor.hpp"
#include "NeoFOAM/core/primitives/scalar.hpp"
#include "NeoFOAM/fields/fieldFreeFunctions.hpp"
#include "NeoFOAM/fields/fieldTypeDefs.hpp"

Go to the source code of this file.

Classes

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

Namespaces

namespace  NeoFOAM
 
namespace  NeoFOAM::detail
 

Functions

template<typename ValueType >
auto NeoFOAM::detail::deepCopyVisitor (size_t size, const ValueType *srcPtr, ValueType *dstPtr)
 A helper function to simplify the common pattern of copying between and to executor.
 
template<typename T >
Field< T > NeoFOAM::operator+ (Field< T > lhs, const Field< T > &rhs)
 Arithmetic add operator, addition of two fields.
 
template<typename T >
Field< T > NeoFOAM::operator- (Field< T > lhs, const Field< T > &rhs)
 Arithmetic subtraction operator, subtraction one field from another.