|
| template<unsigned int NDIM, typename TData > |
| NEK_HOSTDEVICE_INLINE void | Nektar::detail::AeroForcesKernel (const size_t point, const size_t nPoints, const size_t *NEK_RESTRICT pressureRowOffset, const size_t *NEK_RESTRICT pressureSource, const TData *NEK_RESTRICT pressureWeight, const size_t *NEK_RESTRICT gradientRowOffset, const size_t *NEK_RESTRICT gradientSource, const TData *NEK_RESTRICT gradientWeight, const TData *NEK_RESTRICT weightedNormals, const TData *NEK_RESTRICT momentArms, const TData *NEK_RESTRICT pressure, const TData *NEK_RESTRICT gradient, const size_t gradientCompSize, const unsigned int gradientDirections, const unsigned int velocityComponent0, const unsigned int velocityComponent1, const unsigned int velocityComponent2, const TData rho, const TData mu, TData *vals) |
| | Write the pressure and viscous tractions of one boundary quadrature point, and their moments about the pivot, to vals.
|
| |
| template<typename ExecSpace , unsigned int NDIM, typename TData > |
| void | Nektar::detail::AeroForcesKernelLauncher (const size_t nPoints, const size_t *pressureRowOffset, const size_t *pressureSource, const TData *pressureWeight, const size_t *gradientRowOffset, const size_t *gradientSource, const TData *gradientWeight, const TData *weightedNormals, const TData *momentArms, const TData *pressure, const TData *gradient, const unsigned int nPlanes, const size_t pressurePlaneSize, const size_t gradientPlaneSize, const unsigned int gradientDirections, const unsigned int velocityComponent0, const unsigned int velocityComponent1, const unsigned int velocityComponent2, const TData planeWeight, const TData rho, const TData mu, TData *result, const unsigned int streamID) |
| | Add the forces and moments on the boundary quadrature points of one block to the 3-vectors at result[0], result[3], result[6] and result[9], as AeroForcesKernel() lays them out.
|
| |