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

Go to the source code of this file.

Namespaces

namespace  NeoN
 

Typedefs

typedef float NeoN::scalar
 

Functions

KOKKOS_INLINE_FUNCTION scalar NeoN::mag (const scalar &s)
 
template<>
KOKKOS_INLINE_FUNCTION scalar NeoN::one< scalar > ()
 
template<>
KOKKOS_INLINE_FUNCTION scalar NeoN::zero< scalar > ()
 

Variables

constexpr scalar NeoN::ROOTVSMALL = 1e-18