NeoN
A framework for CFD software
Loading...
Searching...
No Matches
pointInterpolation.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  NeoN
 Integer types used throughout NeoN.

Functions

KOKKOS_INLINE_FUNCTION scalar NeoN::pointToBarycentric (const Vec3 &x, const Vec3 &a, const Vec3 &b, const Vec3 &c, const Vec3 &d, scalar w[4])
 Barycentric coordinates w of x in the tetrahedron (a, b, c, d).
template<typename ValueType>
KOKKOS_INLINE_FUNCTION ValueType NeoN::interpolateCellPoint (const TrackingMeshView &m, const View< const ValueType > &cellValues, const View< const ValueType > &pointValues, const label c, const Vec3 &x)
 Interpolate a field at x in cell c from cell and point values, as OpenFOAM's interpolationCellPoint.