MRMD 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
math.hpp File Reference
#include "datatypes.hpp"

Go to the source code of this file.

Namespaces

namespace  mrmd
 
namespace  mrmd::util
 

Functions

KOKKOS_INLINE_FUNCTION real_t mrmd::util::dot3 (real_t const *const a, real_t const *const b)
 
KOKKOS_INLINE_FUNCTION real_t mrmd::util::sqr (const real_t &sqr)
 
KOKKOS_INLINE_FUNCTION real_t mrmd::util::powInt (const real_t &x, const idx_t n)
 
KOKKOS_INLINE_FUNCTION real_t mrmd::util::approxErfc (const real_t &x, real_t &expX2)
 "Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Table" Milton Abramowitz (1970) "Rational Approximations", equation 7.1.27:
 
KOKKOS_INLINE_FUNCTION real_t mrmd::util::approxErfc (const real_t &x)