www.cemf.ir
pFlow::triSurfaceKernels Namespace Reference

Functions

INLINE_FUNCTION_H bool calculateArea (const realx3Field_D &points, const uint32x3Field_D &vertices, realField_D &area)
 
INLINE_FUNCTION_H bool calculateNormals (const realx3Field_D &points, const uint32x3Field_D &vertices, realx3Field_D &normals)
 

Function Documentation

◆ calculateArea()

INLINE_FUNCTION_H bool pFlow::triSurfaceKernels::calculateArea ( const realx3Field_D points,
const uint32x3Field_D vertices,
realField_D area 
)

Definition at line 32 of file triSurfaceKernels.hpp.

References VectorSingle< T, MemorySpace >::deviceViewAll(), LAMBDA_HD, VectorSingle< T, MemorySpace >::size(), and pFlow::triangle::surface().

Referenced by triSurface::calculateArea(), and triSurface::read().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calculateNormals()

INLINE_FUNCTION_H bool pFlow::triSurfaceKernels::calculateNormals ( const realx3Field_D points,
const uint32x3Field_D vertices,
realx3Field_D normals 
)

Definition at line 57 of file triSurfaceKernels.hpp.

References VectorSingle< T, MemorySpace >::deviceViewAll(), LAMBDA_HD, pFlow::triangle::normal(), and VectorSingle< T, MemorySpace >::size().

Referenced by triSurface::calculateNormals(), geometryMotion< MotionModelType >::iterate(), and triSurface::read().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: