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

Go to the source code of this file.

Classes

struct  NeoN::TrackingMeshView
 Read-only views of a TrackingMesh, captured by value inside kernels. More...
class  NeoN::TrackingMesh
 Connectivity for locating points (e.g. particles) in an UnstructuredMesh and interpolating cell values to them, on the executor (CPU or GPU). More...

Namespaces

namespace  NeoN
 Integer types used throughout NeoN.

Enumerations

enum class  NeoN::TrackingFaceType : label { NeoN::internal = 0 , NeoN::cyclic = 1 , NeoN::escape = 2 }
 What happens to a point that leaves a cell through a face. More...

Functions

KOKKOS_INLINE_FUNCTION bool NeoN::pointInCell (const Vec3 &x, const label c, const TrackingMeshView &m)
 Is x inside cell c? Face-plane test, as OpenFOAM primitiveMesh::pointInCell (FACE_PLANES): x is not in front of any (outward-oriented) face plane of c.
KOKKOS_INLINE_FUNCTION label NeoN::locateCell (Vec3 &x, label hint, const TrackingMeshView &m)
 Locate the cell containing x, starting from cell hint.