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

Go to the source code of this file.

Namespaces

namespace  NeoFOAM
 

Typedefs

typedef float NeoFOAM::scalar
 

Functions

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

Variables

constexpr scalar NeoFOAM::ROOTVSMALL = 1e-18