NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
vec3.hpp File Reference
#include <Kokkos_Core.hpp>
#include "NeoN/core/primitives/scalar.hpp"
#include "NeoN/core/primitives/label.hpp"
#include "NeoN/core/primitives/traits.hpp"

Go to the source code of this file.

Classes

class  NeoN::Vec3
 A class for the representation of a 3D Vec3. More...
 

Namespaces

namespace  NeoN
 

Functions

KOKKOS_INLINE_FUNCTION Vec3 NeoN::operator* (const scalar &sclr, Vec3 rhs)
 
KOKKOS_INLINE_FUNCTION scalar NeoN::operator& (const Vec3 &lhs, Vec3 rhs)
 
KOKKOS_INLINE_FUNCTION scalar NeoN::mag (const Vec3 &vec)
 
std::ostream & NeoN::operator<< (std::ostream &out, const Vec3 &vec)
 
template<>
KOKKOS_INLINE_FUNCTION Vec3 NeoN::one< Vec3 > ()
 
template<>
KOKKOS_INLINE_FUNCTION Vec3 NeoN::zero< Vec3 > ()