|
Nektar++
|
Classes | |
| class | AdvectionBlockOpImpl |
| Device StdMat advection block operator: dense standard-region derivative matrices through the vendor BLAS, followed by a pointwise derivative-factor and velocity kernel. More... | |
| class | AdvectionDealiasBlockOpImpl |
| class | AdvectionDealiasOpImpl |
| class | AdvectionOpImpl |
| Execution-space implementation of AdvectionOp; registers it with the operator factory and implements its homogeneous-term hooks. More... | |
| class | AdvectionZOpImpl |
| The advection along the homogeneous direction, w du/dz. More... | |
| class | AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > > |
| Device backend for the homogeneous part of the advection term. More... | |
| class | AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX > > > |
| Host FFTW backend for the homogeneous part of the advection term. More... | |
| class | AssmbScatrNoSignOpImpl |
| Specialised assemble–scatter with no sign change: the assembly map's orientation factors are replaced by their absolute values, so contributions are summed without sign reconciliation. More... | |
| class | AssmbScatrOpImpl |
| Backend implementation of AssmbScatrOp: in-place assemble–scatter of a coefficient field for one execution space. More... | |
| class | AssmbScatrZeroDirOpImpl |
| Specialised assemble–scatter with zero Dirichlet action: global Dirichlet DOFs are zeroed rather than assembled. More... | |
| class | AvgAssmbScatrOpImpl |
| Implementation of AvgAssmbScatrOp for one execution space. More... | |
| struct | BasisDataSize1D |
| Size of the 1D basis matrix held in shared memory. More... | |
| struct | BasisDataSize2D |
| Sizes of the two 2D basis matrices held in shared memory. More... | |
| struct | BasisDataSize3D |
| Sizes of the three 3D basis matrices held in shared memory. More... | |
| class | BndCondPhysOpImpl |
| class | BwdTransBlockOpImpl |
| Device StdMat block implementation of the backward transform: the whole block's transform as a single strided batched dense matrix product on the back-end BLAS. More... | |
| class | BwdTransOpImpl |
| Whole-field implementation of BwdTransOp, registered with the operator factory once per execution space. More... | |
| struct | CGBndCondCoeffMaps |
| struct | CGBndCondRegions |
| class | CGBndCondSurfaceIntegral |
Adds the surface integral of boundary fields, per component and homogeneous plane, to a reduction in the memory space of ExecSpace, from the inner products of the fields with the basis of their boundary expansion lists. More... | |
| class | CurlCurlBlockOpImpl |
| Device StdMat curl-curl block operator: dense standard-region derivative matrices through the vendor BLAS, followed by pointwise curl kernels, applied twice. More... | |
| class | CurlCurlOpImpl |
| Whole-field implementation of CurlCurlOp for one execution space; adds the z parts of both curls on a multi-plane 3DH1 expansion. More... | |
| class | DerivZOpImpl |
| The homogeneous z-derivative, specialised per execution space in DerivZOpSerialAVX.hpp and DerivZOpDevice.hpp. More... | |
| class | DerivZOpImpl< ExecSpace, TData, LAYOUT, DERIVORDER, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > > |
| Device backend for the homogeneous z-derivative. More... | |
| class | DerivZOpImpl< ExecSpace, TData, LAYOUT, DERIVORDER, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX > > > |
| Host FFTW backend for the homogeneous z-derivative. More... | |
| class | DirBndCondOpImpl |
| class | DivergenceBlockOpImpl |
| Device StdMat implementation of DivergenceBlockOp: one strided-batched BLAS GEMM forming every reference-direction derivative of every component of the block, followed by one derivative-factor contraction per component accumulating into a single output component. More... | |
| class | DivergenceOpImpl |
| Whole-field implementation of DivergenceOp for one execution space, adding \(\partial w/\partial z\) on a multi-plane 3DH1 expansion (see the file notes). More... | |
| class | ExpressionBlockOpImpl |
| Device block-level Expression evaluator: runs a runtime-compiled kernel that evaluates every component's expression at every stored point of the block. More... | |
| struct | ExpressionKernelArgs |
| The arguments an expression kernel is launched with, in the order its parameter list declares them (see GetExpressionKernelParameters()). More... | |
| struct | ExpressionKernels |
| The name the generated source is compiled under. It only names the source in the runtime compiler's diagnostics. More... | |
| struct | ExpressionKernelVariant |
| One variant of the expression kernel: the template arguments instantiating it, and the suffix naming it where a back-end needs a kernel function of its own per variant. More... | |
| class | ExpressionOpImpl |
| Concrete whole-field Expression operator for one execution space. More... | |
| class | FwdTransBCBlockOpImpl |
| class | FwdTransBCOpImpl |
| class | HelmholtzBlockOpImpl |
| Device StdMat block implementation of the weak Helmholtz operator: the five-stage matrix-matrix decomposition issued through strided-batched GEMMs on the block's device stream. More... | |
| class | HelmholtzOpImpl |
| Whole-field implementation of HelmholtzOp for one execution space, owning the weak z-Laplacian (see the file notes). More... | |
| class | IProductWRTBaseBlockOpImpl |
| Device StdMat inner product with the basis: the whole block's inner product as one strided-batched dense matrix product on the back-end BLAS, preceded by a Jacobian kernel when the quadrature metric is in use. More... | |
| class | IProductWRTBaseOpImpl |
| Execution-space registration shell of IProductWRTBaseOp; adds no behaviour of its own. More... | |
| class | IProductWRTDerivBaseBlockOpImpl |
| Device StdMat inner product with the gradient of the basis: a geometric kernel followed by one strided-batched dense matrix multiplication per reference direction. More... | |
| class | IProductWRTDerivBaseOpImpl |
| Whole-field implementation of IProductWRTDerivBaseOp for one execution space, subtracting the inner product with the basis of \(\partial f_z/\partial z\) on a multi-plane 3DH1 Coeff field (see the file notes). More... | |
| class | IProductWRTPhysNormalDerivTraceBlockOpImpl |
| Device block implementation of the normal-derivative trace lift, one element per warp lane (MultiRegions::SumFac) or one or several per thread block (MultiRegions::SumFacTOP). More... | |
| class | IProductWRTPhysNormalDerivTraceOpImpl |
| Execution-space instantiation of the whole-field normal-derivative trace lift; adds the per-direction staging copy to IProductWRTPhysNormalDerivTraceOp and nothing else. More... | |
| class | IProductWRTPhysTraceBlockOpImpl |
| Device block implementation of the trace lifting term, one element per warp lane (MultiRegions::SumFac) or one element, or a group of them, per thread block (MultiRegions::SumFacTOP). More... | |
| class | IProductWRTPhysTraceOpImpl |
| Execution-space instantiation of the whole-field trace inner product; adds no behaviour of its own to IProductWRTPhysTraceOp. More... | |
| struct | IsNonTemplatedPhysSizeParameter1D |
| Trait: T is the runtime 1D physical-space size parameter. More... | |
| struct | IsNonTemplatedPhysSizeParameter1D< NonTemplatedPhysSizeParameter1D > |
| struct | IsNonTemplatedPhysSizeParameter2D |
| Trait: T is the runtime 2D physical-space size parameter. More... | |
| struct | IsNonTemplatedPhysSizeParameter2D< NonTemplatedPhysSizeParameter2D > |
| struct | IsNonTemplatedPhysSizeParameter3D |
| Trait: T is the runtime 3D physical-space size parameter. More... | |
| struct | IsNonTemplatedPhysSizeParameter3D< NonTemplatedPhysSizeParameter3D > |
| struct | IsNonTemplatedSizeParameter1D |
| Trait: T is the runtime 1D modal/quadrature size parameter. More... | |
| struct | IsNonTemplatedSizeParameter1D< NonTemplatedSizeParameter1D > |
| struct | IsNonTemplatedSizeParameter2D |
| Trait: T is the runtime 2D modal/quadrature size parameter. More... | |
| struct | IsNonTemplatedSizeParameter2D< NonTemplatedSizeParameter2D > |
| struct | IsNonTemplatedSizeParameter3D |
| Trait: T is the runtime 3D modal/quadrature size parameter. More... | |
| struct | IsNonTemplatedSizeParameter3D< NonTemplatedSizeParameter3D > |
| struct | IsNonTemplatedTraceSizeParameter1D |
| Trait: T is the runtime 1D trace size parameter. More... | |
| struct | IsNonTemplatedTraceSizeParameter1D< NonTemplatedTraceSizeParameter1D > |
| struct | IsNonTemplatedTraceSizeParameter2D |
| Trait: T is the runtime 2D trace size parameter. More... | |
| struct | IsNonTemplatedTraceSizeParameter2D< NonTemplatedTraceSizeParameter2D > |
| struct | IsNonTemplatedTraceSizeParameter3D |
| Trait: T is the runtime 3D trace size parameter. More... | |
| struct | IsNonTemplatedTraceSizeParameter3D< NonTemplatedTraceSizeParameter3D > |
| struct | IsPhysSizeParameter1D |
| T is a 1D physical-space size parameter (either form). More... | |
| struct | IsPhysSizeParameter2D |
| T is a 2D physical-space size parameter (either form). More... | |
| struct | IsPhysSizeParameter3D |
| T is a 3D physical-space size parameter (either form). More... | |
| struct | IsSizeParameter1D |
| T is a 1D modal/quadrature size parameter (either form). More... | |
| struct | IsSizeParameter2D |
| T is a 2D modal/quadrature size parameter (either form). More... | |
| struct | IsSizeParameter3D |
| T is a 3D modal/quadrature size parameter (either form). More... | |
| struct | IsTemplatedPhysSizeParameter1D |
| Trait: T is a compile-time 1D physical-space size parameter. More... | |
| struct | IsTemplatedPhysSizeParameter1D< TemplatedPhysSizeParameter1D< tncoord, tnq0 > > |
| struct | IsTemplatedPhysSizeParameter2D |
| Trait: T is a compile-time 2D physical-space size parameter. More... | |
| struct | IsTemplatedPhysSizeParameter2D< TemplatedPhysSizeParameter2D< tncoord, tnq0, tnq1 > > |
| struct | IsTemplatedPhysSizeParameter3D |
| Trait: T is a compile-time 3D physical-space size parameter. More... | |
| struct | IsTemplatedPhysSizeParameter3D< TemplatedPhysSizeParameter3D< tnq0, tnq1, tnq2 > > |
| struct | IsTemplatedSizeParameter1D |
| Trait: T is a compile-time 1D modal/quadrature size parameter. More... | |
| struct | IsTemplatedSizeParameter1D< TemplatedSizeParameter1D< tnm0, tnq0 > > |
| struct | IsTemplatedSizeParameter2D |
| Trait: T is a compile-time 2D modal/quadrature size parameter. More... | |
| struct | IsTemplatedSizeParameter2D< TemplatedSizeParameter2D< tnm0, tnm1, tnmTot, tnq0, tnq1 > > |
| struct | IsTemplatedSizeParameter3D |
| Trait: T is a compile-time 3D modal/quadrature size parameter. More... | |
| struct | IsTemplatedSizeParameter3D< TemplatedSizeParameter3D< tnm0, tnm1, tnm2, tnmTot, tnq0, tnq1, tnq2 > > |
| struct | IsTemplatedTraceSizeParameter1D |
| Trait: T is a compile-time 1D trace size parameter. More... | |
| struct | IsTemplatedTraceSizeParameter1D< TemplatedTraceSizeParameter1D< tnm0, tnq0 > > |
| struct | IsTemplatedTraceSizeParameter2D |
| Trait: T is a compile-time 2D trace size parameter. More... | |
| struct | IsTemplatedTraceSizeParameter2D< TemplatedTraceSizeParameter2D< tnm0, tnm1, tnq00, tnq10 > > |
| struct | IsTemplatedTraceSizeParameter3D |
| Trait: T is a compile-time 3D trace size parameter. More... | |
| struct | IsTemplatedTraceSizeParameter3D< TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 > > |
| struct | IsTraceSizeParameter1D |
| T is a 1D trace size parameter (either form). More... | |
| struct | IsTraceSizeParameter2D |
| T is a 2D trace size parameter (either form). More... | |
| struct | IsTraceSizeParameter3D |
| T is a 3D trace size parameter (either form). More... | |
| class | LaplacianBlockOpImpl |
| Device StdMat block implementation of the weak Laplacian operator: the three-stage matrix-matrix decomposition issued through strided-batched GEMMs on the block's device stream. More... | |
| class | LaplacianOpImpl |
| Whole-field implementation of LaplacianOp for one execution space, adding the z term on a multi-plane 3DH1 expansion (see the file notes). More... | |
| class | LinAdvDiffReactionBlockOpImpl |
| Device StdMat block implementation of the linearised advection-diffusion-reaction operator: dense standard-region matrices through the vendor BLAS, around a pointwise metric kernel. More... | |
| class | LinAdvDiffReactionOpImpl |
| Execution-space implementation of LinAdvDiffReactionOp; registers it with the operator factory and implements its homogeneous-term hooks. More... | |
| class | MassBlockOpImpl |
| Device StdMat mass operator: the whole block's operation as one or two strided-batched dense matrix products on the back-end BLAS, with the Jacobian applied by a device kernel between or after them. More... | |
| class | MassOpImpl |
| Execution-space registration shell of MassOp; adds no behaviour of its own. More... | |
| class | MultiplyByElmtInvMassBlockOpImpl |
| Device Generic inverse mass operator: the whole block's operation as one strided-batched dense matrix product on the back-end BLAS, with the Jacobian divided out by a device kernel on a regular block. More... | |
| class | MultiplyByElmtInvMassOpImpl |
| Execution-space registration shell of MultiplyByElmtInvMassOp; adds no behaviour of its own. More... | |
| class | NeuBndCondOpImpl |
| struct | NonTemplatedPhysSizeParameter1D |
| Runtime physical-space sizes of a 1D element: coordinate dimension and quadrature-point count (see the file notes on the size-parameter scheme). More... | |
| struct | NonTemplatedPhysSizeParameter2D |
| Runtime physical-space sizes of a 2D element: coordinate dimension and per-direction quadrature-point counts. More... | |
| struct | NonTemplatedPhysSizeParameter3D |
| Runtime physical-space sizes of a 3D element: per-direction quadrature-point counts. No coordinate dimension is carried, since a 3D element's coordinate dimension is always three. More... | |
| struct | NonTemplatedSizeParameter1D |
| Runtime modal and quadrature sizes of a 1D element: mode count and quadrature-point count. More... | |
| struct | NonTemplatedSizeParameter2D |
| Runtime modal and quadrature sizes of a 2D element. More... | |
| struct | NonTemplatedSizeParameter3D |
| Runtime modal and quadrature sizes of a 3D element. More... | |
| struct | NonTemplatedTraceSizeParameter1D |
| Runtime trace sizes of a 1D element: mode count and quadrature-point count of the segment, whose traces are its two end vertices. More... | |
| struct | NonTemplatedTraceSizeParameter2D |
Runtime trace sizes of a 2D element: the element's per-direction mode counts and the quadrature-point count of the edges the shape counts in each direction (LibUtilities::ShapeTypeNumTraceInDir): nq00 for direction 0, nq10 for direction 1. More... | |
| struct | NonTemplatedTraceSizeParameter3D |
Runtime trace sizes of a 3D element: the element's per-direction mode counts and the two in-face quadrature-point counts of the faces the shape counts in each direction (LibUtilities::ShapeTypeNumTraceInDir): nq00/nq01 for direction 0, nq10/nq11 for direction 1 and nq20/nq21 for direction 2. More... | |
| class | PhysDerivBlockOpImpl |
| Device StdMat block implementation of the physical derivative: the whole block's standard derivatives as dense matrix products on the back-end BLAS, followed by the geometric chain rule. More... | |
| class | PhysDerivOpImpl |
| Whole-field implementation of PhysDerivOp for one execution space, owning the homogeneous z-derivative (see the file notes). More... | |
| class | PhysGalerkinProject1DScaledBlockOpImpl |
| class | PhysGalerkinProject1DScaledOpImpl |
| class | PhysInterp1DScaledBlockOpImpl |
| Device StdMat block implementation of the scaled interpolation: the whole block's interpolation as a single strided-batched dense matrix product on the back-end BLAS. More... | |
| class | PhysInterp1DScaledOpImpl |
| Whole-field implementation of PhysInterp1DScaledOp, registered with the operator factory once per execution space. More... | |
| class | PhysLiftProjectBlockOpImpl |
| Device StdMat block implementation of the lift-and-project operator. More... | |
| class | PhysLiftProjectOpImpl |
| The whole-field lift-and-project operator registered with the operator factory, one per execution space; the work is in PhysLiftProjectOp and its block operators. More... | |
| class | PhysTraceExtractBlockOpImpl |
| Device block implementation of the trace extraction, one element per warp lane (MultiRegions::SumFac) or one element, or a group of them, per thread block (MultiRegions::SumFacTOP). More... | |
| class | PhysTraceExtractBndCond |
| Extracts a volume field onto the points of a boundary region of a continuous field. More... | |
| class | PhysTraceExtractOpImpl |
| Execution-space instantiation of the whole-field trace extraction; adds no behaviour of its own to PhysTraceExtractOp. More... | |
| class | RobBndCondOpImpl |
| struct | TemplatedPhysSizeParameter1D |
| Compile-time counterpart of NonTemplatedPhysSizeParameter1D, instantiated by the generated ShapeBlock switch code for sizes within the switch range. More... | |
| struct | TemplatedPhysSizeParameter2D |
| Compile-time counterpart of NonTemplatedPhysSizeParameter2D, instantiated by the generated ShapeBlock switch code for sizes within the switch range. More... | |
| struct | TemplatedPhysSizeParameter3D |
| Compile-time counterpart of NonTemplatedPhysSizeParameter3D, instantiated by the generated ShapeBlock switch code for sizes within the switch range. More... | |
| struct | TemplatedSizeParameter1D |
| Compile-time counterpart of NonTemplatedSizeParameter1D, instantiated by the generated ShapeBlock switch code for sizes within the switch range. More... | |
| struct | TemplatedSizeParameter2D |
| Compile-time counterpart of NonTemplatedSizeParameter2D, instantiated by the generated ShapeBlock switch code for sizes within the switch range. More... | |
| struct | TemplatedSizeParameter3D |
| Compile-time counterpart of NonTemplatedSizeParameter3D, instantiated by the generated ShapeBlock switch code for sizes within the switch range. More... | |
| struct | TemplatedTraceSizeParameter1D |
| Compile-time counterpart of NonTemplatedTraceSizeParameter1D, instantiated by the generated trace switch code for sizes within the switch range. More... | |
| struct | TemplatedTraceSizeParameter2D |
| Compile-time counterpart of NonTemplatedTraceSizeParameter2D, instantiated by the generated trace switch code for sizes within the switch range. More... | |
| struct | TemplatedTraceSizeParameter3D |
| Compile-time counterpart of NonTemplatedTraceSizeParameter3D, instantiated by the generated trace switch code for sizes within the switch range. More... | |
| struct | TraceTables |
| The trace tables of one element block. More... | |
Enumerations | |
| enum class | CGBndCondCoeffMapSet { Full , UniqueAndGroups } |
| enum class | DerivZLayout { ScalarToVectorZ , VectorZToScalar , Identity , CurlZ } |
| Which way round a homogeneous z-derivative maps its components. More... | |
| enum | ExpressionKernelIndex { eAppendScalar = 0 , eAssignScalar , eAppendInterleaved , eAssignInterleaved , eNumExpressionKernels } |
| The variants of the expression kernel that are compiled, in the order Apply() selects them: appending to or assigning the output, reading storage interleaved at width one or at the device warp size. More... | |
| enum class | PhysLiftProjectForm { Pointwise , StdInvMass , ElmtInvMass } |
| How a block applies \(B M^{-1} B^{\mathsf T}\). More... | |
| enum class | PhysLiftProjectKernel { Fused , LiftBasisTranspose , ScaleBwdTrans } |
| Which of the Device fused kernels of the StdInvMass form a shared-memory size is for. More... | |
Functions | |
| template<typename ExecSpace , typename TData , std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::AVX >, bool > Enable = true> | |
| static NEK_FORCE_INLINE void | AssembleScatrKernel (const unsigned nvals, const unsigned *nassemble, const unsigned *index, const unsigned *offset, const int8_t *sign, TData *inoutptr, const unsigned int streamID) |
| Assemble and scatter the device-interior global DOFs; AVX variant reading SIMD-interleaved map data. | |
| template<typename ExecSpace , typename TData , std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX >, bool > Enable = true> | |
| static NEK_FORCE_INLINE void | AssembleScatrBndKernel (const unsigned nvals, const unsigned *nassemble, const unsigned *nbndvals, const unsigned *index, const unsigned *offset, const int8_t *sign, TData *inoutptr, TData *bndptr, const unsigned int streamID) |
| Partially assemble the parallel-boundary global DOFs and pack the partial sums into the communication send buffer (Serial and AVX). | |
| template<typename ExecSpace , typename TData , std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX >, bool > Enable = true> | |
| static NEK_FORCE_INLINE void | AssembleFromBndKernel (const unsigned nvals, const unsigned *nassemble, const unsigned *nbndvals, const unsigned *index, const unsigned *offset, const int8_t *sign, const unsigned *norder, const TData *bndptr, TData *inoutptr, const unsigned int streamID) |
| Complete the assembly of the parallel-boundary global DOFs from the received partial sums and scatter the result (Serial and AVX). | |
| template<typename ExecSpace , typename TData > | |
| void | InverseMultiplicityKernel (const size_t nsize, TData *ptr, const unsigned int streamID) |
Replace every multiplicity in ptr by its reciprocal, and by zero where it is zero. | |
| template<typename ExecSpace , typename TData > | |
| void | CGBndCondGatherKernel (const size_t nsize, const size_t *idxPtr, const TData *srcPtr, TData *dstPtr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData > | |
| void | CGBndCondGatherScatterKernel (const size_t nsize, const size_t *srcIdxPtr, const size_t *dstIdxPtr, const TData *srcPtr, TData *dstPtr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData , std::enable_if_t<!std::is_same_v< ExecSpace, NektarSpaces::Device >, bool > Enable = true> | |
| void | CGBndCondUnpackAbsMaxKernel (const size_t nsize, const size_t *idxPtr, const TData *srcPtr, TData *dstPtr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData , typename IsMatchFn , typename OnMatchedRegionFn > | |
| CGBndCondRegions< TData > | BuildCGBndCondRegions (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const SpatialDomains::BoundaryRegionCollection &bregions, const SpatialDomains::BoundaryConditionCollection &bconditions, const std::string &wspLabel, std::vector< LibUtilities::Field< TData, FieldState::Phys > > &wspPhys, std::vector< LibUtilities::Field< TData, FieldState::Coeff > > &wspCoeffs, std::vector< std::shared_ptr< ExpressionOp< TData > > > &expressionOps, bool &hasTimeDependentBndCoeffs, IsMatchFn &&isMatch, OnMatchedRegionFn &&onMatchedRegion) |
| template<typename ExecSpace , typename TData , typename PerComponentFn > | |
| CGBndCondCoeffMaps< TData > | BuildCGBndCondCoeffMaps (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const SpatialDomains::BoundaryRegionCollection &bregions, const std::vector< std::vector< bool > > &isTypeByRegion, const std::vector< size_t > &numBcExpCoeffs, size_t numBndCoeffCompSize, const CGBndCondCoeffMapSet mapSet, PerComponentFn &&perComponent) |
| template<typename ExecSpace , typename TData > | |
| void | DirBndCondKernel (const size_t nsize, const size_t *mapPtr, const TData *inptr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData > | |
| void | DirBndCondKernel (const size_t nsize, const TData *signPtr, const size_t *mapPtr, const TData *inptr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData > | |
| void | ParallelDirBndSignKernel (const size_t nsize, const int *signPtr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData > | |
| void | LocalDirBndCondKernel (const size_t nsize, const size_t *id0Ptr, const size_t *id1Ptr, const TData *signPtr, const TData *inptr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | FwdTransBCSegKernel (const unsigned int nm0, const unsigned int nq0, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *w0, const unsigned int offset_seg, const simd_type *invintmass, const simd_type *jac, const simd_type *in, simd_type *out, simd_type *wsp1, simd_type *wsp2) |
| template<typename ExecSpace , bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | FwdTransBCQuadKernel (const unsigned int nm0, const unsigned int nm1, const unsigned int nq0, const unsigned int nq1, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const unsigned int offset_seg, const simd_type *invintmass0, const simd_type *invintmass1, const simd_type *tJac, const unsigned int *tMap, const int *tSign, const unsigned int nmTotInt, const unsigned int *iMap, const simd_type *invintmass, const simd_type *jac, const simd_type *in, simd_type *out, simd_type *wsp1, simd_type *wsp2, simd_type *wsp3, simd_type *wsp4) |
| template<typename ExecSpace , bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | FwdTransBCTriKernel (const unsigned int nm0, const unsigned int nm1, const unsigned int nq0, const unsigned int nq1, const bool isModified, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *interp1to0, const unsigned int offset_seg, const simd_type *invintmass0, const simd_type *tJac, const unsigned int *tMap, const int *tSign, const unsigned int nmTotInt, const unsigned int *iMap, const simd_type *invintmass, const simd_type *jac, const simd_type *in, simd_type *out, simd_type *wsp1, simd_type *wsp2, simd_type *wsp3, simd_type *wsp4) |
| template<typename ExecSpace , LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | FwdTransBC1DKernel (const unsigned int nm0, const unsigned int nq0, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *w0, const unsigned int offset_seg, const simd_type *invintmass, const simd_type *jac, const simd_type *in, simd_type *out, simd_type *wsp1, simd_type *wsp2) |
| template<typename ExecSpace , LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | FwdTransBC2DKernel (const unsigned int nm0, const unsigned int nm1, const unsigned int nq0, const unsigned int nq1, const bool isModified, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *interp1to0, const unsigned int offset_seg, const simd_type *invintmass0, const simd_type *invintmass1, const simd_type *tJac, const unsigned int *tMap, const int *tSign, const unsigned int nmTotInt, const unsigned int *iMap, const simd_type *invintmass, const simd_type *jac, const simd_type *in, simd_type *out, simd_type *wsp1, simd_type *wsp2, simd_type *wsp3, simd_type *wsp4) |
| template<typename ExecSpace , typename TData > | |
| void | NeuBndCondKernel (const size_t bndExpSize, const size_t *mapPtr, const TData *inptr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData > | |
| void | NeuBndCondKernel (const size_t bndExpSize, const TData *signPtr, const size_t *mapPtr, const TData *inptr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData > | |
| void | NeuBndCondGroupKernel (const size_t nGroups, const size_t *groupOffsetPtr, const size_t *groupTargetPtr, const TData *inptr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData > | |
| void | NeuBndCondGroupKernel (const size_t nGroups, const size_t *groupOffsetPtr, const size_t *groupTargetPtr, const TData *signPtr, const TData *inptr, TData *outptr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData , std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX >, bool > Enable = true> | |
| static NEK_FORCE_INLINE void | RobBndCond1DKernel (const size_t nsize, const size_t *offsetPtr, const TData *matPtr, const size_t *mapPtr, const TData *incoeffPtr, TData *coeffPtr, const unsigned int streamID) |
| template<typename ExecSpace , typename TData , std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX >, bool > Enable = true> | |
| static NEK_FORCE_INLINE void | RobBndCond2DKernel (const unsigned int nmaxcoeff, const size_t nsize, const unsigned int *ncoeffPtr, const size_t *offsetPtr, const size_t *matOffsetPtr, const size_t *mapOffsetPtr, const TData *matPtr, const size_t *mapPtr, const int *signPtr, const TData *incoeffPtr, TData *coeffPtr, const unsigned int streamID) |
| template<typename ExecSpace , bool APPEND, bool DEFORMED, typename TData , typename TScalar > | |
| static NEK_FORCE_INLINE void | MultiplyByDerivFactorAndAdvecVelKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t inoffset, const TData *dfptr, const TData *advVel, const size_t advelsize, const TData *inptr, TData *outptr, const TScalar scale) |
| From reference-space derivatives, form the Cartesian gradient and contract it with the advection velocity: out = scale * sum_k V_k sum_d df(k,d) du/dxi_d, evaluated per quadrature point with one element per SIMD lane. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | Advection1DKernel (const unsigned int nq0, const unsigned int ncoord, const simd_type *df_ptr, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *deriv0, simd_type *out, const typename simd_type::scalarType scale) |
| 1D advection finish: out = scale * du/dxi * sum_k df(k) V_k per quadrature point. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | Advection2DKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int ncoord, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *out, const typename simd_type::scalarType scale) |
| 2D advection finish: chain-rule the tensor-direction derivatives into Cartesian ones and contract with the velocity, out = scale * sum_k V_k sum_d df(k,d) du/dxi_d per point. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | Advection3DKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *out, const typename simd_type::scalarType scale) |
| 3D advection finish: chain-rule the tensor-direction derivatives into Cartesian ones and contract with the velocity, out = scale * sum_k V_k sum_d df(k,d) du/dxi_d per point. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, typename TPhysSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | AdvectionKernelLauncher (const TPhysSizeParameter1D sizeParam1D, const typename simd_type::scalarType *D0, const simd_type *df_ptr, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *deriv0, const simd_type *in, simd_type *out, const typename simd_type::scalarType scale) |
| Advect one element group of a 1D block: tensor-product differentiation followed by Advection1DKernel. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, typename TPhysSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | AdvectionKernelLauncher (const TPhysSizeParameter2D sizeParam2D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *deriv0, simd_type *deriv1, const simd_type *in, simd_type *out, const typename simd_type::scalarType scale) |
| Advect one element group of a 2D block: tensor-product differentiation followed by Advection2DKernel. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, typename TPhysSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | AdvectionKernelLauncher (const TPhysSizeParameter3D sizeParam3D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, const simd_type *in, simd_type *out, const typename simd_type::scalarType scale) |
| Advect one element group of a 3D block: tensor-product differentiation followed by Advection3DKernel. | |
| template<typename simd_type > | |
| static NEK_FORCE_INLINE void | AdvectionDealiasCombineKernel (const unsigned int nqTot, const unsigned int ncoord, const simd_type *advVelPtr, const unsigned int advVelOffset, const simd_type *gradPtr, const unsigned int gradOffset, simd_type *out, const typename simd_type::scalarType scale) |
| static NEK_FORCE_INLINE void | BwdTrans1DWorkspace (LibUtilities::ShapeType SHAPE_TYPE, const unsigned int nm0, const unsigned int nq0) |
| 1D workspace query: the segment kernel needs no workspace, so this is a no-op kept for uniformity with the 2D and 3D forms. | |
| static NEK_FORCE_INLINE void | BwdTrans2DWorkspace (LibUtilities::ShapeType SHAPE_TYPE, const unsigned int nm0, const unsigned int nm1, const unsigned int nq0, const unsigned int nq1, unsigned int &wsp0Size) |
Grow wsp0Size to the workspace the 2D kernels need for the given shape and sizes. | |
| static NEK_FORCE_INLINE void | BwdTrans3DWorkspace (LibUtilities::ShapeType SHAPE_TYPE, const unsigned int nm0, const unsigned int nm1, const unsigned int nm2, const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, unsigned int &wsp0Size, unsigned int &wsp1Size) |
Grow wsp0Size and wsp1Size to the workspaces the 3D kernels need for the given shape and sizes. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | BwdTransKernelLauncher (const TSizeParameter1D sizeParam1D, const bool isModified, const typename simd_type::scalarType *basis0, const simd_type *NtoM, const simd_type *in, simd_type *out) |
| 1D dispatch: forward one element group's transform to the segment kernel. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | BwdTransKernelLauncher (const TSizeParameter2D sizeParam2D, const bool isModified, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const simd_type *NtoM, simd_type *wsp0, const simd_type *in, simd_type *out) |
| 2D dispatch: select the quadrilateral or (nodal) triangular kernel for one element group at compile time. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | BwdTransKernelLauncher (const TSizeParameter3D sizeParam3D, const bool isModified, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *basis2, const simd_type *NtoM, simd_type *wsp0, simd_type *wsp1, const simd_type *in, simd_type *out) |
| 3D dispatch: select the hexahedral, (nodal) tetrahedral, (nodal) prismatic or pyramidal kernel for one element group at compile time. | |
| template<typename ExecSpace , bool DEFORMED, typename TData > | |
| static NEK_FORCE_INLINE void | Curl2DScalarStdMatKernel (const unsigned int nqTot, const TData *df_ptr, const TData *deriv, TData *omega) |
| Scalar curl of a two-dimensional vector field, omega = d(u1)/dx0 - d(u0)/dx1, per quadrature point with one element per SIMD lane. | |
| template<typename ExecSpace , bool DEFORMED, typename TData > | |
| static NEK_FORCE_INLINE void | Curl2DVectorStdMatKernel (const unsigned int nqTot, const TData *df_ptr, const TData *deriv, TData *out0, TData *out1) |
| Vector curl of a two-dimensional scalar field, out = ( d(omega)/dx1, -d(omega)/dx0 ), per quadrature point with one element per SIMD lane. | |
| template<typename ExecSpace , bool DEFORMED, typename TData > | |
| static NEK_FORCE_INLINE void | Curl3DStdMatKernel (const unsigned int nqTot, const TData *df_ptr, const TData *deriv, TData *out0, TData *out1, TData *out2) |
| Curl of a three-dimensional vector field, per quadrature point with one element per SIMD lane; used for both passes of the curl-curl operator, omega = curl u and out = curl omega. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | Curl2DScalarSumFacKernel (const unsigned nq0, const unsigned nq1, const unsigned int ncoord, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, const simd_type *tderiv0_0, const simd_type *tderiv1_0, const simd_type *tderiv0_1, const simd_type *tderiv1_1, simd_type *out) |
| Scalar curl of a two-dimensional vector field, omega = d(u1)/dx0 - d(u0)/dx1, from the tensor-direction derivatives of both components, per quadrature point with one element per SIMD lane. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | Curl2DVectorSumFacKernel (const unsigned nq0, const unsigned nq1, const unsigned int ncoord, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, const simd_type *tderiv0, const simd_type *tderiv1, simd_type *out0, simd_type *out1) |
| Vector curl of a two-dimensional scalar field, out = ( d(omega)/dx1, -d(omega)/dx0 ), from the tensor-direction derivatives of omega, per quadrature point with one element per SIMD lane. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | Curl3DSumFacKernel (const unsigned nq0, const unsigned nq1, const unsigned nq2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, const simd_type *tderiv0_0, const simd_type *tderiv1_0, const simd_type *tderiv2_0, const simd_type *tderiv0_1, const simd_type *tderiv1_1, const simd_type *tderiv2_1, const simd_type *tderiv0_2, const simd_type *tderiv1_2, const simd_type *tderiv2_2, simd_type *out0, simd_type *out1, simd_type *out2) |
| Curl of a three-dimensional vector field from the tensor-direction derivatives of its three components, per quadrature point with one element per SIMD lane; used for both passes of the curl-curl operator, omega = curl u and out = curl omega. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | CurlCurlKernelLauncher (const TPhysSizeParameter1D sizeParam1D, const typename simd_type::scalarType *D0, const simd_type *df_ptr, simd_type *wsp, const simd_type *in0, simd_type *out0) |
| 1D entry point: the curl-curl is undefined on a segment, so the group's single component is differentiated once – PhysDerivTensor1DKernel followed by PhysDerivDir1DKernel with the direction-0 derivative factor – and the derivative written to the output. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | CurlCurlKernelLauncher (const TPhysSizeParameter2D sizeParam2D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, simd_type *wsp, const simd_type *in0, const simd_type *in1, simd_type *out0, simd_type *out1) |
| 2D entry point: evaluate curl(curl u) for one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | Curl3DH1KernelLauncher (const TPhysSizeParameter2D sizeParam2D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, simd_type *wsp, const simd_type *in0, const simd_type *in1, const simd_type *in2, simd_type *out0, simd_type *out1, simd_type *out2) |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | CurlCurlKernelLauncher (const TPhysSizeParameter3D sizeParam3D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, simd_type *wsp, const simd_type *in0, const simd_type *in1, const simd_type *in2, simd_type *out0, simd_type *out1, simd_type *out2) |
| 3D entry point: evaluate curl(curl u) for one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | DivergenceKernelLauncher (const TPhysSizeParameter1D sizeParam1D, const typename simd_type::scalarType *D0, const simd_type *df_ptr, simd_type *wsp0, const simd_type *in0, simd_type *out) |
Differentiate one element group of a 1D block: out = du/dx, with u the single component at in0. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | DivergenceKernelLauncher (const TPhysSizeParameter2D sizeParam2D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, simd_type *wsp0, simd_type *wsp1, const simd_type *in0, const simd_type *in1, simd_type *out) |
Differentiate one element group of a 2D block: out = du/dx + dv/dy, with u and v the components at in0 and in1. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | DivergenceKernelLauncher (const TPhysSizeParameter3D sizeParam3D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, simd_type *wsp0, simd_type *wsp1, simd_type *wsp2, const simd_type *in0, const simd_type *in1, const simd_type *in2, simd_type *out) |
Differentiate one element group of a 3D block: out = du/dx + dv/dy + dw/dz, with u, v and w the components at in0, in1 and in2. | |
| template<typename TSizeParameter > | |
| static NEK_FORCE_INLINE auto | TransposeSizeParameter (const TSizeParameter sizeParam) |
| Exchange the mode and quadrature roles of a size parameter. | |
| std::array< ExpressionKernelVariant, eNumExpressionKernels > | GetExpressionKernelVariants (void) |
| The kernel variants, in ExpressionKernelIndex order. | |
| int | findMatching (const std::string &s, int start, int direction) |
Find the bracket matching the one at start by scanning in the given direction. | |
| std::string | convertPow (std::string expr) |
Rewrite every caret power x^y in expr into a pow(x, y) call, since ^ is exclusive-or rather than exponentiation in the generated kernel source. | |
| std::string | GetExpressionKernelConstants (const std::vector< LibUtilities::EquationSharedPtr > &exprs) |
| Emit the constants and the parameters of the expressions as macro variables, so that they are substituted when the kernel is compiled. A name defined by several expressions is emitted once. | |
| std::string | GetExpressionKernelParameters (const std::vector< std::string > &vnames, const std::vector< bool > &cmask) |
Emit the parameter list of an expression kernel, without the enclosing brackets: the fields of ExpressionKernelArgs in order, the EVAR pointers named <name>ptr and the outputs out<nc>. | |
| std::string | GetExpressionKernelArguments (const std::vector< std::string > &vnames, const std::vector< bool > &cmask) |
| Emit the argument list matching GetExpressionKernelParameters(), without the enclosing brackets, so that a kernel can forward its parameters on. | |
| bool | IsDeviceExpression (const std::set< std::string > &variables, const std::set< std::string > &functions, const unsigned int coordDim) |
Whether the expression kernel can be compiled for an expression using variables and calling functions (see ExpressionBlockOp::GetExpressionVariables() and ExpressionBlockOp::GetExpressionFunctions()). | |
| std::string | GetExpressionKernelBody (const std::vector< LibUtilities::EquationSharedPtr > &exprs, const std::vector< bool > &cmask, const std::vector< std::string > &vnames, const unsigned int coordDim, const std::string &threadIndex, const std::string &mathPrefix) |
| Emit the body of an expression kernel, without the enclosing braces. | |
| void | InitExpressionKernelCompiler (void) |
Initialise the device context the runtime compiler needs: a cudaFree(0)/hipFree(0) on the native builds, nothing on SYCL. | |
| template<typename TData > | |
| std::array< std::string, eNumExpressionKernels > | GetExpressionKernelNameExpressions (void) |
| The name expressions the kernel variants are registered and looked up under, in ExpressionKernelIndex order. | |
| template<typename TData > | |
| std::string | GetExpressionKernelSource (const std::vector< LibUtilities::EquationSharedPtr > &exprs, const std::vector< bool > &cmask, const unsigned int coordDim) |
| Generate the CUDA/HIP source of the expression kernel. | |
| void | ReleaseExpressionKernels (ExpressionKernels &kernels) |
| Unload the module holding the compiled kernels, if any. | |
| template<typename TData > | |
| void | BuildExpressionKernels (ExpressionKernels &kernels, const std::string &kernel_src) |
| Compile the generated source and retrieve the kernels from it, releasing the kernels compiled for any previous expression. | |
| template<typename TData , typename TStream > | |
| void | EnqueueExpressionKernel (const ExpressionKernels &kernels, const ExpressionKernelIndex index, const ExpressionKernelArgs< TData > &kernelArgs, const unsigned int gridSize, const unsigned int blockSize, TStream stream) |
| Launch a variant of the compiled kernels on a native stream. | |
| template<typename TData > | |
| void | CompileExpressionKernels (ExpressionKernels &kernels, const std::string &kernel_src, const unsigned int streamID) |
| Compile the generated source; see BuildExpressionKernels(). | |
| template<typename TData > | |
| void | LaunchExpressionKernel (const ExpressionKernels &kernels, const ExpressionKernelIndex index, const ExpressionKernelArgs< TData > &kernelArgs, const unsigned int gridSize, const unsigned int blockSize, const unsigned int streamID) |
| Launch a variant of the compiled kernels on the block's stream. | |
| template<typename ExecSpace , bool DEFORMED, bool VARCOEFF, typename TData , typename TScalar > | |
| static NEK_FORCE_INLINE void | ApplyMetricKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t insize, const size_t outsize, const TScalar *diffCoeff, const TData *varDiffCoeff, const size_t varDiffCoeffSize, const TData *jacptr, const TData *dfptr, const TData *inptr, TData *outptr, TData *bwdptr, const TScalar scale) |
Apply the Jacobian, the derivative factors and the diffusion tensor to one group's reference derivatives, and scale its physical values by lambda * J. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJSegKernel (const unsigned int ncoord, const unsigned int nq0, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const simd_type *df_ptr, simd_type *deriv0, simd_type *phys, typename simd_type::scalarType lambda=0.0) |
| Segment kernel contracting reference derivative with diffusion tensor and metric terms, with optional lambda-weighted mass contribution. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJTriKernel (const unsigned int ncoord, const unsigned int nq0, const unsigned int nq1, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac1, simd_type *deriv0, simd_type *deriv1, simd_type *phys, typename simd_type::scalarType lambda=0.0) |
| Triangle kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJQuadKernel (const unsigned int ncoord, const unsigned int nq0, const unsigned int nq1, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *df_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *phys, typename simd_type::scalarType lambda=0.0) |
| Quad kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJHexKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *phys, typename simd_type::scalarType lambda=0.0) |
| Hex kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJTetKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac1, const simd_type *hfac2, const simd_type *hfac3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *phys, typename simd_type::scalarType lambda=0.0) |
| Tet kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJPrismKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *phys, typename simd_type::scalarType lambda=0.0) |
| Prism kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJPyrKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac1, const simd_type *hfac3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *phys, typename simd_type::scalarType lambda=0.0) |
| Pyramid kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJ1DKernel (const unsigned int ncoord, const unsigned int nq0, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const simd_type *df_ptr, simd_type *deriv0, simd_type *phys=nullptr, typename simd_type::scalarType lambda=0.0) |
| 1D launcher dispatching to DiffusionCoeffwithWJSegKernel. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJ2DKernel (const unsigned int ncoord, const unsigned int nq0, const unsigned int nq1, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *df_ptr, const simd_type *h0, const simd_type *h1, simd_type *deriv0, simd_type *deriv1, simd_type *phys=nullptr, typename simd_type::scalarType lambda=0.0) |
| 2D launcher dispatching to shape-specific metric kernels. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJ3DKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *h0, const simd_type *h1, const simd_type *h2, const simd_type *h3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *phys=nullptr, typename simd_type::scalarType lambda=0.0) |
| 3D launcher dispatching to shape-specific metric kernels. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | HelmholtzKernelLauncher (const TSizeParameter1D sizeParam1D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *w0, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, simd_type *deriv0, simd_type *bwd, const simd_type *in, simd_type *out, const typename simd_type::scalarType lambda) |
| 1D launcher stringing together the five sum-factorised stages for one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | HelmholtzKernelLauncher (const TSizeParameter2D sizeParam2D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *f0, const simd_type *f1, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, simd_type *wsp0, simd_type *deriv0, simd_type *deriv1, simd_type *bwd, const simd_type *in, simd_type *out, const typename simd_type::scalarType lambda) |
| 2D launcher stringing together the five sum-factorised stages for one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | HelmholtzKernelLauncher (const TSizeParameter3D sizeParam3D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *basis2, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, simd_type *wsp0, simd_type *wsp1, simd_type *wsp2, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *bwd, const simd_type *in, simd_type *out, const typename simd_type::scalarType lambda) |
| 3D launcher stringing together the five sum-factorised stages for one element group. | |
| static NEK_FORCE_INLINE void | IProduct1DWorkspace (LibUtilities::ShapeType SHAPE_TYPE, const unsigned int nm0, const unsigned int nq0) |
| 1D workspace query: the segment kernel contracts its only direction straight into the output and needs no workspace, so this is a no-op kept for uniformity with the 2D and 3D forms. | |
| static NEK_FORCE_INLINE void | IProduct2DWorkspace (LibUtilities::ShapeType SHAPE_TYPE, const unsigned int nm0, const unsigned int nm1, const unsigned int nq0, const unsigned int nq1, unsigned int &wsp0Size) |
Grow wsp0Size to the workspace the 2D launcher needs for the given shape and sizes. | |
| static NEK_FORCE_INLINE void | IProduct3DWorkspace (LibUtilities::ShapeType SHAPE_TYPE, const unsigned int nm0, const unsigned int nm1, const unsigned int nm2, const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, unsigned int &wsp0Size, unsigned int &wsp1Size, unsigned int &wsp2Size) |
Grow wsp0Size, wsp1Size and wsp2Size to the workspaces the 3D launcher needs for the given shape and sizes. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, bool DEFORMED, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTBaseKernelLauncher (const TSizeParameter1D sizeParam1D, const bool isModified, const simd_type *in, const typename simd_type::scalarType *B0, const typename simd_type::scalarType *w0, const simd_type *NtoMTrans, const simd_type *jac, simd_type *out, typename simd_type::scalarType scale=1.0) |
| 1D launcher: forward one element group's inner product to the segment kernel, quadrature metric included. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTBaseKernelLauncher (const TSizeParameter1D sizeParam1D, const bool isModified, const simd_type *in, const typename simd_type::scalarType *B0, const simd_type *NtoMTrans, simd_type *out, typename simd_type::scalarType scale=1.0) |
| 1D launcher without the quadrature metric: applies the basis transpose alone to one element group; selected by the absence of the weight and Jacobian arguments. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, bool DEFORMED, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTBaseKernelLauncher (const TSizeParameter2D sizeParam2D, const bool isModified, const simd_type *in, const typename simd_type::scalarType *B0, const typename simd_type::scalarType *B1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *NtoMTrans, const simd_type *jac, simd_type *wsp0, simd_type *out, typename simd_type::scalarType scale=1.0) |
| 2D launcher: select the quadrilateral or (nodal) triangular kernel for one element group at compile time, quadrature metric included. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTBaseKernelLauncher (const TSizeParameter2D sizeParam2D, const bool isModified, const simd_type *in, const typename simd_type::scalarType *B0, const typename simd_type::scalarType *B1, const simd_type *NtoMTrans, simd_type *wsp0, simd_type *out, typename simd_type::scalarType scale=1.0) |
2D launcher without the quadrature metric: applies the basis transpose alone, otherwise identical to the metric overload, including the NodalTri behaviour of APPEND noted there. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, bool DEFORMED, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTBaseKernelLauncher (const TSizeParameter3D sizeParam3D, const bool isModified, const simd_type *in, const typename simd_type::scalarType *B0, const typename simd_type::scalarType *B1, const typename simd_type::scalarType *B2, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *NtoMTrans, const simd_type *jac, simd_type *wsp0, simd_type *wsp1, simd_type *wsp2, simd_type *out, typename simd_type::scalarType scale=1.0) |
| 3D launcher: select the hexahedral, (nodal) tetrahedral, (nodal) prismatic or pyramidal kernel for one element group at compile time, quadrature metric included. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTBaseKernelLauncher (const TSizeParameter3D sizeParam3D, const bool isModified, const simd_type *in, const typename simd_type::scalarType *B0, const typename simd_type::scalarType *B1, const typename simd_type::scalarType *B2, const simd_type *NtoMTrans, simd_type *wsp0, simd_type *wsp1, simd_type *wsp2, simd_type *out, typename simd_type::scalarType scale=1.0) |
3D launcher without the quadrature metric: applies the basis transpose alone, otherwise identical to the metric overload, including the nodal-shape behaviour of APPEND noted there. | |
| template<typename ExecSpace , bool DEFORMED, typename TData > | |
| static NEK_FORCE_INLINE void | JacobianDerivFactorKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t inoffset, const size_t outsize, const TData *jacptr, const TData *dfptr, const TData *inptr, TData *outptr, const TData scale) |
| Multiply the input vector by the derivative factors and the Jacobian, without the quadrature weights (Coeff output path). | |
| template<typename ExecSpace , bool DEFORMED, typename TData > | |
| static NEK_FORCE_INLINE void | JacobianDerivFactorWeightsKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t inoffset, const size_t outsize, const TData *jacptr, const TData *dfptr, const TData *weights, const TData *inptr, TData *outptr, const TData scale) |
| Multiply the input vector by the derivative factors, the Jacobian and the quadrature weights (Phys output path). | |
| template<bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | StdAlignDerivBase1D (const unsigned int nq0, const unsigned int indim, const simd_type *df_ptr, simd_type *df_tmp, const size_t inoffset, const simd_type *in, simd_type *out, const simd_type *jac_ptr, const typename simd_type::scalarType *w) |
| Contract the input vector with the derivative factors of a segment and apply the quadrature metric. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | StdAlignDerivBase2D (const unsigned int nq0, const unsigned int nq1, const unsigned int indim, const simd_type *df_ptr, simd_type *df_tmp, const size_t inoffset, const simd_type *inptr, simd_type *out[2], const simd_type *Fac0, const simd_type *Fac1, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1) |
| Contract the input vector with the derivative factors of a quadrilateral or triangle and apply the quadrature metric. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | StdAlignDerivBase3D (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const simd_type *df_ptr, simd_type *df_tmp, const size_t inoffset, const simd_type *Fac0, const simd_type *Fac1, const simd_type *Fac1m, const simd_type *Fac2, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *inptr, simd_type *out[3]) |
| Contract the input vector with the derivative factors of a three-dimensional element and apply the quadrature metric. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTDerivBaseKernelLauncher (const TSizeParameter1D sizeParam1D, const unsigned int indim, const simd_type *df_ptr, simd_type *df_tmp, const size_t inoffset, const simd_type *in, const simd_type *jac, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *D0, simd_type *tmp0, simd_type *out) |
| Segment launcher: form the weighted direction field of one element group and apply the transposed derivative. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTDerivBaseKernelLauncher (const TSizeParameter2D sizeParam2D, const unsigned int indim, const simd_type *df_ptr, simd_type *df_tmp, const size_t inoffset, const simd_type *in, const simd_type *f0, const simd_type *f1, const simd_type *jac, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, simd_type *tmp0, simd_type *tmp1, simd_type *out) |
| Quadrilateral or triangle launcher: form the two weighted direction fields of one element group and apply the transposed derivatives. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTDerivBaseKernelLauncher (const TSizeParameter3D sizeParam3D, const unsigned int indim, const simd_type *df_ptr, simd_type *df_tmp, const size_t inoffset, const simd_type *in, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *jac, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, simd_type *tmp0, simd_type *tmp1, simd_type *tmp2, simd_type *out) |
| Three-dimensional launcher: form the three weighted direction fields of one element group and apply the transposed derivatives. | |
| constexpr bool | IsCollapsedDir (LibUtilities::ShapeType shape, unsigned dir) |
| Directions in which a shape is collapsed: those whose chain rule from the element local coordinate to the collapsed one carries a \(2/(1 - \eta)\) factor. Direction 0 is never collapsed. | |
| constexpr bool | CompNeedsCollapsedFac (LibUtilities::ShapeType shape, unsigned d, unsigned dir) |
Whether component d of the trace normal derivative factors, which multiplies \(\partial/\partial\eta_d\), needs the \(2/(1 - \eta)\) factor of collapsed direction dir. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter1D , std::enable_if_t< std::is_same_v< Implementation, SumFac > &&IsTraceSizeParameter1D_v< TTraceSizeParameter1D >, bool > Enable = true> | |
| constexpr size_t | IProductWRTPhysNormalDerivTraceWorkSpaceSize (const size_t nelmt, const TTraceSizeParameter1D sizeParam1D) |
| Workspace of a whole block, per component: none, a segment's traces being points. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter2D , std::enable_if_t< std::is_same_v< Implementation, SumFac > &&IsTraceSizeParameter2D_v< TTraceSizeParameter2D >, bool > Enable = true> | |
| constexpr size_t | IProductWRTPhysNormalDerivTraceWorkSpaceSize (const size_t nelmt, const TTraceSizeParameter2D sizeParam2D) |
| Workspace of a whole block, per component: an edge pair's trace-mode buffer followed by a volume-sized buffer for the collapsed factor scaling, one of each per element. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter3D , std::enable_if_t< std::is_same_v< Implementation, SumFac > &&IsTraceSizeParameter3D_v< TTraceSizeParameter3D >, bool > Enable = true> | |
| constexpr size_t | IProductWRTPhysNormalDerivTraceWorkSpaceSize (const size_t nelmt, const TTraceSizeParameter3D sizeParam3D) |
| Workspace of a whole block, per component: the face mode blocks of a face pair, the contraction scratch and a volume-sized buffer for the collapsed factor scaling, one of each per element. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter1D , std::enable_if_t< std::is_same_v< Implementation, SumFac > &&IsTraceSizeParameter1D_v< TTraceSizeParameter1D >, bool > Enable = true> | |
| constexpr unsigned int | IProductWRTPhysNormalDerivTraceSharedMemorySize (const TTraceSizeParameter1D sizeParam1D, const unsigned int elmtsPerBlock, const bool useSharedMemoryWsp) |
| Dynamic shared memory one block needs, in elements: none, a segment having no collapsed direction and no workspace. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter2D , std::enable_if_t< std::is_same_v< Implementation, SumFac > &&IsTraceSizeParameter2D_v< TTraceSizeParameter2D >, bool > Enable = true> | |
| constexpr unsigned int | IProductWRTPhysNormalDerivTraceSharedMemorySize (const TTraceSizeParameter2D sizeParam2D, const unsigned int elmtsPerBlock, const bool useSharedMemoryWsp) |
Dynamic shared memory one block needs, in elements: the \(2/(1 - \eta_1)\) table of a collapsed shape, staged once per block, then, with useSharedMemoryWsp, the workspace of the block's elmtsPerBlock elements. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter3D , std::enable_if_t< std::is_same_v< Implementation, SumFac > &&IsTraceSizeParameter3D_v< TTraceSizeParameter3D >, bool > Enable = true> | |
| constexpr unsigned int | IProductWRTPhysNormalDerivTraceSharedMemorySize (const TTraceSizeParameter3D sizeParam3D, const unsigned int elmtsPerBlock, const bool useSharedMemoryWsp) |
Dynamic shared memory one block needs, in elements: the \(2/(1 - \eta)\) tables of the shape's collapsed directions, staged once per block, then, with useSharedMemoryWsp, the workspace of the block's elmtsPerBlock elements. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , bool DEFORMED, typename TTraceSizeParameter1D , typename TData , typename TthreadBlock , typename TUseSharedWsp , std::enable_if_t< std::is_same_v< Implementation, SumFac >, bool > Enable = true> | |
| NEK_DEVICE_KERNEL void | __LAUNCH_BOUNDS__ ((GetMaxThreadPerBlock< Implementation, TTraceSizeParameter1D >())) IProductWRTPhysNormalDerivTraceKernelLauncher(const TTraceSizeParameter1D sizeParam1D |
| The one-dimensional lift: \(\langle \partial_n \phi, g \rangle\) over a segment's two vertices, one lane per element. | |
| while (e< nelmt) | |
| template<typename TData > | |
| NEK_DEVICE_INLINE void | ScaleAddCollapsedFacKernel (const unsigned int ilane, const unsigned int nm0, const unsigned int nm1, const unsigned int nm2, const bool useD1, const bool useD2, const TData *NEK_RESTRICT twoOver1, const TData *NEK_RESTRICT twoOver2, const TData *NEK_RESTRICT volwsp, TData *NEK_RESTRICT out) |
Scale a volume workspace by the collapsed factors a trace group still needs and accumulate it into the output. The factors are table data shared by the block and indexed directly; the volume arrays are warp interleaved. In two dimensions nm2 is one and twoOver2 is unread. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , bool DEFORMED, typename TTraceSizeParameter2D , typename TData , typename TthreadBlock , typename TUseSharedWsp , std::enable_if_t< std::is_same_v< Implementation, SumFac >, bool > Enable = true> | |
| NEK_DEVICE_KERNEL void | __LAUNCH_BOUNDS__ ((GetMaxThreadPerBlock< Implementation, TTraceSizeParameter2D >())) IProductWRTPhysNormalDerivTraceKernelLauncher(const TTraceSizeParameter2D sizeParam2D |
| All edges of one two-dimensional element: the two terms of the operator, one per element direction, accumulated in turn; one lane per element. | |
| FETCH_SHARED_MEMORY (shmemptr) | |
| if | constexpr (SHAPE_TYPE==LibUtilities::Tri||SHAPE_TYPE==LibUtilities::NodalTri) |
| DispatchWorkSpace (useSharedMemoryWsp, [&](const auto isShared) { TData *wspbase=isShared ?(TData *) shmemptr+tableSize :wsp;while(e< nelmt) { const size_t ilane=e % warpsize;const size_t iwarp=e/warpsize;const TData *inptr=in+numDataIn *(nelmt *c+warpsize *iwarp);TData *outptr=out+numDataOut *(nelmt *c+warpsize *iwarp);const size_t wspOffset=isShared ? 0 :nelmt *c+warpsize *iwarp;TData *wspptr=wspbase+(edgeSize+numDataOut) *wspOffset;TData *volptr=wspptr+edgeSize *warpsize;const unsigned int off1=warpsize *2 *tnq00;const unsigned int joff1=(DEFORMED) ? off1 :warpsize *2;for(unsigned int d=0;d< 2;++d) { const bool useD1=CompNeedsCollapsedFac(SHAPE_TYPE, d, 1);const TData *jacptr=jac+d *jacCompStride+numDataJac *warpsize *iwarp;if(!(append||d > 0)) { for(unsigned int p=0;p< numDataOut;++p) { outptr[warpsize *p+ilane]=0.0;} } { TData *dst=useD1 ? volptr :outptr;if(useD1) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } const TData *nb=(0==d) ? dnbasis0 :nbasis0;const TData *tb=(traceDir0==d) ? dtbasis0 :tbasis0;const bool coll=(traceDir0==d) ? false :isColl0;const bool endp=(0==d) ? false :endPtsColl0;if(endp) { IPWRTPhysTraceEdgeN0Kernel< true, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nb, tnq00, tb, tw0, jacptr, wspptr, inptr, dst, coll);} else { IPWRTPhysTraceEdgeN0Kernel< false, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nb, tnq00, tb, tw0, jacptr, wspptr, inptr, dst, coll);} if(useD1) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, 1u, true, false, s_twoOver1, s_twoOver1, volptr, outptr);} } { const TData *nb=(1==d) ? dnbasis1 :nbasis1;const TData *tb=(traceDir1==d) ? dtbasis1 :tbasis1;const bool coll=(traceDir1==d) ? false :isColl1;const bool endp=(1==d) ? false :endPtsColl1;if(endp) { IPWRTPhysTraceEdgeN1Kernel< true, DEFORMED >(ilane, 0, nedgeN1, nedgeN1, nm0, nm1, nb, tnq10, tb, tw1, jacptr+joff1, wspptr, inptr+off1, outptr, coll);} else { IPWRTPhysTraceEdgeN1Kernel< false, DEFORMED >(ilane, 0, nedgeN1, nedgeN1, nm0, nm1, nb, tnq10, tb, tw1, jacptr+joff1, wspptr, inptr+off1, outptr, coll);} } } e+=getGlobalRange< 0 >(threadBlock);} }) | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , bool DEFORMED, typename TTraceSizeParameter3D , typename TData , typename TthreadBlock , typename TUseSharedWsp , std::enable_if_t< std::is_same_v< Implementation, SumFac >, bool > Enable = true> | |
| NEK_DEVICE_KERNEL void | __LAUNCH_BOUNDS__ ((GetMaxThreadPerBlock< Implementation, TTraceSizeParameter3D >())) IProductWRTPhysNormalDerivTraceKernelLauncher(const TTraceSizeParameter3D sizeParam3D |
| All faces of one three-dimensional element: the three terms of the operator, one per element direction, accumulated in turn; one lane per element. | |
| DispatchWorkSpace (useSharedMemoryWsp, [&](const auto isShared) { TData *wspbase=isShared ?(TData *) shmemptr+tableSize :wsp;while(e< nelmt) { const size_t ilane=e % warpsize;const size_t iwarp=e/warpsize;const TData *inptr=in+numDataIn *(nelmt *c+warpsize *iwarp);TData *outptr=out+numDataOut *(nelmt *c+warpsize *iwarp);const size_t wspOffset=isShared ? 0 :nelmt *c+warpsize *iwarp;TData *wspptr=wspbase+(wsp0Size+wsp1Size+numDataOut) *wspOffset;TData *wsp1ptr=wspptr+wsp0Size *warpsize;TData *volptr=wsp1ptr+wsp1Size *warpsize;const unsigned int in1=2 *tnq00 *tnq01;const unsigned int jac1=DEFORMED ? in1 :2;const unsigned int in2=in1+nfaceN1 *tnq10 *tnq11;const unsigned int jac2=jac1+(DEFORMED ? nfaceN1 *tnq10 *tnq11 :nfaceN1);for(unsigned int d=0;d< 3;++d) { const bool c1=CompNeedsCollapsedFac(SHAPE_TYPE, d, 1);const bool c2=CompNeedsCollapsedFac(SHAPE_TYPE, d, 2);const TData *jacptr=jac+d *jacCompStride+numDataJac *warpsize *iwarp;if(!(append||d > 0)) { for(unsigned int p=0;p< numDataOut;++p) { outptr[warpsize *p+ilane]=0.0;} } const TData *nbd0=(0==d) ? dnbasis0 :nbasis0;const TData *nbd1=(1==d) ? dnbasis1 :nbasis1;const TData *nbd2=(2==d) ? dnbasis2 :nbasis2;const TData *tbd0=(traceDir00==d) ? dtbasis00 :tbasis00;const TData *tbd1=(traceDir01==d) ? dtbasis01 :tbasis01;const TData *tbd2=(traceDir10==d) ? dtbasis10 :tbasis10;const TData *tbd3=(traceDir11==d) ? dtbasis11 :tbasis11;const TData *tbd4=(traceDir20==d) ? dtbasis20 :tbasis20;const TData *tbd5=(traceDir21==d) ? dtbasis21 :tbasis21;const bool cd0=(traceDir00==d) ? false :isColl00;const bool cd1=(traceDir01==d) ? false :isColl01;const bool cd2=(traceDir10==d) ? false :isColl10;const bool cd3=(traceDir11==d) ? false :isColl11;const bool cd4=(traceDir20==d) ? false :isColl20;const bool cd5=(traceDir21==d) ? false :isColl21;const bool epd0=(0==d) ? false :endPtsColl0;const bool epd1=(1==d) ? false :endPtsColl1;const bool epd2=(2==d) ? false :endPtsColl2;{ const bool scale=c1||c2;TData *dst=scale ? volptr :outptr;if(scale) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } if(epd0) { IPWRTPhysTraceFaceN0Kernel< true, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nm2, nbd0, tnq00, tnq01, tbd0, tbd1, tw00, tw01, jacptr, wspptr, wsp1ptr, inptr, dst, cd0, cd1);} else { IPWRTPhysTraceFaceN0Kernel< false, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nm2, nbd0, tnq00, tnq01, tbd0, tbd1, tw00, tw01, jacptr, wspptr, wsp1ptr, inptr, dst, cd0, cd1);} if(scale) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, nm2, c1, c2, s_twoOver1, s_twoOver2, volptr, outptr);} } { const bool scale=c2;TData *dst=scale ? volptr :outptr;if(scale) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } if(epd1) { IPWRTPhysTraceFaceN1Kernel< true, DEFORMED >(ilane, 0, nfaceN1, nfaceN1, nm0, nm1, nm2, nbd1, tnq10, tnq11, tbd2, tbd3, tw10, tw11, jacptr+jac1 *warpsize, wspptr, wsp1ptr, inptr+in1 *warpsize, dst, cd2, cd3);} else { IPWRTPhysTraceFaceN1Kernel< false, DEFORMED >(ilane, 0, nfaceN1, nfaceN1, nm0, nm1, nm2, nbd1, tnq10, tnq11, tbd2, tbd3, tw10, tw11, jacptr+jac1 *warpsize, wspptr, wsp1ptr, inptr+in1 *warpsize, dst, cd2, cd3);} if(scale) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, nm2, false, c2, s_twoOver1, s_twoOver2, volptr, outptr);} } { const bool scale=c1;TData *dst=scale ? volptr :outptr;if(scale) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } if(epd2) { IPWRTPhysTraceFaceN2Kernel< true, DEFORMED >(ilane, 0, nfaceN2, nfaceN2, nm0, nm1, nm2, nbd2, tnq20, tnq21, tbd4, tbd5, tw20, tw21, jacptr+jac2 *warpsize, wspptr, wsp1ptr, inptr+in2 *warpsize, dst, cd4, cd5);} else { IPWRTPhysTraceFaceN2Kernel< false, DEFORMED >(ilane, 0, nfaceN2, nfaceN2, nm0, nm1, nm2, nbd2, tnq20, tnq21, tbd4, tbd5, tw20, tw21, jacptr+jac2 *warpsize, wspptr, wsp1ptr, inptr+in2 *warpsize, dst, cd4, cd5);} if(scale) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, nm2, c1, false, s_twoOver1, s_twoOver2, volptr, outptr);} } } e+=getGlobalRange< 0 >(threadBlock);} }) | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter1D , std::enable_if_t< std::is_same_v< Implementation, SumFacTOP > &&IsTraceSizeParameter1D_v< TTraceSizeParameter1D >, bool > Enable = true> | |
| NEK_HOSTDEVICE_INLINE constexpr size_t | IProductWRTPhysNormalDerivTraceWorkSpaceSize (const size_t nelmt, const TTraceSizeParameter1D sizeParam1D) |
Workspace of nelmt elements, per component: none, a segment's traces being points. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter2D , std::enable_if_t< std::is_same_v< Implementation, SumFacTOP > &&IsTraceSizeParameter2D_v< TTraceSizeParameter2D >, bool > Enable = true> | |
| NEK_HOSTDEVICE_INLINE constexpr size_t | IProductWRTPhysNormalDerivTraceWorkSpaceSize (const size_t nelmt, const TTraceSizeParameter2D sizeParam2D) |
Workspace of nelmt elements, per component: an edge pair's trace-mode buffer, the element's volume and, for a collapsed shape, the volume buffer of the collapsed factor scaling, per element. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , typename TTraceSizeParameter3D , std::enable_if_t< std::is_same_v< Implementation, SumFacTOP > &&IsTraceSizeParameter3D_v< TTraceSizeParameter3D >, bool > Enable = true> | |
| NEK_HOSTDEVICE_INLINE constexpr size_t | IProductWRTPhysNormalDerivTraceWorkSpaceSize (const size_t nelmt, const TTraceSizeParameter3D sizeParam3D) |
Workspace of nelmt elements, per component: one face's mode block, the face contraction scratch, the element's volume and, for a collapsed shape, the volume buffer of the collapsed factor scaling, per element. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , bool DEFORMED, typename TTraceSizeParameter1D , typename TElmtsPerBlock , typename TData , typename TthreadBlock , typename TUseSharedWsp , std::enable_if_t< std::is_same_v< Implementation, SumFacTOP >, bool > Enable = true> | |
| NEK_DEVICE_KERNEL void | __LAUNCH_BOUNDS__ ((GetMaxThreadPerBlock< Implementation, TTraceSizeParameter1D >())) IProductWRTPhysNormalDerivTraceKernelLauncher(const TTraceSizeParameter1D sizeParam1D |
| The one-dimensional lift: \(\langle \partial_n \phi, g \rangle\) over a segment's two vertices, one or several elements per thread block. | |
| for (size_t e0=static_cast< size_t >(getBlockIdx< 0 >(threadBlock)) *elmtsPerBlock;e0< nelmt;e0+=static_cast< size_t >(getBlockRange< 0 >(threadBlock)) *elmtsPerBlock) | |
| template<typename TthreadBlock , typename TData > | |
| static NEK_DEVICE_INLINE void | ScaleAddCollapsedFacTOPKernel (const unsigned int nm0, const unsigned int nm1, const unsigned int nm2, const bool useD1, const bool useD2, const TData *NEK_RESTRICT twoOver1, const TData *NEK_RESTRICT twoOver2, const TData *NEK_RESTRICT volwsp, TData *NEK_RESTRICT out, const TthreadBlock &threadBlock) |
Scale a volume buffer by the collapsed factors a trace group still needs and accumulate it into the element's volume, threads striding the points. In two dimensions nm2 is one and twoOver2 is unread. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , bool DEFORMED, typename TTraceSizeParameter2D , typename TElmtsPerBlock , typename TData , typename TthreadBlock , typename TUseSharedWsp , std::enable_if_t< std::is_same_v< Implementation, SumFacTOP >, bool > Enable = true> | |
| NEK_DEVICE_KERNEL void | __LAUNCH_BOUNDS__ ((GetMaxThreadPerBlock< Implementation, TTraceSizeParameter2D >())) IProductWRTPhysNormalDerivTraceKernelLauncher(const TTraceSizeParameter2D sizeParam2D |
| All edges of one two-dimensional element: the two terms of the operator, one per element direction, accumulated in turn; one or several elements per thread block. | |
| if | constexpr (COLLAPSED) |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename Implementation , bool DEFORMED, typename TTraceSizeParameter3D , typename TElmtsPerBlock , typename TData , typename TthreadBlock , typename TUseSharedWsp , std::enable_if_t< std::is_same_v< Implementation, SumFacTOP >, bool > Enable = true> | |
| NEK_DEVICE_KERNEL void | __LAUNCH_BOUNDS__ ((GetMaxThreadPerBlock< Implementation, TTraceSizeParameter3D >())) IProductWRTPhysNormalDerivTraceKernelLauncher(const TTraceSizeParameter3D sizeParam3D |
| All faces of one three-dimensional element: the three terms of the operator, one per element direction, accumulated in turn; one or several elements per thread block. | |
| if | constexpr (COLLAPSED1) |
| if | constexpr (COLLAPSED2) |
| if | constexpr (COLLAPSED1||COLLAPSED2) |
| template<typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysNormalDerivTrace1DKernel (const unsigned nm0, const simd_type *dnbasis0, const simd_type *jac, const simd_type *in, simd_type *out, const bool append) |
| The one-dimensional lift: \(\langle \partial_n \phi, g \rangle\) over a segment's two vertices. | |
| template<typename simd_type > | |
| static NEK_FORCE_INLINE void | ScaleAddCollapsedFacKernel (const unsigned nm0, const unsigned nm1, const unsigned nm2, const bool useD1, const bool useD2, const simd_type *twoOver1, const simd_type *twoOver2, const simd_type *volwsp, simd_type *out) |
| Scale a volume workspace by the collapsed factors a trace group still needs, then accumulate it into the output. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, unsigned EDGE_NORMAL_DIR, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysNormalDerivTraceEdgeGroupKernel (const bool useD1, const unsigned nm0, const unsigned nm1, const unsigned tnq00, const unsigned tnq10, const simd_type *nbasis, const simd_type *tbasis, const simd_type *tw, const simd_type *twoOver1, const simd_type *jac, const simd_type *in, simd_type *wsp, simd_type *volwsp, simd_type *out, const bool isCollocated, const bool endPtsCollocated) |
One edge group of a term of the two-dimensional operator, accumulated into out. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysNormalDerivTracePerDir2DKernel (const unsigned derivDir, const unsigned nm0, const unsigned nm1, const unsigned tnq00, const unsigned tnq10, const simd_type *nbasis0, const simd_type *nbasis1, const simd_type *dnbasis0, const simd_type *dnbasis1, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *dtbasis0, const simd_type *dtbasis1, const simd_type *tw0, const simd_type *tw1, const simd_type *twoOver1, const simd_type *jac, const simd_type *in, simd_type *wsp, simd_type *volwsp, simd_type *out, const unsigned traceDir0, const unsigned traceDir1, const bool append, const bool isCollocated0, const bool isCollocated1, const bool endPtsCollocated0, const bool endPtsCollocated1) |
Term derivDir of the two-dimensional operator: the trace inner product taken with the direction derivDir table replaced by its derivative. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, unsigned FACE_NORMAL_DIR, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysNormalDerivTraceFaceGroupKernel (const bool useD1, const bool useD2, const unsigned nm0, const unsigned nm1, const unsigned nm2, const unsigned tnq00, const unsigned tnq01, const unsigned tnq10, const unsigned tnq11, const unsigned tnq20, const unsigned tnq21, const simd_type *nbasis, const simd_type *tbasisA, const simd_type *tbasisB, const simd_type *twA, const simd_type *twB, const simd_type *twoOver1, const simd_type *twoOver2, const simd_type *jac, const simd_type *in, simd_type *wsp0, simd_type *wsp1, simd_type *volwsp, simd_type *out, const bool isCollocatedA, const bool isCollocatedB, const bool endPtsCollocated) |
One face group of a term of the three-dimensional operator, accumulated into out. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysNormalDerivTracePerDir3DKernel (const unsigned derivDir, const unsigned nm0, const unsigned nm1, const unsigned nm2, const unsigned tnq00, const unsigned tnq01, const unsigned tnq10, const unsigned tnq11, const unsigned tnq20, const unsigned tnq21, const simd_type *nbasis0, const simd_type *nbasis1, const simd_type *nbasis2, const simd_type *dnbasis0, const simd_type *dnbasis1, const simd_type *dnbasis2, const simd_type *tbasis00, const simd_type *tbasis01, const simd_type *tbasis10, const simd_type *tbasis11, const simd_type *tbasis20, const simd_type *tbasis21, const simd_type *dtbasis00, const simd_type *dtbasis01, const simd_type *dtbasis10, const simd_type *dtbasis11, const simd_type *dtbasis20, const simd_type *dtbasis21, const simd_type *tw00, const simd_type *tw01, const simd_type *tw10, const simd_type *tw11, const simd_type *tw20, const simd_type *tw21, const simd_type *twoOver1, const simd_type *twoOver2, const simd_type *jac, const simd_type *in, simd_type *wsp0, simd_type *wsp1, simd_type *volwsp, simd_type *out, const unsigned traceDir00, const unsigned traceDir01, const unsigned traceDir10, const unsigned traceDir11, const unsigned traceDir20, const unsigned traceDir21, const bool append, const bool isCollocated00, const bool isCollocated01, const bool isCollocated10, const bool isCollocated11, const bool isCollocated20, const bool isCollocated21, const bool endPtsCollocated0, const bool endPtsCollocated1, const bool endPtsCollocated2) |
Term derivDir of the three-dimensional operator: the trace inner product taken with the direction derivDir table replaced by its derivative. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TTraceSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysNormalDerivTraceKernelLauncher (const TTraceSizeParameter1D sizeParam1D, const simd_type *nbasis0, const simd_type *dnbasis0, const simd_type *twoOver0, const simd_type *jac, const size_t jacCompStride, simd_type *volwsp, const simd_type *in, simd_type *out, const bool append, const bool endPtsCollocated0) |
| Launcher for one element group of segments. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TTraceSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysNormalDerivTraceKernelLauncher (const TTraceSizeParameter2D sizeParam2D, const simd_type *nbasis0, const simd_type *nbasis1, const simd_type *dnbasis0, const simd_type *dnbasis1, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *dtbasis0, const simd_type *dtbasis1, const simd_type *tw0, const simd_type *tw1, const simd_type *twoOver0, const simd_type *twoOver1, const simd_type *jac, const size_t jacCompStride, simd_type *wsp, simd_type *volwsp, const simd_type *in, simd_type *out, const unsigned traceDir0, const unsigned traceDir1, const bool append, const bool isCollocated0, const bool isCollocated1, const bool endPtsCollocated0, const bool endPtsCollocated1) |
| All edges of one two-dimensional element group: the two terms of the operator, one per element direction, accumulated in turn. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TTraceSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysNormalDerivTraceKernelLauncher (const TTraceSizeParameter3D sizeParam3D, const simd_type *nbasis0, const simd_type *nbasis1, const simd_type *nbasis2, const simd_type *dnbasis0, const simd_type *dnbasis1, const simd_type *dnbasis2, const simd_type *tbasis00, const simd_type *tbasis01, const simd_type *tbasis10, const simd_type *tbasis11, const simd_type *tbasis20, const simd_type *tbasis21, const simd_type *dtbasis00, const simd_type *dtbasis01, const simd_type *dtbasis10, const simd_type *dtbasis11, const simd_type *dtbasis20, const simd_type *dtbasis21, const simd_type *tw00, const simd_type *tw01, const simd_type *tw10, const simd_type *tw11, const simd_type *tw20, const simd_type *tw21, const simd_type *twoOver0, const simd_type *twoOver1, const simd_type *twoOver2, const simd_type *jac, const size_t jacCompStride, simd_type *wsp0, simd_type *wsp1, simd_type *volwsp, const simd_type *in, simd_type *out, const unsigned traceDir00, const unsigned traceDir01, const unsigned traceDir10, const unsigned traceDir11, const unsigned traceDir20, const unsigned traceDir21, const bool append, const bool isCollocated00, const bool isCollocated01, const bool isCollocated10, const bool isCollocated11, const bool isCollocated20, const bool isCollocated21, const bool endPtsCollocated0, const bool endPtsCollocated1, const bool endPtsCollocated2) |
| All faces of one three-dimensional element group: the three terms of the operator, one per element direction, accumulated in turn. | |
| template<bool END_PTS_COLLOCATED, bool APPEND, typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysTrace1DKernel (const unsigned nm0, const simd_type *basisn0, const simd_type *in, simd_type *out) |
| One group of segments: lift the two endpoint values onto the volume grid. | |
| template<bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysEdgeKernel (const unsigned edg, const unsigned nedge, const unsigned nm, const unsigned tnq, const simd_type *tbasis, const simd_type *tw, const simd_type *tjac, const simd_type *in, simd_type *out, const bool isCollocated) |
| Leaf kernel, stage one in two dimensions: integrate an edge, or a pair of edges, against the hat functions of the in-edge direction. | |
| template<bool END_PTS_COLLOCATED0, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddEdgeN0ToVolKernel (const unsigned edg, const unsigned nedge, const unsigned tstride, const unsigned nm0, const unsigned nm1, const simd_type *nbasis, const simd_type *in, simd_type *out) |
| Leaf kernel, stage two in two dimensions: lift the results of a direction-0 normal edge into the volume field. | |
| template<bool END_PTS_COLLOCATED0, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddEdgeN1ToVolKernel (const unsigned edg, const unsigned nedge, const unsigned tstride, const unsigned nm0, const unsigned nm1, const simd_type *nbasis, const simd_type *in, simd_type *out) |
| Leaf kernel, stage two in two dimensions: lift the results of a direction-1 normal edge into the volume field. | |
| template<bool END_PTS_COLLOCATED0, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysTraceEdgeN0Kernel (const unsigned edg, const unsigned nedge, const unsigned tstride, const unsigned nm0, const unsigned nm1, const simd_type *nbasis, const unsigned tnq, const simd_type *tbasis, const simd_type *tw, const simd_type *tjac, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated) |
| Glue for a direction-0 normal edge: integrate, then lift. | |
| template<bool END_PTS_COLLOCATED0, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysTraceEdgeN1Kernel (const unsigned edg, const unsigned nedge, const unsigned tstride, const unsigned nm0, const unsigned nm1, const simd_type *nbasis, const unsigned tnq, const simd_type *tbasis, const simd_type *tw, const simd_type *tjac, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated) |
| Glue for a direction-1 normal edge: integrate, then lift. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool APPEND, typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysTraceEdgeKernel (const unsigned edge, const unsigned nm0, const unsigned nm1, const simd_type *nbasis0, const simd_type *nbasis1, const unsigned tnq00, const unsigned tnq10, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *tw00, const simd_type *tw10, const simd_type *tjac, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated0, const bool isCollocated1, const bool endPtsCollocated0, const bool endPtsCollocated1) |
| One named edge of one two-dimensional element group: turn the edge id into a direction and a position, then integrate and lift. | |
| template<bool END_PTS_COLLOCATED0, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddFaceN0ToVolKernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nm0, const unsigned nm1, const unsigned nm2, const simd_type *nbasis, const simd_type *in, simd_type *out) |
| Leaf kernel, stage two in three dimensions: lift the results of a direction-0 normal face into the volume field. | |
| template<bool END_PTS_COLLOCATED1, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddFaceN1ToVolKernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nm0, const unsigned nm1, const unsigned nm2, const simd_type *nbasis, const simd_type *in, simd_type *out) |
| Leaf kernel, stage two in three dimensions: lift the results of a direction-1 normal face into the volume field. | |
| template<bool END_PTS_COLLOCATED2, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddFaceN2ToVolKernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nm0, const unsigned nm1, const unsigned nm2, const simd_type *nbasis, const simd_type *in, simd_type *out) |
| Leaf kernel, stage two in three dimensions: lift the results of a direction-2 normal face into the volume field. | |
| template<bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysFaceKernel (const unsigned fac, const unsigned nface, const unsigned nm0, const unsigned nm1, const unsigned tnq0, const unsigned tnq1, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *tw0, const simd_type *tw1, const simd_type *tjac, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated0, const bool isCollocated1) |
| Leaf kernel, stage one in three dimensions: integrate a face, or a pair of faces, against the hat functions of the two in-face directions. | |
| template<bool END_PTS_COLLOCATED0, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysTraceFaceN0Kernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nm0, const unsigned nm1, const unsigned nm2, const simd_type *nbasis, const unsigned tnq0, const unsigned tnq1, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *tw0, const simd_type *tw1, const simd_type *tjac, simd_type *wsp, simd_type *wsp1, const simd_type *in, simd_type *out, const bool isCollocated0=false, const bool isCollocated1=false) |
| Glue for a direction-0 normal face: integrate, then lift. | |
| template<bool END_PTS_COLLOCATED1, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysTraceFaceN1Kernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nm0, const unsigned nm1, const unsigned nm2, const simd_type *nbasis, const unsigned tnq0, const unsigned tnq1, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *tw0, const simd_type *tw1, const simd_type *tjac, simd_type *wsp, simd_type *wsp1, const simd_type *in, simd_type *out, const bool isCollocated0=false, const bool isCollocated1=false) |
| Glue for a direction-1 normal face: integrate, then lift. | |
| template<bool END_PTS_COLLOCATED2, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | IPWRTPhysTraceFaceN2Kernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nm0, const unsigned nm1, const unsigned nm2, const simd_type *nbasis, const unsigned tnq0, const unsigned tnq1, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *tw0, const simd_type *tw1, const simd_type *tjac, simd_type *wsp, simd_type *wsp1, const simd_type *in, simd_type *out, const bool isCollocated0=false, const bool isCollocated1=false) |
| Glue for a direction-2 normal face: integrate, then lift. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool APPEND, typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysTraceFaceKernel (const unsigned face, const unsigned nm0, const unsigned nm1, const unsigned nm2, const simd_type *nbasis0, const simd_type *nbasis1, const simd_type *nbasis2, const unsigned tnq00, const unsigned tnq01, const unsigned tnq10, const unsigned tnq11, const unsigned tnq20, const unsigned tnq21, const simd_type *tbasis00, const simd_type *tbasis01, const simd_type *tbasis10, const simd_type *tbasis11, const simd_type *tbasis20, const simd_type *tbasis21, const simd_type *tw00, const simd_type *tw01, const simd_type *tw10, const simd_type *tw11, const simd_type *tw20, const simd_type *tw21, const simd_type *tjac, simd_type *wsp, simd_type *wsp1, const simd_type *in, simd_type *out, const bool isCollocated00, const bool isCollocated01, const bool isCollocated10, const bool isCollocated11, const bool isCollocated20, const bool isCollocated21, const bool endPtsCollocated0, const bool endPtsCollocated1, const bool endPtsCollocated2) |
| One named face of one three-dimensional element group: turn the face id into a direction and a position, then integrate and lift. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool APPEND, typename TTraceSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysTraceKernelLauncher (const TTraceSizeParameter1D sizeParam1D, const simd_type *nbasis0, const simd_type *tjac, const simd_type *in, simd_type *out, const bool endPtsCollocated0) |
| Launcher for one element group of segments. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool APPEND, typename TTraceSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysTraceKernelLauncher (const TTraceSizeParameter2D sizeParam2D, const simd_type *nbasis0, const simd_type *nbasis1, const simd_type *tbasis0, const simd_type *tbasis1, const simd_type *tw00, const simd_type *tw10, const simd_type *tjac, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated0, const bool isCollocated1, const bool endPtsCollocated0, const bool endPtsCollocated1) |
| All edges of one two-dimensional element group: optionally zero the volume field, then walk the packed traces. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool APPEND, typename TTraceSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | IProductWRTPhysTraceKernelLauncher (const TTraceSizeParameter3D sizeParam3D, const simd_type *nbasis0, const simd_type *nbasis1, const simd_type *nbasis2, const simd_type *tbasis00, const simd_type *tbasis01, const simd_type *tbasis10, const simd_type *tbasis11, const simd_type *tbasis20, const simd_type *tbasis21, const simd_type *tw00, const simd_type *tw01, const simd_type *tw10, const simd_type *tw11, const simd_type *tw20, const simd_type *tw21, const simd_type *tjac, simd_type *wsp, simd_type *wsp1, const simd_type *in, simd_type *out, const bool isCollocated00, const bool isCollocated01, const bool isCollocated10, const bool isCollocated11, const bool isCollocated20, const bool isCollocated21, const bool endPtsCollocated0, const bool endPtsCollocated1, const bool endPtsCollocated2) |
| All faces of one three-dimensional element group: optionally zero the volume field, then walk the packed traces a pair at a time. | |
| template<typename ExecSpace , bool DEFORMED, bool VARCOEFF, typename TData , typename TScalar > | |
| static NEK_FORCE_INLINE void | ApplyMetricKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t insize, const size_t outsize, const TScalar *diffCoeff, const TData *varDiffCoeff, const size_t varDiffCoeffSize, const TData *jacptr, const TData *dfptr, const TData *inptr, TData *outptr) |
| Apply \(J\,G = J\,M^T D M\) to the reference derivatives of an element group. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJSegKernel (const unsigned int ncoord, const unsigned int nq0, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const simd_type *df_ptr, simd_type *deriv0) |
| Segment kernel contracting reference derivative with diffusion tensor and metric terms. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJTriKernel (const unsigned int ncoord, const unsigned int nq0, const unsigned int nq1, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac1, simd_type *deriv0, simd_type *deriv1) |
| Triangle kernel contracting reference derivatives with diffusion tensor and metric terms. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJQuadKernel (const unsigned int ncoord, const unsigned int nq0, const unsigned int nq1, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *df_ptr, simd_type *deriv0, simd_type *deriv1) |
| Quad kernel contracting reference derivatives with diffusion tensor and metric terms. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJHexKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2) |
| Hex kernel contracting reference derivatives with diffusion tensor and metric terms. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJTetKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac1, const simd_type *hfac2, const simd_type *hfac3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2) |
| Tet kernel contracting reference derivatives with diffusion tensor and metric terms. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJPrismKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2) |
| Prism kernel contracting reference derivatives with diffusion tensor and metric terms. | |
| template<bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJPyrKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *hfac0, const simd_type *hfac1, const simd_type *hfac3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2) |
| Pyramid kernel contracting reference derivatives with diffusion tensor and metric terms. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJ1DKernel (const unsigned int ncoord, const unsigned int nq0, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const simd_type *df_ptr, simd_type *deriv0) |
| 1D launcher dispatching to DiffusionCoeffwithWJSegKernel. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJ2DKernel (const unsigned int ncoord, const unsigned int nq0, const unsigned int nq1, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *df_ptr, const simd_type *h0, const simd_type *h1, simd_type *deriv0, simd_type *deriv1) |
| 2D launcher dispatching to shape-specific metric kernels. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool DEFORMED, bool VARCOEFF, typename simd_type > | |
| static NEK_FORCE_INLINE void | DiffusionCoeffwithWJ3DKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const simd_type *jac_ptr, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *df_ptr, const simd_type *h0, const simd_type *h1, const simd_type *h2, const simd_type *h3, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2) |
| 3D launcher dispatching to shape-specific metric kernels. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | LaplacianKernelLauncher (const TSizeParameter1D sizeParam1D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *w0, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, simd_type *deriv0, simd_type *bwd, const simd_type *in, simd_type *out) |
| 1D launcher stringing together the five sum-factorised stages for one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | LaplacianKernelLauncher (const TSizeParameter2D sizeParam2D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *f0, const simd_type *f1, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, simd_type *wsp0, simd_type *deriv0, simd_type *deriv1, simd_type *bwd, const simd_type *in, simd_type *out) |
| 2D launcher stringing together the five sum-factorised stages for one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | LaplacianKernelLauncher (const TSizeParameter3D sizeParam3D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *basis2, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, simd_type *wsp0, simd_type *wsp1, simd_type *wsp2, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *bwd, const simd_type *in, simd_type *out) |
| 3D launcher stringing together the five sum-factorised stages for one element group. | |
| template<typename ExecSpace , bool DEFORMED, bool VARCOEFF, typename TData , typename TScalar > | |
| static NEK_FORCE_INLINE void | ApplyMetricKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t insize, const size_t outsize, const size_t advelsize, const TScalar *diffCoeff, const TData *varDiffCoeff, const size_t varDiffCoeffSize, const TData *jacptr, const TData *dfptr, const TData *advVel, const TData *inptr, TData *outptr, TData *bwdptr, const TScalar scale) |
| Apply the geometry and the three operator coefficients at every quadrature point of an interleaved group of elements. | |
| template<bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddAdvection1DKernel (const unsigned int ncoord, const unsigned int nq0, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, const simd_type *df_ptr, simd_type *deriv0, simd_type *out, const typename simd_type::scalarType scale) |
| Segment advection kernel: add the advection term to the scaled physical values of one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddAdvection2DKernel (const unsigned int ncoord, const unsigned int nq0, const unsigned int nq1, const simd_type *hfac0, const simd_type *hfac1, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, const simd_type *df_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *out, const typename simd_type::scalarType scale) |
| Two-dimensional advection kernel: add the advection term to the scaled physical values of one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | AddAdvection3DKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const simd_type *hfac0, const simd_type *hfac1, const simd_type *hfac2, const simd_type *hfac3, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, const simd_type *df_ptr, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *out, const typename simd_type::scalarType scale) |
| Three-dimensional advection kernel: add the advection term to the scaled physical values of one element group. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | LinAdvDiffReactionKernelLauncher (const TSizeParameter1D sizeParam1D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *w0, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *deriv0, simd_type *bwd, const simd_type *in, simd_type *out, const typename simd_type::scalarType lambda) |
| Apply the whole operator to one element group of a 1D block. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | LinAdvDiffReactionKernelLauncher (const TSizeParameter2D sizeParam2D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *f0, const simd_type *f1, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *wsp0, simd_type *deriv0, simd_type *deriv1, simd_type *bwd, const simd_type *in, simd_type *out, const typename simd_type::scalarType lambda) |
| Apply the whole operator to one element group of a 2D block (quadrilaterals and modal or nodal triangles). | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, bool VARCOEFF, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | LinAdvDiffReactionKernelLauncher (const TSizeParameter3D sizeParam3D, const bool isModified, const unsigned int ncoord, const bool useDiffCoeff, const typename simd_type::scalarType *diffCoeff, const simd_type *varDiffCoeff, const size_t varDiffCoeffSize, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *basis2, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, const simd_type *df, const simd_type *advVel0_ptr, const simd_type *advVel1_ptr, const simd_type *advVel2_ptr, simd_type *wsp0, simd_type *wsp1, simd_type *wsp2, simd_type *deriv0, simd_type *deriv1, simd_type *deriv2, simd_type *bwd, const simd_type *in, simd_type *out, const typename simd_type::scalarType lambda) |
| Apply the whole operator to one element group of a 3D block (hexahedra, modal or nodal tetrahedra and prisms, and pyramids). | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, bool DEFORMED, typename TSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | MassKernelLauncher (const TSizeParameter1D sizeParam1D, const bool isModified, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *w0, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, simd_type *bwd, const simd_type *in, simd_type *out, typename simd_type::scalarType scale=1.0) |
| 1D launcher: backward transform then inner product with the basis for one element group of segments. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, bool DEFORMED, typename TSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | MassKernelLauncher (const TSizeParameter2D sizeParam2D, const bool isModified, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, simd_type *wsp0, simd_type *bwd, const simd_type *in, simd_type *out, typename simd_type::scalarType scale=1.0) |
| 2D launcher: backward transform then inner product with the basis for one element group of quadrilaterals or (nodal) triangles. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool SCALE, bool APPEND, bool DEFORMED, typename TSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | MassKernelLauncher (const TSizeParameter3D sizeParam3D, const bool isModified, const typename simd_type::scalarType *basis0, const typename simd_type::scalarType *basis1, const typename simd_type::scalarType *basis2, const typename simd_type::scalarType *w0, const typename simd_type::scalarType *w1, const typename simd_type::scalarType *w2, const simd_type *NtoM, const simd_type *NtoMTrans, const simd_type *jac, simd_type *wsp0, simd_type *wsp1, simd_type *wsp2, simd_type *bwd, const simd_type *in, simd_type *out, typename simd_type::scalarType scale=1.0) |
| 3D launcher: backward transform then inner product with the basis for one element group of hexahedra, (nodal) tetrahedra, (nodal) prisms or pyramids. | |
| template<typename simd_type , typename TData > | |
| static NEK_FORCE_INLINE void | StdInvMassDiagonalScaleKernel (const unsigned int nmTot, const TData *diag, const simd_type scale, const simd_type *in, simd_type *out) |
The standard inverse mass of one element group where it is diagonal (StdRegions::StdExpansion::StdInvMassIsDiagonal()), scaled: out[m] = scale * diag[m] * in[m], with diag the nmTot values of the warehouse's StdRegions::eInvMassStdMatDiagonal. On an affine element the inverse mass is the standard one over the Jacobian, which scale may carry, one value per lane. Where it is not diagonal the callers take the libxsmm product instead. | |
| template<typename ExecSpace , bool DEFORMED, typename TData > | |
| static NEK_FORCE_INLINE void | MultiplyByDerivFactorKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t inoffset, const size_t outoffset, const TData *dfptr, const TData *inptr, TData *outptr) |
Contract the standard-region derivatives of a lane group into all ncoord Cartesian derivatives. | |
| template<typename ExecSpace , bool APPEND, bool DEFORMED, typename TData > | |
| static NEK_FORCE_INLINE void | MultiplyByDerivDirFactorKernel (const unsigned dir, const unsigned nqTot, const unsigned ncoord, const unsigned dimension, const size_t nelmt, const size_t inoffset, const TData *dfptr, const TData *inptr, TData *outptr) |
Contract the standard-region derivatives of a lane group into the single Cartesian derivative dir, overwriting or accumulating. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDeriv1DKernel (const unsigned int nq0, const unsigned int ncoord, const simd_type *df_ptr, simd_type *out[3]) |
| One dimension: scale a segment's standard derivative by the derivative factors, in place, for every Cartesian component. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, unsigned int DIR, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDerivDir1DKernel (const unsigned int nq0, const unsigned int ncoord, const simd_type *df_ptr, const simd_type *in, simd_type *out) |
| One dimension, single component: scale a segment's standard derivative by the derivative factor of direction DIR. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDeriv2DKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int ncoord, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, simd_type *out[3]) |
| Two dimensions: correct the collapsed derivatives of a triangle and contract with the derivative factors, in place, for every Cartesian component. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, unsigned int DIR, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDerivDir2DKernel (const unsigned nq0, const unsigned nq1, const unsigned int ncoord, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, const simd_type *tderiv0, const simd_type *tderiv1, simd_type *out) |
| Two dimensions, single component: as PhysDeriv2DKernel, but reading the collapsed derivatives from separate arrays and producing only the Cartesian component DIR. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDeriv3DKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, simd_type *out_d0, simd_type *out_d1, simd_type *out_d2) |
| Three dimensions: correct the collapsed derivatives of a non-hexahedral shape and contract with the derivative factors, in place, for all three Cartesian components. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool APPEND, bool DEFORMED, unsigned int DIR, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDerivDir3DKernel (const unsigned nq0, const unsigned nq1, const unsigned nq2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, const simd_type *tderiv0, const simd_type *tderiv1, const simd_type *tderiv2, simd_type *out) |
| Three dimensions, single component: as PhysDeriv3DKernel, but reading the collapsed derivatives from separate arrays and producing only the Cartesian component DIR. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDerivKernelLauncher (const TPhysSizeParameter1D sizeParam1D, const typename simd_type::scalarType *D0, const simd_type *df_ptr, const simd_type *in, simd_type *out[3]) |
Differentiate one element group of a 1D block: the standard derivative into out[0], then all ncoord Cartesian derivatives in place. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDerivKernelLauncher (const TPhysSizeParameter2D sizeParam2D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const simd_type *f0, const simd_type *f1, const simd_type *df_ptr, const simd_type *in, simd_type *out[3]) |
Differentiate one element group of a 2D block: the two collapsed derivatives into out[0] and out[1], then all ncoord Cartesian derivatives in place. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, bool DEFORMED, typename TPhysSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysDerivKernelLauncher (const TPhysSizeParameter3D sizeParam3D, const typename simd_type::scalarType *D0, const typename simd_type::scalarType *D1, const typename simd_type::scalarType *D2, const simd_type *f0, const simd_type *f1, const simd_type *f1m, const simd_type *f2, const simd_type *df_ptr, const simd_type *in, simd_type *out[3]) |
Differentiate one element group of a 3D block: the three collapsed derivatives into out[0 .. 2], then the three Cartesian derivatives in place. | |
| PhysLiftProjectForm | PhysLiftProjectFormOf (const LocalRegions::ExpansionSharedPtr &exp) |
The form the block whose representative expansion is exp takes. The square test is on the total counts: equal per-direction counts do not make B square on a collapsed-coordinate shape, whose mode count is a fraction of the tensor product. | |
| bool | PhysLiftProjectDenseTail (const LocalRegions::ExpansionSharedPtr &exp) |
Whether the Device SumFacTOP implementation applies the block whose representative expansion is exp through the dense projector: the StdInvMass form of a tetrahedron, prism or pyramid of at most physLiftProjectDenseTailMaxPoints points whose traces have the volume's points in one in-trace direction at least. On an affine element \(B M^{-1} B^{\mathsf T} = J^{-1} P\) with \(P = B M_{\mathrm{std}}^{-1} B^{\mathsf T}\), one nqTot x nqTot matrix per block, so the trace is lifted directly onto every point with the division by the Jacobian, and one batched product applies P to every element, in place of the basis transpose, the inverse mass and the backward transform. | |
| template<bool DEFORMED, typename simd_type , typename TData > | |
| static NEK_FORCE_INLINE void | PhysLiftProjectPointScaleKernel (const unsigned int nqTot, const TData scale, const simd_type *weights, const simd_type *jac, simd_type *pointScale) |
The Pointwise form's factor of one element group, pointScale[q] = scale / (w_q J), zero on the padding elements, whose Jacobian is zero. weights holds the quadrature weights at every point (WeightsKey), jac the group's Jacobian, one per element or, when DEFORMED, one per point. | |
| template<bool APPEND, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysLiftProjectPointwiseKernel (const unsigned int nqTot, const simd_type *pointScale, const simd_type *vol, simd_type *out) |
The Pointwise form of one element group: out (+)= pointScale * vol. | |
| template<typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysLiftProjectCoefScaleKernel (const unsigned int nmTot, const simd_type coefScale, simd_type *inout) |
inout[m] *= coefScale over the nmTot coefficients of one element group: the scale over the Jacobian after the dense standard inverse mass. | |
| template<typename TData > | |
| static void | ContractTraceNormalKernel (const size_t npts, const unsigned ndim, const unsigned nvar, const TData *tensor, const TData *normals, TData *out, const unsigned int streamID) |
The outward normal component of a vector-valued field on the element-local traces of one block: out[f] = sum_d n[d] * tensor[f * ndim + d] at every point, one launch with each thread forming every component of one point. The three arrays share one layout, component-major with npts between components and the elements interleaved at the same width within a component, so consecutive threads read consecutive addresses of each (coalesced) at any interleave width. | |
| template<bool APPEND, bool END_PTS_COLLOCATED, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysTraceExtractSegKernel (const unsigned int nm0, const unsigned int nq0, const typename simd_type::scalarType *basis0, const simd_type *in, simd_type *out, const bool isCollocated=false) |
| One-dimensional extraction: sample a segment's volume field at its two endpoint traces. | |
| template<bool END_PTS_COLLOCATED0, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractEdgeN0EndPtsKernel (const unsigned edg, const unsigned nedg, const unsigned tstride, const unsigned nq0, const unsigned nq1, const typename simd_type::scalarType *ntbasis0, const simd_type *in, simd_type *out) |
| Stage one in two dimensions: reduce the volume block to the boundary lines of one or both direction-0 normal edges. | |
| template<bool END_PTS_COLLOCATED1, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractEdgeN1EndPtsKernel (const unsigned edg, const unsigned nedg, const unsigned tstride, const unsigned nq0, const unsigned nq1, const typename simd_type::scalarType *ntbasis1, const simd_type *in, simd_type *out) |
| Stage one in two dimensions: the direction-1 twin of PhysExtractEdgeN0EndPtsKernel. | |
| template<bool END_PTS_COLLOCATED0, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractEdgeN0Kernel (const unsigned edg, const unsigned nedg, const unsigned tstride, const unsigned nq0, const unsigned nq1, const typename simd_type::scalarType *ntbasis0, const unsigned nq00, const typename simd_type::scalarType *tbasis00, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated00=false) |
| Glue for the direction-0 normal edges: extract, then interpolate. | |
| template<bool END_PTS_COLLOCATED1, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractEdgeN1Kernel (const unsigned edg, const unsigned nedg, const unsigned tstride, const unsigned nq0, const unsigned nq1, const typename simd_type::scalarType *ntbasis1, const unsigned nq10, const typename simd_type::scalarType *tbasis10, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated10=false) |
| Glue for the direction-1 normal edges: the direction-1 twin of PhysExtractEdgeN0Kernel. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysTraceExtractEdgeKernel (const unsigned edge, const unsigned nm0, const unsigned nm1, const unsigned nq00, const unsigned nq10, const typename simd_type::scalarType *ntbasis0, const typename simd_type::scalarType *ntbasis1, const typename simd_type::scalarType *tbasis00, const typename simd_type::scalarType *tbasis10, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated00, const bool isCollocated10, const bool endPtsCollocated0, const bool endPtsCollocated1) |
| Two-dimensional entry point for a single named edge: turn the edge id into a normal direction and a position, then call the glue. | |
| template<bool END_PTS_COLLOCATED0, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractEndFacesN0Kernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nq0, const unsigned nq1, const unsigned nq2, const typename simd_type::scalarType *ntbasis0, const simd_type *in, simd_type *out) |
| Stage one in three dimensions: reduce the volume block to the boundary planes of one or both direction-0 normal faces. | |
| template<bool END_PTS_COLLOCATED1, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractEndFacesN1Kernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nq0, const unsigned nq1, const unsigned nq2, const typename simd_type::scalarType *ntbasis1, const simd_type *in, simd_type *out) |
| Stage one in three dimensions: the direction-1 twin of PhysExtractEndFacesN0Kernel. | |
| template<bool END_PTS_COLLOCATED2, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractEndFacesN2Kernel (const unsigned fac, const unsigned nface, const unsigned tstride, const unsigned nq0, const unsigned nq1, const unsigned nq2, const typename simd_type::scalarType *ntbasis2, const simd_type *in, simd_type *out) |
| Stage one in three dimensions: the direction-2 twin of PhysExtractEndFacesN0Kernel. | |
| template<bool END_PTS_COLLOCATED0, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractFaceN0Kernel (const unsigned fac, const unsigned nfac, const unsigned tstride, const unsigned nq0, const unsigned nq1, const unsigned nq2, const typename simd_type::scalarType *ntbasis0, const unsigned nq00, const unsigned nq01, const typename simd_type::scalarType *tbasis00, const typename simd_type::scalarType *tbasis01, simd_type *wsp1, simd_type *wsp2, const simd_type *in, simd_type *out, const bool isCollocated00, const bool isCollocated01) |
| Glue for the direction-0 normal faces: extract, then interpolate. | |
| template<bool END_PTS_COLLOCATED1, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractFaceN1Kernel (const unsigned fac, const unsigned nfac, const unsigned tstride, const unsigned nq0, const unsigned nq1, const unsigned nq2, const typename simd_type::scalarType *ntbasis1, const unsigned nq10, const unsigned nq11, const typename simd_type::scalarType *tbasis10, const typename simd_type::scalarType *tbasis11, simd_type *wsp1, simd_type *wsp2, const simd_type *in, simd_type *out, const bool isCollocated10, const bool isCollocated11) |
| Glue for the direction-1 normal faces: the direction-1 twin of PhysExtractFaceN0Kernel. | |
| template<bool END_PTS_COLLOCATED2, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysExtractFaceN2Kernel (const unsigned fac, const unsigned nfac, const unsigned tstride, const unsigned nq0, const unsigned nq1, const unsigned nq2, const typename simd_type::scalarType *ntbasis2, const unsigned nq20, const unsigned nq21, const typename simd_type::scalarType *tbasis20, const typename simd_type::scalarType *tbasis21, simd_type *wsp1, simd_type *wsp2, const simd_type *in, simd_type *out, const bool isCollocated20, const bool isCollocated21) |
| Glue for the direction-2 normal faces: the direction-2 twin of PhysExtractFaceN0Kernel. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysTraceFaceExtractKernel (const unsigned face, const unsigned nm0, const unsigned nm1, const unsigned nm2, const unsigned nq00, const unsigned nq01, const unsigned nq10, const unsigned nq11, const unsigned nq20, const unsigned nq21, const typename simd_type::scalarType *ntbasis0, const typename simd_type::scalarType *ntbasis1, const typename simd_type::scalarType *ntbasis2, const typename simd_type::scalarType *tbasis00, const typename simd_type::scalarType *tbasis01, const typename simd_type::scalarType *tbasis10, const typename simd_type::scalarType *tbasis11, const typename simd_type::scalarType *tbasis20, const typename simd_type::scalarType *tbasis21, simd_type *sum_irq, simd_type *sum_jir, const simd_type *in, simd_type *out, const bool isCollocated00=false, const bool isCollocated01=false, const bool isCollocated10=false, const bool isCollocated11=false, const bool isCollocated20=false, const bool isCollocated21=false, const bool endPtsCollocated0=false, const bool endPtsCollocated1=false, const bool endPtsCollocated2=false) |
| Three-dimensional entry point for a single named face: turn the face id into a normal direction and a position, then call the glue. | |
| std::array< size_t, 2 > | PhysTraceExtractWorkspaceSizes (const std::vector< unsigned int > &nm, const std::vector< unsigned int > &nq) |
| The sizes, in entries of the vector type, of the two workspaces the extraction of one element group needs, for the largest intermediate any shape of the dimension can need. In two dimensions the first holds the values of an edge pair the normal-direction stage extracts, and the second is unused. In three the first holds the face blocks of a face pair, and the second the scratch of the general face interpolation: the first in-trace direction already interpolated while the second is still on the volume points. A segment needs neither. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, unsigned int DIR, bool CONTRACT, unsigned int NDIM, unsigned int NVAR, typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysTraceExtractDirLinesKernel (const unsigned int nq0, const unsigned int nq1, const unsigned int nq2, const typename simd_type::scalarType *ntbasis, const bool endPts, const unsigned int *traceOffset, const simd_type *const in[NVAR], const simd_type *tensor, const unsigned int varStride, const simd_type(*traceNormals)[NDIM], simd_type *const out[NVAR]) |
The traces of normal direction DIR of NVAR fields at once, line by line along the normal direction: each line's values are loaded once and interpolated to every trace of the direction (h_p(-1), h_p(+1)), or read off the end points when the rule contains them. With CONTRACT the line values are the directional components of a tensor, contracted with each trace's normal (traceNormals, one per trace) before the interpolation, which forms the outward normal component of the tensor on the traces in the same pass. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename TTraceSizeParameter1D , typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysTraceExtractKernelLauncher (const TTraceSizeParameter1D sizeParam1D, const typename simd_type::scalarType *ntbasis0, const simd_type *in, simd_type *out, const bool endPtsCollocated0) |
| One-dimensional bulk entry point: both endpoint values of every element. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename TTraceSizeParameter2D , typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysTraceExtractKernelLauncher (const TTraceSizeParameter2D sizeParam2D, const typename simd_type::scalarType *ntbasis0, const typename simd_type::scalarType *ntbasis1, const typename simd_type::scalarType *tbasis00, const typename simd_type::scalarType *tbasis10, simd_type *wsp, const simd_type *in, simd_type *out, const bool isCollocated00, const bool isCollocated10, const bool endPtsCollocated0, const bool endPtsCollocated1) |
| Two-dimensional bulk entry point: extract every edge of the element in packed order. | |
| template<LibUtilities::ShapeType SHAPE_TYPE, typename TTraceSizeParameter3D , typename simd_type > | |
| static NEK_FORCE_INLINE void | PhysTraceExtractKernelLauncher (const TTraceSizeParameter3D sizeParam3D, const typename simd_type::scalarType *ntbasis0, const typename simd_type::scalarType *ntbasis1, const typename simd_type::scalarType *ntbasis2, const typename simd_type::scalarType *tbasis00, const typename simd_type::scalarType *tbasis01, const typename simd_type::scalarType *tbasis10, const typename simd_type::scalarType *tbasis11, const typename simd_type::scalarType *tbasis20, const typename simd_type::scalarType *tbasis21, simd_type *sum_irq, simd_type *sum_jir, const simd_type *in, simd_type *out, const bool isCollocated00, const bool isCollocated01, const bool isCollocated10, const bool isCollocated11, const bool isCollocated20, const bool isCollocated21, const bool endPtsCollocated0, const bool endPtsCollocated1, const bool endPtsCollocated2) |
| Three-dimensional bulk entry point: extract every face of the element in packed order. | |
| template<bool ASSIGN, typename vec_t > | |
| static NEK_FORCE_INLINE void | ContractTraceNormalChunk (const unsigned int nq, const vec_t *normal, const vec_t *trace, vec_t *out) |
Accumulate one direction's share of the outward normal component on one chunk of element-local traces: out = normal * trace, or out += normal * trace with a fused multiply-add after the first direction, at the nq trace points of a SIMD group of elements. | |
| template<typename TData , typename TScalar > | |
| static NEK_HOSTDEVICE_INLINE void | PhysInterpEdgeKernel (const unsigned nedg, const unsigned nqfrom, const unsigned nqto, const TScalar *tbasis, const TData *in, TData *out, const bool isCollocated=false) |
| Stage two in two dimensions: interpolate the extracted edge values from the volume points of the in-edge direction onto that edge's trace quadrature points. | |
| template<typename TData , typename TScalar > | |
| static NEK_HOSTDEVICE_INLINE void | PhysInterpFaceKernel (const unsigned nfac, const unsigned nqfrom0, const unsigned nqfrom1, const unsigned nqto0, const unsigned nqto1, const TScalar *tbasis0, const TScalar *tbasis1, TData *wsp, const TData *in, TData *out, const bool isCollocated0, const bool isCollocated1) |
| Stage two in three dimensions: interpolate the extracted face planes from the volume points of the two tangential directions onto the face's trace quadrature points. | |
| template<typename TTable , typename MemSpace > | |
| TraceTables< TTable > | FetchTraceTables (const LocalRegions::ExpansionSharedPtr &exp, const LibUtilities::NekDataWarehouseSharedPtr &warehouse) |
Fetch the trace tables of the block whose representative expansion is exp from warehouse. | |
Variables | |
| template<typename T > | |
| constexpr bool | IsPhysSizeParameter1D_v = IsPhysSizeParameter1D<T>::value |
| template<typename T > | |
| constexpr bool | IsPhysSizeParameter2D_v = IsPhysSizeParameter2D<T>::value |
| template<typename T > | |
| constexpr bool | IsPhysSizeParameter3D_v = IsPhysSizeParameter3D<T>::value |
| template<typename T > | |
| constexpr bool | IsSizeParameter1D_v = IsSizeParameter1D<T>::value |
| template<typename T > | |
| constexpr bool | IsSizeParameter2D_v = IsSizeParameter2D<T>::value |
| template<typename T > | |
| constexpr bool | IsSizeParameter3D_v = IsSizeParameter3D<T>::value |
| template<typename T > | |
| constexpr bool | IsTraceSizeParameter1D_v |
| template<typename T > | |
| constexpr bool | IsTraceSizeParameter2D_v |
| template<typename T > | |
| constexpr bool | IsTraceSizeParameter3D_v |
| const std::string | expressionKernelName = "expression_kernel" |
| The name the generated kernel function is compiled under. | |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT | nbasis0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dnbasis0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t | nelmt |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int | elmtsPerBlock |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int | numDataIn |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int | numDataOut |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int | numDataJac |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t | jacCompStride |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT | twoOver0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT | jac |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp | useSharedMemoryWsp |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT | wsp |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT | in |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT | out |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const bool | append |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const bool const bool | endPtsCollocated0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const bool const bool unsigned char * | shmemptr |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const bool const bool unsigned char const TthreadBlock & | threadBlock |
| const unsigned int | nm0 = sizeParam1D.nm0() |
| constexpr unsigned int | warpsize = NektarSpaces::Device::warpSize |
| size_t | e = getGlobalIdx<0>(threadBlock) |
| const unsigned int | c = getBlockIdx<1>(threadBlock) |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT | nbasis1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dnbasis1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT | tbasis0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tbasis1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | twoOver1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int | traceDir0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int | traceDir1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const bool const bool | isColl0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const bool const bool const bool | isColl1 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const bool const bool const bool const bool | endPtsColl0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const bool const bool const bool const bool const bool | endPtsColl1 |
| const unsigned int | nm1 = sizeParam2D.nm1() |
| const unsigned int | tnq00 = sizeParam2D.nq00() |
| const unsigned int | tnq10 = sizeParam2D.nq10() |
| constexpr unsigned int | nedgeN1 |
| const size_t | edgeSize |
| TData * | s_twoOver1 = nullptr |
| unsigned int | tableSize = 0 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | nbasis2 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dnbasis2 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT | tbasis00 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tbasis01 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tbasis10 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tbasis11 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tbasis20 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tbasis21 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis00 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis01 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis10 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis11 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis20 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | dtbasis21 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw00 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw01 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw10 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw11 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw20 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | tw21 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT | twoOver2 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int | traceDir00 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int | traceDir01 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int | traceDir10 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int | traceDir11 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int | traceDir20 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int | traceDir21 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool | isColl00 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool | isColl01 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool | isColl10 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool | isColl11 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool | isColl20 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool | isColl21 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const unsigned int const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool const bool const bool const bool | endPtsColl2 |
| const unsigned int | nm2 = sizeParam3D.nm2() |
| const unsigned int | tnq01 = sizeParam3D.nq01() |
| const unsigned int | tnq11 = sizeParam3D.nq11() |
| const unsigned int | tnq20 = sizeParam3D.nq20() |
| const unsigned int | tnq21 = sizeParam3D.nq21() |
| constexpr unsigned int | nfaceN1 |
| constexpr unsigned int | nfaceN2 |
| const unsigned int | wsp0Size |
| const unsigned int | wsp1Size |
| TData * | s_twoOver2 = nullptr |
| const unsigned int | nmTot = nm0 * nm1 |
| constexpr bool | COLLAPSED = IsCollapsedDir(SHAPE_TYPE, 1) |
| const unsigned int | off1 = 2 * tnq00 |
| const unsigned int | joff1 = (DEFORMED) ? off1 : 2 |
| const unsigned int | wspIdx |
| const size_t | elmtWspSize |
| TData * | s_wsp = s_twoOver1 + (COLLAPSED ? nm1 : 0u) + elmtWspSize * wspIdx |
| TData * | s_out |
| TData * | s_vol = s_out + nmTot |
| constexpr bool | COLLAPSED1 = IsCollapsedDir(SHAPE_TYPE, 1) |
| constexpr bool | COLLAPSED2 = IsCollapsedDir(SHAPE_TYPE, 2) |
| const unsigned int | fsz0 = tnq00 * tnq01 |
| const unsigned int | fsz1 = tnq10 * tnq11 |
| const unsigned int | fsz2 = tnq20 * tnq21 |
| const unsigned int | in1 = 2 * fsz0 |
| const unsigned int | jac1 = DEFORMED ? in1 : 2 |
| const unsigned int | in2 = in1 + nfaceN1 * fsz1 |
| const unsigned int | jac2 = jac1 + (DEFORMED ? nfaceN1 * fsz1 : nfaceN1) |
| TData * | s_wsp0 = s_twoOver2 + (COLLAPSED2 ? nm2 : 0u) + elmtWspSize * wspIdx |
| TData * | s_wsp1 = s_wsp0 + IProductWRTPhysTraceFaceModeBlockSize(sizeParam3D) |
| static constexpr unsigned int | physLiftProjectDenseTailMaxPoints = 125u |
| The most points per element the Device SumFacTOP implementation applies the StdInvMass form of a collapsed shape through the dense projector at (PhysLiftProjectDenseTail()): 125, order 4 on the default rules (5^3 points), the highest order it was measured at, where it is still 1.6 to 1.8 times faster than the sum-factorised kernel on GH200 and MI210. It is not tied to the block size: order 5 has 6^3 = 216 points, so any cap from 125 to 215 admits the same elements. The projector's cost per element grows as nqTot^2, against about nqTot^(4/3) for sum-factorisation, so the crossover lies above order 4; the cap moves there once it is measured. | |
|
strong |
| Enumerator | |
|---|---|
| Full | |
| UniqueAndGroups | |
Definition at line 227 of file CGBndCondMapBuilder.hpp.
|
strong |
Which way round a homogeneous z-derivative maps its components.
Two of these are the same mapping read in opposite directions, the third leaves the components alone and the fourth crosses two of them over, so one parameter covers all four.
| Enumerator | |
|---|---|
| ScalarToVectorZ | Component n of a scalar field to slot 3n + 2 of a vector, as PhysDeriv needs for the z entry of its gradient. |
| VectorZToScalar | Component 3n + 2 of a vector, the z direction of variable n, to component n of a scalar, as IProductWRTDerivBase and Divergence need. |
| Identity | Component n to component n, both sides scalar, as Laplacian and Helmholtz need for the weak z-Laplacian. |
| CurlZ | The z part of a curl, \((-\partial_z f_y, \partial_z f_x, 0)\): component 1 to component 0 with a sign change and component 0 to component 1, both sides the same three-component vector, as CurlCurl needs for each of its two curls. |
Definition at line 47 of file DerivZOpImpl.hpp.
The variants of the expression kernel that are compiled, in the order Apply() selects them: appending to or assigning the output, reading storage interleaved at width one or at the device warp size.
| Enumerator | |
|---|---|
| eAppendScalar | |
| eAssignScalar | |
| eAppendInterleaved | |
| eAssignInterleaved | |
| eNumExpressionKernels | |
Definition at line 70 of file ExpressionBlockOpDeviceGenericHelper.hpp.
|
strong |
How a block applies \(B M^{-1} B^{\mathsf T}\).
Definition at line 77 of file PhysLiftProjectBlockOp.hpp.
|
strong |
Which of the Device fused kernels of the StdInvMass form a shared-memory size is for.
Definition at line 94 of file PhysLiftProjectBlockOp.hpp.
| NEK_DEVICE_KERNEL void Nektar::MultiRegions::detail::__LAUNCH_BOUNDS__ | ( | (GetMaxThreadPerBlock< Implementation, TTraceSizeParameter1D >()) | ) | const |
The one-dimensional lift: \(\langle \partial_n \phi, g \rangle\) over a segment's two vertices, one lane per element.
A segment's traces are points, so there is no trace quadrature to sum over, no tangential table and no trace Jacobian. What is left is the point evaluation
\[ out_p \mathrel{+}= \sum_{v=0,1} \partial h_p(\xi_v)\, F_v\, g_v , \]
with \(F_v\) the normal derivative factor at that vertex, which the data warehouse supplies as the single component of the factor array. A segment carries one factor per vertex whether or not it is deformed.
| SHAPE_TYPE | Seg; unread. |
| Implementation | SumFac. |
| DEFORMED | Unread: a segment carries one factor per vertex whatever its geometry. |
| TUseSharedWsp | Type of useSharedMemoryWsp: bool, or a std::bool_constant SelectSharedWorkSpace() fixed. |
| NEK_DEVICE_KERNEL void Nektar::MultiRegions::detail::__LAUNCH_BOUNDS__ | ( | (GetMaxThreadPerBlock< Implementation, TTraceSizeParameter1D >()) | ) | const |
The one-dimensional lift: \(\langle \partial_n \phi, g \rangle\) over a segment's two vertices, one or several elements per thread block.
The TOP counterpart of the one-dimensional SumFac launcher: an element's threads share the volume points of the point evaluation
\[ out_p \mathrel{+}= \sum_{v=0,1} \partial h_p(\xi_v)\, F_v\, g_v . \]
| SHAPE_TYPE | Seg; unread. |
| Implementation | SumFacTOP. |
| DEFORMED | Unread: a segment carries one factor per vertex whatever its geometry. |
| TElmtsPerBlock | SingleElmtPerBlock or MultipleElmtPerBlock. |
| TUseSharedWsp | Type of useSharedMemoryWsp: bool, or a std::bool_constant SelectSharedWorkSpace() fixed. |
References c, nm0, and threadBlock.
| NEK_DEVICE_KERNEL void Nektar::MultiRegions::detail::__LAUNCH_BOUNDS__ | ( | (GetMaxThreadPerBlock< Implementation, TTraceSizeParameter2D >()) | ) | const |
All edges of one two-dimensional element: the two terms of the operator, one per element direction, accumulated in turn; one lane per element.
Which table carries the derivative is decided per term from the trace direction. A collapsed shape carries \(2/(1 - \eta_1)\) on its \(\eta_0\) term; that factor is singular at the collapsed apex, a quadrature point of the trace but never of the element, so the affected edge group goes into the volume workspace and is scaled there. The group normal to the collapsed direction sits at \(\eta_1 = -1\) where the factor is one, and is accumulated straight into the output.
| sizeParam2D | Volume quadrature points per direction, nm0() and nm1(), and the trace quadrature points per direction, nq00() and nq10(). |
| nbasis0,nbasis1 | eInterp tables \(h_p(\pm 1)\) per direction. |
| dnbasis0,dnbasis1 | Derivatives of nbasis0, nbasis1. |
| nelmt | Elements in the block, including padding. |
| elmtsPerBlock | Elements per thread block, one per lane; unused. |
| numDataIn | Entries per element of in. |
| numDataOut | Entries per element of out (nm0 * nm1). |
| numDataJac | Entries per element, per term, of jac: one slot per edge when regular, one per trace point when deformed. |
| jacCompStride | Offset, in entries, between the two terms' factor arrays. |
| tbasis0,tbasis1 | eInterp tables to the trace points. |
| dtbasis0,dtbasis1 | Derivatives of tbasis0, tbasis1. |
| tw0,tw1 | Trace quadrature weights per direction. |
| twoOver0,twoOver1 | \(2/(1 - \eta)\) at the element points per direction; direction 0 is never collapsed and its slot is null and unread. |
| jac | Factor array of the block, term 0; term 1 sits jacCompStride further on. |
| useSharedMemoryWsp | Stage the workspace in shmemptr, after the factor table, rather than in wsp. |
| wsp | Static workspace of the block, holding the edge scratch and the volume buffer for every element; unused if useSharedMemoryWsp. |
| in | Packed trace values of the block. |
| out | Volume-shaped result of the block. |
| traceDir0,traceDir1 | Element direction each trace slot runs along. |
| append | Accumulate onto out instead of zeroing it first. |
| isColl0,isColl1 | Trace points of the direction-0 and direction-1 edges coincide with the volume points. |
| endPtsColl0,endPtsColl1 | Volume rule of direction 0 and direction 1 contains the domain endpoints. |
| shmemptr | Dynamic shared memory for the factor tables and, with useSharedMemoryWsp, the workspace. |
| threadBlock | Thread-block handle supplied by the launch macro. |
| NEK_DEVICE_KERNEL void Nektar::MultiRegions::detail::__LAUNCH_BOUNDS__ | ( | (GetMaxThreadPerBlock< Implementation, TTraceSizeParameter2D >()) | ) | const |
All edges of one two-dimensional element: the two terms of the operator, one per element direction, accumulated in turn; one or several elements per thread block.
The TOP counterpart of the two-dimensional SumFac launcher, with the same choice of derivative table per term and the same treatment of the collapsed factor: the \(\eta_0\) term's direction-0 edge group of a collapsed shape goes through the volume buffer and is scaled there. The element's volume is accumulated in the workspace and written out once.
The parameters are those of the SumFac launcher, elmtsPerBlock a SingleElmtPerBlock or MultipleElmtPerBlock; the intermediates live in the element's share of shmemptr after the factor table, and useSharedMemoryWsp and wsp go unread.
References FETCH_SHARED_MEMORY(), nm0, nm1, and shmemptr.
| NEK_DEVICE_KERNEL void Nektar::MultiRegions::detail::__LAUNCH_BOUNDS__ | ( | (GetMaxThreadPerBlock< Implementation, TTraceSizeParameter3D >()) | ) | const |
All faces of one three-dimensional element: the three terms of the operator, one per element direction, accumulated in turn; one lane per element.
A face group normal to a collapsed direction sits at \(\eta = -1\), where that direction's factor is one, so group k drops the direction k factor; the groups that keep one go through the volume workspace and are scaled on the element's own points, away from the singular apex.
| sizeParam3D | Volume quadrature points per direction and the trace quadrature points per face. |
| nbasis0,nbasis1,nbasis2 | eInterp tables \(h_p(\pm 1)\) per direction. |
| dnbasis0,dnbasis1,dnbasis2 | Derivatives of nbasis0, nbasis1, nbasis2. |
| nelmt | Elements in the block, including padding. |
| elmtsPerBlock | Elements per thread block, one per lane; unused. |
| numDataIn | Entries per element of in. |
| numDataOut | Entries per element of out (nm0 * nm1 * nm2). |
| numDataJac | Entries per element, per term, of jac: one slot per face when regular, one per trace point when deformed. |
| jacCompStride | Offset, in entries, between successive terms' factor arrays. |
| tbasis00,tbasis01,tbasis10,tbasis11,tbasis20,tbasis21 | eInterp tables to the trace points, per normal direction and tangential direction. |
| dtbasis00,dtbasis01,dtbasis10,dtbasis11,dtbasis20,dtbasis21 | Derivatives of tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21. |
| tw00,tw01,tw10,tw11,tw20,tw21 | Trace quadrature weights in the same order as tbasis00 to tbasis21. |
| twoOver0,twoOver1,twoOver2 | \(2/(1 - \eta)\) at the element points per direction; direction 0 is never collapsed and its slot is null and unread, as is any direction the shape does not collapse. |
| jac | Factor array of the block, term 0; term d sits d * jacCompStride further on. |
| useSharedMemoryWsp | Stage the workspace in shmemptr, after the factor tables, rather than in wsp. |
| wsp | Static workspace of the block, holding the face mode block, the contraction scratch and the volume buffer for every element; unused if useSharedMemoryWsp. |
| in | Packed trace values of the block. |
| out | Volume-shaped result of the block. |
| traceDir00,traceDir01,traceDir10,traceDir11,traceDir20,traceDir21 | Element direction each trace slot runs along. |
| append | Accumulate onto out instead of zeroing it first. |
| isColl00,isColl01,isColl10,isColl11,isColl20,isColl21 | Trace points of each face's tangential directions coincide with the volume points. |
| endPtsColl0,endPtsColl1,endPtsColl2 | Volume rule of each direction contains the domain endpoints. |
| shmemptr | Dynamic shared memory for the factor tables and, with useSharedMemoryWsp, the workspace. |
| threadBlock | Thread-block handle supplied by the launch macro. |
| NEK_DEVICE_KERNEL void Nektar::MultiRegions::detail::__LAUNCH_BOUNDS__ | ( | (GetMaxThreadPerBlock< Implementation, TTraceSizeParameter3D >()) | ) | const |
All faces of one three-dimensional element: the three terms of the operator, one per element direction, accumulated in turn; one or several elements per thread block.
The TOP counterpart of the three-dimensional SumFac launcher, with the same choice of derivative table per term and the same treatment of the collapsed factors: group k drops the direction k factor, and the groups that keep one go through the volume buffer and are scaled there. Each group's faces go through the face cores one at a time, in and the factors offset to the face and the face's position within its direction passed as the window, so that the trace-mode buffer and the contraction scratch hold one face. The element's volume is accumulated in the workspace and written out once.
The parameters are those of the SumFac launcher, elmtsPerBlock a SingleElmtPerBlock or MultipleElmtPerBlock; the intermediates live in the element's share of shmemptr after the factor tables, and useSharedMemoryWsp and wsp go unread.
References FETCH_SHARED_MEMORY(), nfaceN1, nfaceN2, nm0, nm1, nm2, nmTot, Nektar::LibUtilities::ShapeTypeNumTraceInDir, shmemptr, tnq00, tnq01, tnq10, tnq11, tnq20, and tnq21.
|
static |
Segment advection kernel: add the advection term to the scaled physical values of one element group.
A segment has a single reference direction, so the Cartesian derivative in coordinate direction \(k\) is \((\partial\xi_0/\partial x_k)\,\partial u/\partial\xi_0\), and no collapsed-coordinate factors are involved.
| DEFORMED | Geometry is deformed, so the derivative factors vary from point to point. |
| simd_type | SIMD vector type of the interleaved group. |
| ncoord | Coordinate dimension: how many velocity components and derivative factors are used. | |
| nq0 | Quadrature points of the element. | |
| advVel0_ptr | Velocity component 0 at the quadrature points. | |
| advVel1_ptr | Velocity component 1; read only when ncoord > 1. | |
| advVel2_ptr | Velocity component 2; read only when ncoord > 2. | |
| df_ptr | Derivative factors \(\partial\xi_0/\partial x_k\). When the geometry is regular the kernel reads ncoord values for the whole element, df_ptr[k]; when it is deformed, df_ptr[i * ncoord + k] at point i. | |
| deriv0 | Reference derivatives \(\partial u/\partial\xi_0\); unchanged. | |
| [in,out] | out | In: \(u\) at the quadrature points; out: \(\mathbf{V}\cdot\nabla u + \mathrm{scale}\,u\). |
| scale | Reaction coefficient \(\lambda\). |
Definition at line 129 of file LinAdvDiffReactionBlockOpSerialAVXSumFacKernels.hpp.
References out.
|
static |
Two-dimensional advection kernel: add the advection term to the scaled physical values of one element group.
For triangles the incoming derivatives are those of the collapsed coordinate system, so the kernel first applies the standard correction with the two factor tables – the direction-0 derivative is scaled by \(2/(1-\eta_1)\) and folded into the direction-1 derivative with weight \((1+\eta_0)/2\) – before the derivative factors take it to Cartesian space. Quadrilaterals skip that step. The derivative-factor block holds 2 * ncoord values per point (or per element, when the geometry is regular), ordered so that the entry for coordinate \(k\) and reference direction \(d\) is at 2 * k + d.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| DEFORMED | Geometry is deformed. |
| simd_type | SIMD vector type of the interleaved group. |
| ncoord | Coordinate dimension (2, or 3 for a surface element embedded in three dimensions). | |
| nq0,nq1 | Quadrature points per direction. | |
| hfac0 | Collapsed-coordinate factor \((1+\eta_0)/2\), one value per direction-0 point; triangles only. | |
| hfac1 | Collapsed-coordinate factor \(2/(1-\eta_1)\), one value per direction-1 point; triangles only. | |
| advVel0_ptr,advVel1_ptr | Velocity components 0 and 1. | |
| advVel2_ptr | Velocity component 2; read only when ncoord == 3. | |
| df_ptr | Derivative factors, laid out as described above. | |
| deriv0,deriv1 | Reference derivatives; unchanged. | |
| [in,out] | out | In: \(u\) at the quadrature points; out: \(\mathbf{V}\cdot\nabla u + \mathrm{scale}\,u\). |
| scale | Reaction coefficient \(\lambda\). |
Definition at line 239 of file LinAdvDiffReactionBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
Three-dimensional advection kernel: add the advection term to the scaled physical values of one element group.
As in two dimensions, the collapsed-coordinate correction comes first, and which of the four factor tables enter depends on the shape: the hexahedron needs none; the prism uses hfac0 and hfac3; the pyramid adds hfac1; the tetrahedron uses all four. The derivative factors then take the corrected derivatives to Cartesian space. There is no coordinate-dimension argument – a three-dimensional element has coordinate dimension three, so the derivative-factor block is always nine values per point (or per element, when the geometry is regular), with the entry for coordinate \(k\) and reference direction \(d\) at 3 * k + d.
| SHAPE_TYPE | Hex, Tet, NodalTet, Prism, NodalPrism, Pyr or NodalPyr. |
| DEFORMED | Geometry is deformed. |
| simd_type | SIMD vector type of the interleaved group. |
| nq0,nq1,nq2 | Quadrature points per direction. | |
| hfac0 | \((1+\eta_0)/2\), per direction-0 point. | |
| hfac1 | \((1+\eta_1)/2\), per direction-1 point. | |
| hfac2 | \(2/(1-\eta_1)\), per direction-1 point. | |
| hfac3 | \(2/(1-\eta_2)\), per direction-2 point. | |
| advVel0_ptr,advVel1_ptr,advVel2_ptr | Velocity components. | |
| df_ptr | Derivative factors, laid out as described above. | |
| deriv0,deriv1,deriv2 | Reference derivatives; unchanged. | |
| [in,out] | out | In: \(u\) at the quadrature points; out: \(\mathbf{V}\cdot\nabla u + \mathrm{scale}\,u\). |
| scale | Reaction coefficient \(\lambda\). |
Definition at line 366 of file LinAdvDiffReactionBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, out, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
Leaf kernel, stage two in two dimensions: lift the results of a direction-0 normal edge into the volume field.
Applies \(\Lambda_{iq} \mathrel{+}= h_i(\pm 1)\, F_q\), the volume field being indexed nm0 * q + i. Under END_PTS_COLLOCATED0 the interpolation is a delta and the edge lands entirely in the boundary plane i = e * (nm0 - 1), the loop variable e being the position of the edge within its direction (0 lower, 1 upper) rather than its index within this call, which is why the caller passes absolute positions.
| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type carrying one element per lane. |
| edg | Position of the first edge within direction 0. |
| nedge | One past the position of the last edge. |
| tstride | Row stride of nbasis, that is the number of traces direction 0 has. |
| nm0 | Volume quadrature points in direction 0. |
| nm1 | Volume quadrature points in direction 1. |
| nbasis | eInterp table \(h_i(\pm 1)\) of direction 0. |
| in | Trace-mode workspace written by IPWRTPhysEdgeKernel. |
| out | Volume field of this element group, accumulated onto. |
Definition at line 383 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Leaf kernel, stage two in two dimensions: lift the results of a direction-1 normal edge into the volume field.
The direction-1 twin of AddEdgeN0ToVolKernel: here the edge carries nm0 entries and the lift runs along direction 1, so under the endpoint fast path the whole edge lands in the row q = e * (nm1 - 1) and the general arm accumulates \(\Lambda_{iq} \mathrel{+}= h_q(\pm 1)\, F_i\).
END_PTS_COLLOCATED0 although it is the direction-1 flag that the callers pass; only the name is inherited from the direction-0 kernel.| END_PTS_COLLOCATED0 | Direction-1 volume rule contains the domain endpoints, despite the name. |
| simd_type | SIMD vector type carrying one element per lane. |
| edg | Position of the first edge within direction 1. |
| nedge | One past the position of the last edge. |
| tstride | Row stride of nbasis, that is the number of traces direction 1 has. |
| nm0 | Volume quadrature points in direction 0. |
| nm1 | Volume quadrature points in direction 1. |
| nbasis | eInterp table \(h_q(\pm 1)\) of direction 1. |
| in | Trace-mode workspace written by IPWRTPhysEdgeKernel. |
| out | Volume field of this element group, accumulated onto. |
Definition at line 446 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Leaf kernel, stage two in three dimensions: lift the results of a direction-0 normal face into the volume field.
Applies \(\Lambda_{pqr} \mathrel{+}= h_p(\pm 1)\, F_{qr}\), the volume field being indexed r * nm0 * nm1 + q * nm0 + p. Under END_PTS_COLLOCATED0 the interpolation is a delta and the face lands entirely in the plane p = f * (nm0 - 1), f being the position of the face within its direction rather than its index within this call.
| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type carrying one element per lane. |
| fac | Position of the first face within direction 0. |
| nface | One past the position of the last face. |
| tstride | Row stride of nbasis, that is the number of traces direction 0 has. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nbasis | eInterp table \(h_p(\pm 1)\) of direction 0. |
| in | Trace-mode workspace written by IPWRTPhysFaceKernel, nm1 * nm2 entries per face. |
| out | Volume field of this element group, accumulated onto. |
Definition at line 812 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Leaf kernel, stage two in three dimensions: lift the results of a direction-1 normal face into the volume field.
The direction-1 twin of AddFaceN0ToVolKernel. The face carries nm0 * nm2 entries laid out face-local as r * nm0 + p, the endpoint fast path writes the plane q = f * (nm1 - 1), and the general arm accumulates \(\Lambda_{pqr} \mathrel{+}= h_q(\pm 1)\, F_{pr}\) over every q.
f * nm0 * (nm1 - 1), which is an output plane, while the general arm offsets its input by (f - fac) * nm0 * nm2: the trace-mode slabs are nm0 * nm2 apart and are counted from the first face of the call, not from position 0 of the direction.| END_PTS_COLLOCATED1 | Direction-1 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type carrying one element per lane. |
| fac | Position of the first face within direction 1. |
| nface | One past the position of the last face. |
| tstride | Row stride of nbasis, that is the number of traces direction 1 has. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nbasis | eInterp table \(h_q(\pm 1)\) of direction 1. |
| in | Trace-mode workspace written by IPWRTPhysFaceKernel, nm0 * nm2 entries per face. |
| out | Volume field of this element group, accumulated onto. |
Definition at line 885 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Leaf kernel, stage two in three dimensions: lift the results of a direction-2 normal face into the volume field.
The direction-2 twin of AddFaceN0ToVolKernel. The face carries nm0 * nm1 entries laid out face-local as q * nm0 + p, the endpoint fast path writes the plane r = f * (nm2 - 1), and the general arm accumulates \(\Lambda_{pqr} \mathrel{+}= h_r(\pm 1)\, F_{pq}\) over every r, advancing the input slab by nm0 * nm1 per face.
| END_PTS_COLLOCATED2 | Direction-2 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type carrying one element per lane. |
| fac | Position of the first face within direction 2. |
| nface | One past the position of the last face. |
| tstride | Row stride of nbasis, that is the number of traces direction 2 has. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nbasis | eInterp table \(h_r(\pm 1)\) of direction 2. |
| in | Trace-mode workspace written by IPWRTPhysFaceKernel, nm0 * nm1 entries per face. |
| out | Volume field of this element group, accumulated onto. |
Definition at line 960 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
1D advection finish: out = scale * du/dxi * sum_k df(k) V_k per quadrature point.
A segment has a single reference direction, so the velocity contraction reduces to scaling the one reference derivative by the k-th derivative factor and velocity component for each of the up to three coordinate directions of a possibly embedded segment.
| SHAPE_TYPE | Element shape (segments only; unused). |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| simd_type | SIMD vector type; one element per lane. |
| nq0 | Quadrature points per element. |
| ncoord | Coordinate dimension, equal to the number of derivative factors per point. |
| df_ptr | Derivative factors (ncoord per element group, or per point when deformed). |
| advVel0_ptr | Velocity component 0 at the quadrature points. |
| advVel1_ptr | Velocity component 1; read when ncoord >= 2. |
| advVel2_ptr | Velocity component 2; read when ncoord == 3. |
| deriv0 | Reference-direction derivative du/dxi. |
| out | Output plane of nq0 vectors. |
| scale | Scalar factor applied to the result. |
Definition at line 96 of file AdvectionBlockOpSerialAVXSumFacKernels.hpp.
|
static |
2D advection finish: chain-rule the tensor-direction derivatives into Cartesian ones and contract with the velocity, out = scale * sum_k V_k sum_d df(k,d) du/dxi_d per point.
For triangles the tensor directions are the collapsed coordinates: d0 is multiplied by f1[j] = 2/(1 - eta_1) and d1 augmented by d0 * f0[i] with f0[i] = (1 + eta_0)/2, recovering the standard-coordinate derivatives before the derivative factors are applied. With ncoord == 3 the element is embedded in three-dimensional space and a third factor/velocity pair contributes.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| simd_type | SIMD vector type; one element per lane. |
| nq0 | Quadrature points in direction 0. |
| nq1 | Quadrature points in direction 1. |
| ncoord | Coordinate dimension, i.e. number of gradient/velocity components (2 or 3). |
| f0 | Collapsed-coordinate factor (1 + eta_0)/2 at the direction-0 points (triangles only). |
| f1 | Collapsed-coordinate factor 2/(1 - eta_1) at the direction-1 points (triangles only). |
| df_ptr | Derivative factors (2 * ncoord per element group, or per point when deformed). |
| advVel0_ptr | Velocity component 0 at the quadrature points. |
| advVel1_ptr | Velocity component 1 at the quadrature points. |
| advVel2_ptr | Velocity component 2; read when ncoord == 3. |
| deriv0 | Tensor-direction-0 derivative of the group. |
| deriv1 | Tensor-direction-1 derivative of the group. |
| out | Output plane of nq0 * nq1 vectors. |
| scale | Scalar factor applied to the result. |
Definition at line 199 of file AdvectionBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
3D advection finish: chain-rule the tensor-direction derivatives into Cartesian ones and contract with the velocity, out = scale * sum_k V_k sum_d df(k,d) du/dxi_d per point.
Hexahedra need no correction and ignore the factor tables. For the other shapes the tensor directions are the collapsed coordinates and are chain-ruled back to standard coordinates before the nine derivative factors are applied:
The factor arguments arrive in the push order of the block operator's table vector (m_f[0] .. m_f[3]), which pairs them with the parameter names as follows: f0 and f1 are the (1 + eta)/2 tabulations of directions 0 and 1, while f1m and f2 are the 2/(1 - eta) tabulations of directions 1 and 2. Note that f1 and f1m are therefore two different factors of the same direction, and that the parameter order is not the direction order.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| simd_type | SIMD vector type; one element per lane. |
| nq0 | Quadrature points in direction 0. |
| nq1 | Quadrature points in direction 1. |
| nq2 | Quadrature points in direction 2. |
| f0 | (1 + eta_0)/2 at the direction-0 points. |
| f1 | (1 + eta_1)/2 at the direction-1 points. |
| f1m | 2/(1 - eta_1) at the direction-1 points. |
| f2 | 2/(1 - eta_2) at the direction-2 points. |
| df_ptr | Derivative factors (nine per element group, or per point when deformed). |
| advVel0_ptr | Velocity component 0 at the quadrature points. |
| advVel1_ptr | Velocity component 1 at the quadrature points. |
| advVel2_ptr | Velocity component 2 at the quadrature points. |
| deriv0 | Tensor-direction-0 derivative of the group. |
| deriv1 | Tensor-direction-1 derivative of the group. |
| deriv2 | Tensor-direction-2 derivative of the group. |
| out | Output plane of nq0 * nq1 * nq2 vectors. |
| scale | Scalar factor applied to the result. |
Definition at line 350 of file AdvectionBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, out, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
Definition at line 43 of file AdvectionDealiasBlockOpSerialAVXSumFacKernels.hpp.
References out.
Referenced by Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), and Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply().
|
static |
Advect one element group of a 1D block: tensor-product differentiation followed by Advection1DKernel.
Unpacks the size parameter – runtime or compile-time, both satisfying IsPhysSizeParameter1D_v as the static_assert enforces – forms du/dxi in deriv0 with PhysDerivTensor1DKernel and hands it to Advection1DKernel together with the group's derivative factors and velocity.
| SHAPE_TYPE | Element shape. |
| APPEND | Accumulate onto out. |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter1D | 1D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam1D | Element sizes: coordinate dimension and quadrature points. |
| D0 | 1D derivative matrix of the direction. |
| df_ptr | Derivative factors of the group. |
| advVel0_ptr | Velocity component 0 of the group. |
| advVel1_ptr | Velocity component 1; read for embedded segments. |
| advVel2_ptr | Velocity component 2; read for embedded segments. |
| deriv0 | Workspace for the reference derivative. |
| in | Input values of the group. |
| out | Output values of the group. |
| scale | Scalar factor applied to the result. |
Definition at line 517 of file AdvectionBlockOpSerialAVXSumFacKernels.hpp.
References in, out, and PhysDerivTensor1DKernel().
Referenced by Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
Advect one element group of a 2D block: tensor-product differentiation followed by Advection2DKernel.
As in 1D, with PhysDerivTensor2DKernel forming the two tensor-direction derivatives in deriv0 and deriv1 and Advection2DKernel applying the triangle collapsed-coordinate correction (through f0 and f1), the derivative factors and the velocity contraction.
| SHAPE_TYPE | Element shape. |
| APPEND | Accumulate onto out. |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter2D | 2D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam2D | Element sizes: coordinate dimension, which is 3 for elements embedded in three-dimensional space, and per-direction quadrature points. |
| D0 | 1D derivative matrix of direction 0. |
| D1 | 1D derivative matrix of direction 1. |
| f0 | Collapsed-coordinate factor of direction 0. |
| f1 | Collapsed-coordinate factor of direction 1. |
| df_ptr | Derivative factors of the group. |
| advVel0_ptr | Velocity component 0 of the group. |
| advVel1_ptr | Velocity component 1 of the group. |
| advVel2_ptr | Velocity component 2; read for embedded elements. |
| deriv0 | Workspace for the direction-0 derivative. |
| deriv1 | Workspace for the direction-1 derivative. |
| in | Input values of the group. |
| out | Output values of the group. |
| scale | Scalar factor applied to the result. |
Definition at line 576 of file AdvectionBlockOpSerialAVXSumFacKernels.hpp.
References in, out, and PhysDerivTensor2DKernel().
|
static |
Advect one element group of a 3D block: tensor-product differentiation followed by Advection3DKernel.
Counterpart of the 2D overload for three-dimensional shapes; the size parameter carries no coordinate dimension, since a 3D element always has three. PhysDerivTensor3DKernel forms the three tensor-direction derivatives in deriv0 .. deriv2 and Advection3DKernel applies the shape-specific collapsed-coordinate correction (through f0 .. f2), the nine derivative factors and the velocity contraction.
| SHAPE_TYPE | Element shape. |
| APPEND | Accumulate onto out. |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter3D | 3D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam3D | Element sizes: per-direction quadrature points. |
| D0 | 1D derivative matrix of direction 0. |
| D1 | 1D derivative matrix of direction 1. |
| D2 | 1D derivative matrix of direction 2. |
| f0 | (1 + eta_0)/2 at the direction-0 points. |
| f1 | (1 + eta_1)/2 at the direction-1 points. |
| f1m | 2/(1 - eta_1) at the direction-1 points. |
| f2 | 2/(1 - eta_2) at the direction-2 points. |
| df_ptr | Derivative factors of the group. |
| advVel0_ptr | Velocity component 0 of the group. |
| advVel1_ptr | Velocity component 1 of the group. |
| advVel2_ptr | Velocity component 2 of the group. |
| deriv0 | Workspace for the direction-0 derivative. |
| deriv1 | Workspace for the direction-1 derivative. |
| deriv2 | Workspace for the direction-2 derivative. |
| in | Input values of the group. |
| out | Output values of the group. |
| scale | Scalar factor applied to the result. |
Definition at line 642 of file AdvectionBlockOpSerialAVXSumFacKernels.hpp.
References in, out, and PhysDerivTensor3DKernel().
|
static |
Apply the geometry and the three operator coefficients at every quadrature point of an interleaved group of elements.
Reading the reference-space derivatives \(\partial u/\partial\xi_d\) from inptr and the physical values \(u\) from bwdptr, the kernel produces
bwdptr, the integrand of the advection and reaction terms, \(J\,(\mathbf{V}\cdot\nabla u + \mathrm{scale}\cdot u)\), where the Cartesian derivative is recovered by the chain rule \(\partial u/\partial x_k = \sum_d (\partial\xi_d/\partial x_k)\,
\partial u/\partial\xi_d\) from dfptr; bwdptr is not read when scale is zero;outptr, one component per reference direction \(d\), the diffusion flux pulled back to that direction, \(J \sum_{l,k} (\partial\xi_d/\partial x_l)\, D_{lk}\,
\partial u/\partial x_k\), ready for the inner product with the basis gradient.outptr may alias inptr, as it does in the only caller: for a given point all of inptr's components are read into the local Cartesian derivatives before any component of outptr is written. When the geometry is regular the reference-space diffusion metric is constant over an element and is computed once, at the element's first point; when it is deformed it is recomputed per point. The fixed-size local arrays limit both ncoord and dimension to three.
| ExecSpace | Execution space of the calling block operator; not used by the body. |
| DEFORMED | Geometry is deformed, so the Jacobian and the derivative factors vary point by point. |
| TData | SIMD vector type of the interleaved group (a scalar type on the Serial space). |
| TScalar | Scalar element type of TData. |
| nqTot | Quadrature points per element. | |
| ncoord | Coordinate dimension: velocity components and rank of the diffusivity tensor. | |
| dimension | Reference-element dimension: number of derivative components in inptr and of flux components in outptr. | |
| nelmt | Element groups covered by this call (one, in the current caller). | |
| insize | Stride between the derivative components of inptr, in vectors. | |
| outsize | Stride between the flux components of outptr, in vectors. | |
| advelsize | Stride between the velocity components of advVel, in vectors. | |
| diffCoeff | Constant upper triangle of the symmetric diffusivity tensor, indexed through LibUtilities::GetDiffCoeffMap (see LinAdvDiffReactionOp::SetDiffCoeff). | |
| varDiffCoeff | Variable diffusion tensor (VARCOEFF). | |
| jacptr | Jacobians: one value per point when deformed, one per element otherwise. | |
| dfptr | Derivative factors in point-major order, entry \(\partial\xi_d/\partial x_k\) at k * dimension + d within each point's (or, for regular geometry, each element's) block of ncoord * dimension values. | |
| advVel | Advection velocity at the quadrature points, ncoord components. | |
| inptr | Reference-space derivatives of \(u\), dimension components. | |
| outptr | Diffusion flux out, dimension components. | |
| [in,out] | bwdptr | In: \(u\) at the quadrature points; out: the advection-plus-reaction integrand. |
| scale | Reaction coefficient \(\lambda\). |
Definition at line 136 of file LinAdvDiffReactionBlockOpSerialAVXStdMatKernels.hpp.
References c, e, Nektar::LibUtilities::GetDiffCoeffMap(), jac, and nelmt.
|
static |
Apply \(J\,G = J\,M^T D M\) to the reference derivatives of an element group.
With inptr holding the reference derivatives \(\partial u/\partial\xi_e\) (direction e at offset e * insize), the kernel writes to outptr, at offset d * outsize,
\[ J \sum_{k,l,e} M_{kd} \, D_{kl} \, M_{le} \, \frac{\partial u}{\partial\xi_e}, \]
the quantity LaplacianOp.hpp derives; in place is allowed and is how the block operator calls it. The two branches differ only in where the geometry is constant:
tmp[k] is formed first and then contracted with the row \(\sum_l M_{ld} D_{lk}\) – one pass over the points, no metric stored;sum[d][k] is built once per element from the element's single set of factors and then applied to every point.The diffusion tensor is read through GetDiffCoeffMap(), which maps a full index pair onto the packed storage described in LaplacianOp::SetDiffCoeff.
| ExecSpace | Execution space; unused, present for uniformity with the other kernels. |
| DEFORMED | Block geometry is deformed. |
| TData | Value type the kernel computes in: the SIMD vector type of the interleaved element group, one lane per element. |
| TScalar | Scalar type of the diffusion tensor entries. |
| nqTot | Quadrature points per element. |
| ncoord | Coordinate dimension: the range of the physical indices k, l. |
| dimension | Reference dimension: the range of d, e. |
| nelmt | Element groups covered by one call (1 from the block operator). |
| insize | Stride between reference directions in inptr, in SIMD vectors. |
| outsize | Stride between reference directions in outptr. |
| diffCoeff | Constant symmetric diffusion tensor. |
| varDiffCoeff | Variable diffusion tensor (VARCOEFF). |
| jacptr | Jacobians: one value per element group when regular, one per quadrature point when deformed. |
| dfptr | Derivative factors in point-major order, as described in the block operator's m_dfptr. |
| inptr | Reference derivatives of the group. |
| outptr | Destination; may alias inptr. |
Definition at line 115 of file LaplacianBlockOpSerialAVXStdMatKernels.hpp.
References c, e, Nektar::LibUtilities::GetDiffCoeffMap(), jac, nelmt, and sum.
|
static |
Apply the Jacobian, the derivative factors and the diffusion tensor to one group's reference derivatives, and scale its physical values by lambda * J.
With \(M_{kd} = \partial\xi_d/\partial x_k\) the derivative factors and \(D\) the packed symmetric diffusion tensor, the kernel writes, for every quadrature point,
\[ \mathrm{out}_d = J \sum_{e} G_{de} \frac{\partial u}{\partial \xi_e}, \qquad G_{de} = \sum_{k,l} M_{kd} D_{kl} M_{le}, \]
so that a subsequent inner product with the derivative of the basis yields the weak Laplacian term, and multiplies bwdptr in place by scale * J, so that an inner product with the basis yields the mass term; bwdptr is left untouched when scale is zero. The quadrature weights are not applied here – the standard-region inner-product matrices of the StdMat implementation already carry them.
The two branches differ only in where the geometry is read. On a deformed block the contraction is assembled per quadrature point, one factor at a time (first \(\partial u/\partial x_k\), then \(\sum_l M_{ld} D_{lk}\) against it). On a regular block \(M\) and \(J\) are constant within an element, so the full \(G\) is formed once per element and then applied at every point.
outptr may alias inptr – the block operator passes the same workspace for both, and every point's outputs are computed from that point's inputs before they are written.
| ExecSpace | Execution space of the calling implementation; part of the signature the call sites share, not used in the body. |
| DEFORMED | Geometry varies within an element. |
| TData | Value type the arrays are addressed as: one SIMD vector per quadrature point, holding that point's value for each element of the interleaved group. |
| TScalar | Scalar type of diffCoeff and scale. |
| nqTot | Quadrature points per element. |
| ncoord | Coordinate dimension of the element. |
| dimension | Dimension of the reference element. |
| nelmt | Element groups covered by one call; the Serial/AVX block operator passes 1. |
| insize | Stride between successive reference-derivative directions in inptr, in TData units. |
| outsize | Same, for outptr. |
| diffCoeff | Constant symmetric diffusion tensor, indexed through LibUtilities::GetDiffCoeffMap(). |
| varDiffCoeff | Variable diffusion tensor (VARCOEFF). |
| jacptr | Jacobian: one value per element group, or one per quadrature point when DEFORMED. |
| dfptr | Derivative factors, ncoord * dimension per element group – or per quadrature point when DEFORMED – with dfptr[k * dimension + d] = \(M_{kd}\). |
| inptr | Reference derivatives of the expansion, dimension planes of nqTot values. |
| outptr | Receives \(J G \nabla_\xi u\), same layout. |
| bwdptr | Physical values of the expansion, scaled in place by scale * J unless scale is zero. |
| scale | Mass-term weight, i.e. lambda. |
Definition at line 129 of file HelmholtzBlockOpSerialAVXStdMatKernels.hpp.
References c, e, Nektar::LibUtilities::GetDiffCoeffMap(), jac, nelmt, and sum.
|
static |
Complete the assembly of the parallel-boundary global DOFs from the received partial sums and scatter the result (Serial and AVX).
Final stage of the three-stage parallel flow, run once communication has finished. For each boundary DOF the received partial sums in bndptr are combined with the sum this rank parked in the DOF's first local slot during AssembleScatrBndKernel – re-multiplying that slot by its sign undoes the sign applied when it was stored – and the total is then scattered to all nassemble[idx] local copies.
The accumulation order is deliberate. The buffer slots of each DOF are sorted by ascending contributing rank, and norder[idx] is this rank's own position in that ordering, so the sum takes the lower-ranked contributions first, then this rank's partial sum, then the remainder. Every rank sharing the DOF therefore adds the same values in the same order and arrives at an identical assembled value, keeping the ranks consistent despite floating-point non-associativity.
The map layout is identical to AssembleScatrBndKernel: per DOF, local coefficient positions followed by buffer positions, never interleaved.
| ExecSpace | NektarSpaces::Serial or NektarSpaces::AVX (overload selected by enable_if). |
| TData | Scalar type of the coefficient data. |
| nvals | Number of parallel-boundary global DOFs. |
| nassemble | Local copies per boundary DOF. |
| nbndvals | Receive-buffer slots per boundary DOF. |
| index | Local-coefficient positions followed by buffer positions, per DOF. |
| offset | Start of each DOF's entries in index / sign. |
| sign | Sign factors (see file documentation). |
| norder | This rank's position among the ranks sharing each DOF, i.e. how many buffer slots to accumulate before adding the local partial sum. |
| bndptr | Receive buffer holding the other ranks' partial sums. |
| inoutptr | Coefficient array; all local copies of each boundary DOF are overwritten with the assembled value. |
| streamID | Unused; host kernels run in submission order. |
Definition at line 336 of file AssmbScatrSerialAVXKernels.hpp.
References sign.
|
static |
Partially assemble the parallel-boundary global DOFs and pack the partial sums into the communication send buffer (Serial and AVX).
First stage of the three-stage parallel flow (see the file documentation). For each global DOF shared with other ranks this kernel:
nassemble[idx] local copies into a partial sum held in the global sign convention;nbndvals[idx] send-buffer slots, one per exchange entry with the neighbouring ranks sharing the DOF (exchanged values always travel in the global convention).Per DOF, the first nassemble[idx] entries of index (from offset[idx]) address local coefficients in inoutptr and the next nbndvals[idx] entries address slots in bndptr. Unlike the interior AVX kernel, the boundary maps are never interleaved, so one scalar loop serves both host execution spaces.
| ExecSpace | NektarSpaces::Serial or NektarSpaces::AVX (overload selected by enable_if). |
| TData | Scalar type of the coefficient data. |
| nvals | Number of parallel-boundary global DOFs. |
| nassemble | Local copies per boundary DOF; must be >= 1. |
| nbndvals | Send-buffer slots per boundary DOF. |
| index | Local-coefficient positions followed by buffer positions, per DOF. |
| offset | Start of each DOF's entries in index / sign. |
| sign | Sign factors (see file documentation). |
| inoutptr | Coefficient array; only the first local slot of each boundary DOF is written. |
| bndptr | Send buffer receiving the partial sums. |
| streamID | Unused; host kernels run in submission order. |
Definition at line 259 of file AssmbScatrSerialAVXKernels.hpp.
References sign.
|
static |
Assemble and scatter the device-interior global DOFs; AVX variant reading SIMD-interleaved map data.
Assemble and scatter the device-interior global DOFs; serial variant reading contiguously packed map data.
Global DOFs are processed in blocks of vector_width (the SIMD lane count of TData in the AVX space). Within a block the map data is lane-interleaved: contribution j of the DOF handled by lane i sits at offset[idx + i] + j * vector_width, so consecutive lanes read consecutive index/sign entries. Each block spans vector_width times its largest valence, and all arrays are padded to a multiple of vector_width, so nvals itself need not be. The loops here are still scalar – the layout mirrors the warp-interleaved device format rather than exploiting intrinsics.
The first contribution of every lane is gathered before nassemble is consulted. This is safe on padding lanes (nassemble == 0) only because LocalToGlobalDataCreator guarantees that padded index slots duplicate a valid location (padded sign entries are additionally zeroed); the gathered value is discarded, since the write-back loop is bounded by nassemble. Genuine DOFs must have nassemble[idx] >= 1.
| ExecSpace | Must be NektarSpaces::AVX (overload selected by enable_if). |
| TData | Scalar type of the coefficient data. |
| nvals | Number of global DOFs to process. |
| nassemble | Local copies per global DOF; zero on padding lanes. |
| index | Interleaved positions of the copies in inoutptr. |
| offset | Start of each DOF's entries in index / sign. |
| sign | Interleaved sign factors (see file documentation). |
| inoutptr | Coefficient array, updated in place. |
| streamID | Unused; host kernels run in submission order. |
With an interleave width of one, each global DOF's entries in ind and sign are stored back to back in DOF order, so the running counter cnt – the prefix sum of nassemble – equals offset[idx] at every step. The offset array is therefore accepted (to keep the signature shared with the AVX overload) but never read; this kernel silently relies on the packed layout staying equivalent to the offsets produced by LocalToGlobalDataCreator.
| ExecSpace | Must be NektarSpaces::Serial (overload selected by enable_if). |
| TData | Scalar type of the coefficient data. |
| nvals | Number of global DOFs to process. |
| nassemble | Local copies per global DOF; must be >= 1 since the first copy is read before the count is checked. |
| ind | Positions of the copies in inoutptr, packed contiguously in DOF order. |
| offset | Unused (see above). |
| sign | Sign factors (see file documentation). |
| inoutptr | Coefficient array, updated in place. |
| streamID | Unused; host kernels run in submission order. |
Definition at line 131 of file AssmbScatrSerialAVXKernels.hpp.
References sign.
| CGBndCondCoeffMaps< TData > Nektar::MultiRegions::detail::BuildCGBndCondCoeffMaps | ( | const MultiRegions::ExpListSharedPtr & | expansionList, |
| const std::vector< std::string > & | components, | ||
| const SpatialDomains::BoundaryRegionCollection & | bregions, | ||
| const std::vector< std::vector< bool > > & | isTypeByRegion, | ||
| const std::vector< size_t > & | numBcExpCoeffs, | ||
| size_t | numBndCoeffCompSize, | ||
| const CGBndCondCoeffMapSet | mapSet, | ||
| PerComponentFn && | perComponent | ||
| ) |
Definition at line 314 of file CGBndCondMapBuilder.hpp.
References Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::anySignChange, ASSERTL0, ASSERTL1, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::bndCoeff, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::bndCoeffSrc, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::compCounts, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::compGroupCounts, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::compGroupOffsets, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::compOffsets, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::compUniqueCounts, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::compUniqueOffsets, Full, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::groupOffset, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::groupSign, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::groupSrc, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::groupTarget, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::groupValue, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::map, nelmt, sign, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::sign, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::signChange, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::uniqueBndCoeff, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::uniqueBndCoeffSrc, Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::uniqueMap, and Nektar::MultiRegions::detail::CGBndCondCoeffMaps< TData >::uniqueSign.
| CGBndCondRegions< TData > Nektar::MultiRegions::detail::BuildCGBndCondRegions | ( | const MultiRegions::ExpListSharedPtr & | expansionList, |
| const std::vector< std::string > & | components, | ||
| const SpatialDomains::BoundaryRegionCollection & | bregions, | ||
| const SpatialDomains::BoundaryConditionCollection & | bconditions, | ||
| const std::string & | wspLabel, | ||
| std::vector< LibUtilities::Field< TData, FieldState::Phys > > & | wspPhys, | ||
| std::vector< LibUtilities::Field< TData, FieldState::Coeff > > & | wspCoeffs, | ||
| std::vector< std::shared_ptr< ExpressionOp< TData > > > & | expressionOps, | ||
| bool & | hasTimeDependentBndCoeffs, | ||
| IsMatchFn && | isMatch, | ||
| OnMatchedRegionFn && | onMatchedRegion | ||
| ) |
Definition at line 95 of file CGBndCondMapBuilder.hpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL1, Nektar::Collections::eNoImpType, graph, Nektar::MultiRegions::detail::CGBndCondRegions< TData >::isTypeByRegion, nelmt, Nektar::MultiRegions::detail::CGBndCondRegions< TData >::numBcExpCoeffs, Nektar::MultiRegions::detail::CGBndCondRegions< TData >::numBndCoeffCompSize, and session.
| void Nektar::MultiRegions::detail::BuildExpressionKernels | ( | ExpressionKernels & | kernels, |
| const std::string & | kernel_src | ||
| ) |
Compile the generated source and retrieve the kernels from it, releasing the kernels compiled for any previous expression.
The four name expressions <APPEND, INTERLEAVEWIDTH, TData> for APPEND in {true, false} and INTERLEAVEWIDTH in {1, warp size}, with TData set by this operator's instantiation, are registered; the program is then compiled with NVRTC/HIPRTC, loaded as a driver module and the lowered names resolved into the kernel handles for the launch to use.
| TData | Floating-point type the kernels are compiled for. |
| kernels | Compiled module and kernel handles, replaced. |
| kernel_src | Source from GetExpressionKernelSource(). |
Definition at line 230 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
References CHECK_HIPCUDA_DRIVER_ERROR, CHECK_NEKRTC_ERROR, eNumExpressionKernels, Nektar::MultiRegions::detail::ExpressionKernels::kernels, Nektar::MultiRegions::detail::ExpressionKernels::nekModule, nekModuleGetFunction, nekModuleLoadData, nekrtcAddNameExpression, nekrtcCompileProgram, nekrtcCreateProgram, nekrtcDestroyProgram, nekrtcGetCode, nekrtcGetCodeSize, nekrtcGetLoweredName, nekrtcProgram, and ReleaseExpressionKernels().
|
static |
1D workspace query: the segment kernel needs no workspace, so this is a no-op kept for uniformity with the 2D and 3D forms.
Definition at line 78 of file BwdTransBlockOpSerialAVXSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor(), and Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor().
|
static |
Grow wsp0Size to the workspace the 2D kernels need for the given shape and sizes.
Updates a running maximum so one workspace can be sized across several queries. Sizes are in SIMD vectors: quadrilaterals stage nm1 * nq0 direction-0 sums; triangles only nm0 per direction-1 point, the collapsed basis making the first stage per-point; nodal triangles additionally need room behind that for the modal-converted coefficients the launcher writes at offset nm0.
| SHAPE_TYPE | Shape of the block's elements. | |
| nm0,nm1 | Modes per direction. | |
| nq0,nq1 | Quadrature points per direction. | |
| [in,out] | wsp0Size | Raised to the required size if smaller. |
Definition at line 102 of file BwdTransBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::GetNumberOfCoefficients(), nm0, nm1, nmTot, Nektar::LibUtilities::NodalTri, Nektar::LibUtilities::Quad, Nektar::LibUtilities::Tri, and wsp0Size.
Referenced by Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::AdvectionDealiasBlockOpImpl(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::BwdTransBlockOpImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::HelmholtzBlockOpImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::LaplacianBlockOpImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::LinAdvDiffReactionBlockOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::MassBlockOpImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::SizeWorkspaces(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor(), and Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor().
|
static |
Grow wsp0Size and wsp1Size to the workspaces the 3D kernels need for the given shape and sizes.
As BwdTrans2DWorkspace, in SIMD vectors and as running maxima. The two workspaces hold the intermediates of the first and second sum-factorisation stages respectively; for the nodal shapes wsp0 is enlarged to carry the modal-converted coefficients behind the first stage's own area.
| SHAPE_TYPE | Shape of the block's elements. | |
| nm0,nm1,nm2 | Modes per direction. | |
| nq0,nq1,nq2 | Quadrature points per direction. | |
| [in,out] | wsp0Size | Raised to the required size if smaller. |
| [in,out] | wsp1Size | Raised to the required size if smaller. |
Definition at line 141 of file BwdTransBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::GetNumberOfCoefficients(), Nektar::LibUtilities::Hex, nm0, nm1, nm2, nmTot, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, Nektar::LibUtilities::Tet, wsp0Size, and wsp1Size.
Referenced by Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::AdvectionDealiasBlockOpImpl(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::BwdTransBlockOpImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::HelmholtzBlockOpImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::LaplacianBlockOpImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::LinAdvDiffReactionBlockOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::MassBlockOpImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::SizeWorkspaces(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor(), and Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor().
|
static |
1D dispatch: forward one element group's transform to the segment kernel.
| SHAPE_TYPE | Shape tag (segments only in 1D). |
| APPEND | Accumulate onto out instead of overwriting. |
| TSizeParameter1D | 1D size parameter, in the runtime or the compile-time form; with the latter the sizes below are compile-time constants and the kernel's loops unroll. |
| simd_type | SIMD vector type; each vector holds one value of every element of the interleaved group. |
| sizeParam1D | Modal and quadrature sizes of the expansion. |
| isModified | First-direction basis is eModified_A; the segment kernel needs no correction, so unused. |
| basis0 | 1D basis table, basis0[p * nq0 + i] = mode p at point i. |
| NtoM | Nodal-to-modal matrix; no 1D nodal shape, so unused. |
| in | Interleaved coefficients of the element group. |
| out | Interleaved physical values of the group. |
Definition at line 199 of file BwdTransBlockOpSerialAVXSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), and Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
2D dispatch: select the quadrilateral or (nodal) triangular kernel for one element group at compile time.
For NodalTri the coefficients are first mapped to the modified modal basis by MatVecKernel with NtoM, using the tail of wsp0 beyond its first nm0 vectors as destination; the triangular kernel then runs on the converted coefficients. For Tri, isModified triggers the extra collapsed vertex-mode contribution inside BwdTransTriKernel.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| APPEND | Accumulate onto out instead of overwriting. |
| TSizeParameter2D | 2D size parameter, runtime or compile-time form. |
| simd_type | SIMD vector type of the interleaved group. |
| sizeParam2D | Modal and quadrature sizes per direction. |
| isModified | First-direction basis is eModified_A. |
| basis0 | Direction-0 basis table (nm0 rows of nq0). |
| basis1 | Direction-1 basis table; for triangles indexed by the combined (p,q) mode, one row per mode. |
| NtoM | Nodal-to-modal matrix (nodal shapes only). |
| wsp0 | Workspace sized by BwdTrans2DWorkspace. |
| in | Interleaved coefficients of the element group. |
| out | Interleaved physical values of the group. |
Definition at line 243 of file BwdTransBlockOpSerialAVXSumFacKernels.hpp.
References in, in1, Nektar::MatVecKernel(), nm0, nm1, nmTot, Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
3D dispatch: select the hexahedral, (nodal) tetrahedral, (nodal) prismatic or pyramidal kernel for one element group at compile time.
As in 2D, the nodal shapes are first mapped to the modified modal basis by MatVecKernel with NtoM, the destination sitting behind the shape's own area inside wsp0, and isModified triggers the collapsed-mode corrections inside the shape kernels.
| SHAPE_TYPE | Hex, Tet, NodalTet, Prism, NodalPrism, Pyr or NodalPyr. |
| APPEND | Accumulate onto out instead of overwriting. |
| TSizeParameter3D | 3D size parameter, runtime or compile-time form. |
| simd_type | SIMD vector type of the interleaved group. |
| sizeParam3D | Modal and quadrature sizes per direction. |
| isModified | First-direction basis is eModified_A. |
| basis0 | Direction-0 basis table (nm0 rows of nq0). |
| basis1 | Direction-1 basis table; combined-mode indexed for the tetrahedron. |
| basis2 | Direction-2 basis table; combined-mode indexed for the collapsed shapes. |
| NtoM | Nodal-to-modal matrix (nodal shapes only). |
| wsp0,wsp1 | Workspaces sized by BwdTrans3DWorkspace. |
| in | Interleaved coefficients of the element group. |
| out | Interleaved physical values of the group. |
Definition at line 312 of file BwdTransBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, in, in1, Nektar::MatVecKernel(), nm0, nm1, nm2, nmTot, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, out, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
| void Nektar::MultiRegions::detail::CGBndCondGatherKernel | ( | const size_t | nsize, |
| const size_t * | idxPtr, | ||
| const TData * | srcPtr, | ||
| TData * | dstPtr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 51 of file CGBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| void Nektar::MultiRegions::detail::CGBndCondGatherScatterKernel | ( | const size_t | nsize, |
| const size_t * | srcIdxPtr, | ||
| const size_t * | dstIdxPtr, | ||
| const TData * | srcPtr, | ||
| TData * | dstPtr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 68 of file CGBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| void Nektar::MultiRegions::detail::CGBndCondUnpackAbsMaxKernel | ( | const size_t | nsize, |
| const size_t * | idxPtr, | ||
| const TData * | srcPtr, | ||
| TData * | dstPtr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 124 of file CGBndCondKernels.hpp.
| void Nektar::MultiRegions::detail::CompileExpressionKernels | ( | ExpressionKernels & | kernels, |
| const std::string & | kernel_src, | ||
| const unsigned int | streamID | ||
| ) |
Compile the generated source; see BuildExpressionKernels().
Compile the generated source in the context of the block's queue and retrieve the kernel of each variant from it, releasing the kernels compiled for any previous expression. Raises an error if the device cannot compile SYCL source or the compilation fails.
| TData | Floating-point type the kernels are compiled for. |
| kernels | Compiled kernels, replaced. |
| kernel_src | Source from GetExpressionKernelSource(). |
| streamID | Stream index of the block; unused. |
| TData | Floating-point type the kernels are compiled for. |
| kernels | Compiled kernels, replaced. |
| kernel_src | Source from GetExpressionKernelSource(). |
| streamID | Stream index of the block. |
Definition at line 336 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
|
constexpr |
Whether component d of the trace normal derivative factors, which multiplies \(\partial/\partial\eta_d\), needs the \(2/(1 - \eta)\) factor of collapsed direction dir.
Reading off the chain rules, with \(f_d\) the Cartesian to element local factors:
Tri d0: (f0 + (1+eta0)/2 f1) 2/(1-eta1) d1: f1 Prism d0: (f0 + (1+eta0)/2 f2) 2/(1-eta2) Pyr d0: (f0 + (1+eta0)/2 f2) 2/(1-eta2) d1: (f1 + (1+eta1)/2 f2) 2/(1-eta2) Tet d0: (f0 + (1+eta0)/2 (f1+f2)) 2/(1-eta1) 2/(1-eta2) d1: (f1 + (1+eta1)/2 f2) 2/(1-eta2)
The bracketed part is regular and stays in the trace data; this returns which of the singular multipliers the component still needs.
Definition at line 103 of file IProductWRTPhysNormalDerivTraceBlockOp.hpp.
References IsCollapsedDir(), Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::NodalTri, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, Nektar::LibUtilities::Tet, and Nektar::LibUtilities::Tri.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), IPWRTPhysNormalDerivTracePerDir2DKernel(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
|
constexpr |
Definition at line 388 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References nm1, s_twoOver1, threadBlock, and twoOver1.
|
constexpr |
Definition at line 609 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References nm1, s_twoOver1, threadBlock, and twoOver1.
|
constexpr |
Definition at line 619 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References threadBlock.
|
constexpr |
Definition at line 614 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References nm2, s_twoOver2, threadBlock, and twoOver2.
|
constexpr |
Definition at line 457 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
References nm1, s_twoOver1, shmemptr, tableSize, threadBlock, and twoOver1.
|
static |
Accumulate one direction's share of the outward normal component on one chunk of element-local traces: out = normal * trace, or out += normal * trace with a fused multiply-add after the first direction, at the nq trace points of a SIMD group of elements.
| ASSIGN | First direction: overwrite out. |
| nq | Trace points per element. |
| normal | The direction's normal component on the chunk. |
| trace | The direction's trace on the chunk. |
| out | The normal component on the chunk. |
Definition at line 2139 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
The outward normal component of a vector-valued field on the element-local traces of one block: out[f] = sum_d n[d] * tensor[f * ndim + d] at every point, one launch with each thread forming every component of one point. The three arrays share one layout, component-major with npts between components and the elements interleaved at the same width within a component, so consecutive threads read consecutive addresses of each (coalesced) at any interleave width.
Definition at line 2571 of file PhysTraceExtractBlockOpDeviceSumFacKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), NEKTAR_LAMBDA, out, and sum.
Referenced by Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::v_ApplyNormalComponent().
|
inline |
Rewrite every caret power x^y in expr into a pow(x, y) call, since ^ is exclusive-or rather than exponentiation in the generated kernel source.
Each operand is taken to be either a bracketed group or a run of alphanumeric/'.' characters adjacent to the caret; a leading minus sign of the exponent is included.
| expr | Expression string in the session-file notation. |
Definition at line 192 of file ExpressionBlockOpDeviceGenericHelper.hpp.
References findMatching().
Referenced by GetExpressionKernelBody().
|
static |
Scalar curl of a two-dimensional vector field, omega = d(u1)/dx0 - d(u0)/dx1, per quadrature point with one element per SIMD lane.
The derivative-factor entry k * 2 + d maps the reference-direction-d derivative into the Cartesian-k gradient component. For regular geometry one set of four factors is stored per element group; for deformed geometry one per quadrature point. The chain rule and the curl are applied in a single sweep.
| ExecSpace | Execution space; unused. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| TData | SIMD vector type of the data (a scalar type on the Serial execution space). |
| nqTot | Quadrature points per element. |
| df_ptr | Derivative factors: four vectors per element group (regular) or per point (deformed). |
| deriv | Reference-space derivatives of the two components, ordered as deriv[(c * 2 + d) * nqTot + i] for component c and direction d. |
| omega | Output plane of nqTot vectors. |
Definition at line 84 of file CurlCurlBlockOpSerialAVXStdMatKernels.hpp.
|
static |
Scalar curl of a two-dimensional vector field, omega = d(u1)/dx0 - d(u0)/dx1, from the tensor-direction derivatives of both components, per quadrature point with one element per SIMD lane.
For triangles the tensor directions are the collapsed coordinates: each direction-0 derivative is multiplied by f1[j] = 2/(1 - eta_1) and the direction-1 derivative augmented by it times f0[i] = (1 + eta_0)/2, recovering the standard-coordinate derivatives before the derivative factors are applied. The derivative-factor entry k * 2 + d then maps the direction-d derivative into the Cartesian-k gradient component, and the two off-diagonal Cartesian derivatives are combined into omega. All of this happens in a single sweep rather than in separate passes.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| simd_type | SIMD vector type; one element per lane. |
| nq0 | Quadrature points in direction 0. |
| nq1 | Quadrature points in direction 1. |
| ncoord | Coordinate dimension; sets the stride 2 * ncoord between the factor sets of consecutive points. |
| f0 | Collapsed-coordinate factor (1 + eta_0)/2 at the direction-0 points (triangles only). |
| f1 | Collapsed-coordinate factor 2/(1 - eta_1) at the direction-1 points (triangles only). |
| df_ptr | Derivative factors (2 * ncoord per element group, or per point when deformed); the first four are read. |
| tderiv0_0 | Tensor-direction-0 derivative of component u0. |
| tderiv1_0 | Tensor-direction-1 derivative of component u0. |
| tderiv0_1 | Tensor-direction-0 derivative of component u1. |
| tderiv1_1 | Tensor-direction-1 derivative of component u1. |
| out | Output plane of nq0 * nq1 vectors receiving omega. |
Definition at line 113 of file CurlCurlBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
Vector curl of a two-dimensional scalar field, out = ( d(omega)/dx1, -d(omega)/dx0 ), per quadrature point with one element per SIMD lane.
The derivative factors are read as in Curl2DScalarStdMatKernel; both output components come out of the same sweep, so the sign flip needs no pass of its own.
| ExecSpace | Execution space; unused. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| TData | SIMD vector type of the data (a scalar type on the Serial execution space). |
| nqTot | Quadrature points per element. |
| df_ptr | Derivative factors: four vectors per element group (regular) or per point (deformed). |
| deriv | Reference-space derivatives of omega, ordered as deriv[d * nqTot + i] for direction d. |
| out0 | First output component, nqTot vectors. |
| out1 | Second output component, nqTot vectors. |
Definition at line 148 of file CurlCurlBlockOpSerialAVXStdMatKernels.hpp.
|
static |
Vector curl of a two-dimensional scalar field, out = ( d(omega)/dx1, -d(omega)/dx0 ), from the tensor-direction derivatives of omega, per quadrature point with one element per SIMD lane.
The collapsed-coordinate correction and the derivative factors are applied as in Curl2DScalarSumFacKernel; both output components come out of the same sweep, so the sign flip needs no pass of its own.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| simd_type | SIMD vector type; one element per lane. |
| nq0 | Quadrature points in direction 0. |
| nq1 | Quadrature points in direction 1. |
| ncoord | Coordinate dimension; sets the stride 2 * ncoord between the factor sets of consecutive points. |
| f0 | Collapsed-coordinate factor (1 + eta_0)/2 at the direction-0 points (triangles only). |
| f1 | Collapsed-coordinate factor 2/(1 - eta_1) at the direction-1 points (triangles only). |
| df_ptr | Derivative factors (2 * ncoord per element group, or per point when deformed); the first four are read. |
| tderiv0 | Tensor-direction-0 derivative of omega. |
| tderiv1 | Tensor-direction-1 derivative of omega. |
| out0 | First output component, nq0 * nq1 vectors. |
| out1 | Second output component, nq0 * nq1 vectors. |
Definition at line 210 of file CurlCurlBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, and Nektar::LibUtilities::Tri.
|
static |
Definition at line 608 of file CurlCurlBlockOpSerialAVXSumFacKernels.hpp.
References in1, in2, PhysDerivTensor2DKernel(), and wsp.
Referenced by Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorCurl3DH1().
|
static |
Curl of a three-dimensional vector field, per quadrature point with one element per SIMD lane; used for both passes of the curl-curl operator, omega = curl u and out = curl omega.
The derivative-factor entry k * 3 + d maps the reference-direction-d derivative into the Cartesian-k gradient component; nine factors are stored per element group (regular) or per point (deformed). Only the six off-diagonal Cartesian derivatives are formed, the diagonal ones cancelling out of the curl: out0 = d(u2)/dx1 - d(u1)/dx2, out1 = d(u0)/dx2 - d(u2)/dx0, out2 = d(u1)/dx0 - d(u0)/dx1.
| ExecSpace | Execution space; unused. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| TData | SIMD vector type of the data (a scalar type on the Serial execution space). |
| nqTot | Quadrature points per element. |
| df_ptr | Derivative factors: nine vectors per element group (regular) or per point (deformed). |
| deriv | Reference-space derivatives of the three components, ordered as deriv[(c * 3 + d) * nqTot + i] for component c and direction d. |
| out0 | First output component, nqTot vectors. |
| out1 | Second output component, nqTot vectors. |
| out2 | Third output component, nqTot vectors. |
Definition at line 218 of file CurlCurlBlockOpSerialAVXStdMatKernels.hpp.
|
static |
Curl of a three-dimensional vector field from the tensor-direction derivatives of its three components, per quadrature point with one element per SIMD lane; used for both passes of the curl-curl operator, omega = curl u and out = curl omega.
For the simplex-type shapes the tensor directions are the collapsed coordinates and each component's derivatives are first chain-ruled back to the standard coordinates: a prism scales the direction-0 derivative by f2[k] and adds f0[i] times it to direction 2; a pyramid scales directions 0 and 1 by f2[k] and adds f0[i] and f1[j] times them to direction 2; a tetrahedron scales direction 0 by f1m[j] * f2[k], rebuilds direction 1 from f0[i] times that and f2[k] times the old direction-1 derivative, and adds both contributions – the second weighted by f1[j] – to direction 2. Hexahedra need no correction. The derivative-factor entry k * 3 + d then maps the direction-d derivative into the Cartesian-k gradient component; only the six off-diagonal Cartesian derivatives are formed, the diagonal ones cancelling out of the curl: out0 = d(u2)/dx1 - d(u1)/dx2, out1 = d(u0)/dx2 - d(u2)/dx0, out2 = d(u1)/dx0 - d(u0)/dx1.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| simd_type | SIMD vector type; one element per lane. |
| nq0 | Quadrature points in direction 0. |
| nq1 | Quadrature points in direction 1. |
| nq2 | Quadrature points in direction 2. |
| f0 | Collapsed-coordinate factor (1 + eta_0)/2 at the direction-0 points (prisms, pyramids and tetrahedra). |
| f1 | Collapsed-coordinate factor (1 + eta_1)/2 at the direction-1 points (pyramids and tetrahedra). |
| f1m | Collapsed-coordinate factor 2/(1 - eta_1) at the direction-1 points (tetrahedra only). |
| f2 | Collapsed-coordinate factor 2/(1 - eta_2) at the direction-2 points (prisms, pyramids and tetrahedra). |
| df_ptr | Derivative factors (nine per element group, or per point when deformed). |
| tderiv0_0 | Tensor-direction-0 derivative of component 0. |
| tderiv1_0 | Tensor-direction-1 derivative of component 0. |
| tderiv2_0 | Tensor-direction-2 derivative of component 0. |
| tderiv0_1 | Tensor-direction-0 derivative of component 1. |
| tderiv1_1 | Tensor-direction-1 derivative of component 1. |
| tderiv2_1 | Tensor-direction-2 derivative of component 1. |
| tderiv0_2 | Tensor-direction-0 derivative of component 2. |
| tderiv1_2 | Tensor-direction-1 derivative of component 2. |
| tderiv2_2 | Tensor-direction-2 derivative of component 2. |
| out0 | First output component, nq0 * nq1 * nq2 vectors. |
| out1 | Second output component, nq0 * nq1 * nq2 vectors. |
| out2 | Third output component, nq0 * nq1 * nq2 vectors. |
Definition at line 328 of file CurlCurlBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
1D entry point: the curl-curl is undefined on a segment, so the group's single component is differentiated once – PhysDerivTensor1DKernel followed by PhysDerivDir1DKernel with the direction-0 derivative factor – and the derivative written to the output.
Exists so that the generated segment ShapeBlock() compiles; the block operator's constructor asserts that the block is two- or three-dimensional (see CurlCurlBlockOpSerialAVXSumFac.hpp).
| SHAPE_TYPE | Element shape (segments only). |
| DEFORMED | Derivative factors vary point by point. |
| TPhysSizeParameter1D | 1D physical-space size parameter, runtime or compile-time (checked by static_assert). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam1D | Element sizes: coordinate dimension and quadrature points. |
| D0 | 1D derivative matrix of the direction. |
| df_ptr | Derivative factors of the group. |
| wsp | Workspace of at least nq0 vectors for the tensor-direction derivative. |
| in0 | Input values of the group. |
| out0 | Output values of the group. |
Definition at line 506 of file CurlCurlBlockOpSerialAVXSumFacKernels.hpp.
References PhysDerivTensor1DKernel(), and wsp.
Referenced by Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
2D entry point: evaluate curl(curl u) for one element group.
Lays the workspace out as the two tensor-direction derivatives of u0, the two of u1 and one plane for omega – five planes of nqTot vectors, the count NumWorkspace() in the block operator provides. Differentiates both components with PhysDerivTensor2DKernel, forms omega with Curl2DScalarSumFacKernel, differentiates omega into the planes of u0 and writes the two output components with Curl2DVectorSumFacKernel. The coordinate dimension passed to the curl kernels is two, so the factor sets are read at a stride of four.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Derivative factors vary point by point. |
| TPhysSizeParameter2D | 2D physical-space size parameter, runtime or compile-time (checked by static_assert). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam2D | Element sizes: coordinate dimension and per-direction quadrature points. |
| D0 | 1D derivative matrix of direction 0. |
| D1 | 1D derivative matrix of direction 1. |
| f0 | Collapsed-coordinate factor of direction 0. |
| f1 | Collapsed-coordinate factor of direction 1. |
| df_ptr | Derivative factors of the group. |
| wsp | Workspace of at least 5 * nqTot vectors. |
| in0 | Input component u0 of the group. |
| in1 | Input component u1 of the group. |
| out0 | First output component of the group. |
| out1 | Second output component of the group. |
Definition at line 559 of file CurlCurlBlockOpSerialAVXSumFacKernels.hpp.
References in1, PhysDerivTensor2DKernel(), and wsp.
|
static |
3D entry point: evaluate curl(curl u) for one element group.
Lays the workspace out as the nine tensor-direction derivatives – three per component – followed by the three planes of omega: twelve planes of nqTot vectors, the count NumWorkspace() provides. Differentiates the three components with PhysDerivTensor3DKernel, forms omega with Curl3DSumFacKernel, differentiates the components of omega into the same nine planes and writes the three output components with a second Curl3DSumFacKernel call. Each tensor-direction derivative is thus formed once and reused for every Cartesian derivative that needs it.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Derivative factors vary point by point. |
| TPhysSizeParameter3D | 3D physical-space size parameter, runtime or compile-time (checked by static_assert). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam3D | Element sizes: per-direction quadrature points. |
| D0 | 1D derivative matrix of direction 0. |
| D1 | 1D derivative matrix of direction 1. |
| D2 | 1D derivative matrix of direction 2. |
| f0 | Collapsed-coordinate factor (1 + eta_0)/2 of direction 0. |
| f1 | Collapsed-coordinate factor (1 + eta_1)/2 of direction 1. |
| f1m | Collapsed-coordinate factor 2/(1 - eta_1) of direction 1. |
| f2 | Collapsed-coordinate factor 2/(1 - eta_2) of direction 2. |
| df_ptr | Derivative factors of the group. |
| wsp | Workspace of at least 12 * nqTot vectors. |
| in0 | Input component u0 of the group. |
| in1 | Input component u1 of the group. |
| in2 | Input component u2 of the group. |
| out0 | First output component of the group. |
| out1 | Second output component of the group. |
| out2 | Third output component of the group. |
Definition at line 686 of file CurlCurlBlockOpSerialAVXSumFacKernels.hpp.
References in1, in2, PhysDerivTensor3DKernel(), and wsp.
|
static |
1D launcher dispatching to DiffusionCoeffwithWJSegKernel.
Definition at line 1733 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Seg.
|
static |
1D launcher dispatching to DiffusionCoeffwithWJSegKernel.
Definition at line 1797 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Seg.
|
static |
2D launcher dispatching to shape-specific metric kernels.
Definition at line 1753 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, Nektar::LibUtilities::Quad, and Nektar::LibUtilities::Tri.
|
static |
2D launcher dispatching to shape-specific metric kernels.
Definition at line 1818 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, Nektar::LibUtilities::Quad, and Nektar::LibUtilities::Tri.
|
static |
3D launcher dispatching to shape-specific metric kernels.
Definition at line 1782 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
3D launcher dispatching to shape-specific metric kernels.
Definition at line 1850 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
Hex kernel contracting reference derivatives with diffusion tensor and metric terms.
Definition at line 735 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Hex kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution.
Definition at line 768 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Prism kernel contracting reference derivatives with diffusion tensor and metric terms.
Definition at line 1301 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Prism kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution.
Definition at line 1352 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Pyramid kernel contracting reference derivatives with diffusion tensor and metric terms.
Definition at line 1511 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Pyramid kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution.
Definition at line 1568 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Quad kernel contracting reference derivatives with diffusion tensor and metric terms.
Definition at line 464 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Quad kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution.
Definition at line 484 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Segment kernel contracting reference derivative with diffusion tensor and metric terms.
Definition at line 75 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Segment kernel contracting reference derivative with diffusion tensor and metric terms, with optional lambda-weighted mass contribution.
Definition at line 75 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Tet kernel contracting reference derivatives with diffusion tensor and metric terms.
Definition at line 1074 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Tet kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution.
Definition at line 1119 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Triangle kernel contracting reference derivatives with diffusion tensor and metric terms.
Definition at line 275 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References jac.
|
static |
Triangle kernel contracting reference derivatives with diffusion tensor and metric terms, with optional lambda-weighted mass contribution.
Definition at line 288 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References jac.
| void Nektar::MultiRegions::detail::DirBndCondKernel | ( | const size_t | nsize, |
| const size_t * | mapPtr, | ||
| const TData * | inptr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 43 of file DirBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| void Nektar::MultiRegions::detail::DirBndCondKernel | ( | const size_t | nsize, |
| const TData * | signPtr, | ||
| const size_t * | mapPtr, | ||
| const TData * | inptr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 57 of file DirBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| Nektar::MultiRegions::detail::DispatchWorkSpace | ( | useSharedMemoryWsp | , |
| [&] (const auto isShared) { TData *wspbase=isShared ?(TData *) shmemptr+tableSize :wsp;while(e< nelmt) { const size_t ilane=e % warpsize;const size_t iwarp=e/warpsize;const TData *inptr=in+numDataIn *(nelmt *c+warpsize *iwarp);TData *outptr=out+numDataOut *(nelmt *c+warpsize *iwarp);const size_t wspOffset=isShared ? 0 :nelmt *c+warpsize *iwarp;TData *wspptr=wspbase+(edgeSize+numDataOut) *wspOffset;TData *volptr=wspptr+edgeSize *warpsize;const unsigned int off1=warpsize *2 *tnq00;const unsigned int joff1=(DEFORMED) ? off1 :warpsize *2;for(unsigned int d=0;d< 2;++d) { const bool useD1=CompNeedsCollapsedFac(SHAPE_TYPE, d, 1);const TData *jacptr=jac+d *jacCompStride+numDataJac *warpsize *iwarp;if(!(append||d > 0)) { for(unsigned int p=0;p< numDataOut;++p) { outptr[warpsize *p+ilane]=0.0;} } { TData *dst=useD1 ? volptr :outptr;if(useD1) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } const TData *nb=(0==d) ? dnbasis0 :nbasis0;const TData *tb=(traceDir0==d) ? dtbasis0 :tbasis0;const bool coll=(traceDir0==d) ? false :isColl0;const bool endp=(0==d) ? false :endPtsColl0;if(endp) { IPWRTPhysTraceEdgeN0Kernel< true, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nb, tnq00, tb, tw0, jacptr, wspptr, inptr, dst, coll);} else { IPWRTPhysTraceEdgeN0Kernel< false, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nb, tnq00, tb, tw0, jacptr, wspptr, inptr, dst, coll);} if(useD1) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, 1u, true, false, s_twoOver1, s_twoOver1, volptr, outptr);} } { const TData *nb=(1==d) ? dnbasis1 :nbasis1;const TData *tb=(traceDir1==d) ? dtbasis1 :tbasis1;const bool coll=(traceDir1==d) ? false :isColl1;const bool endp=(1==d) ? false :endPtsColl1;if(endp) { IPWRTPhysTraceEdgeN1Kernel< true, DEFORMED >(ilane, 0, nedgeN1, nedgeN1, nm0, nm1, nb, tnq10, tb, tw1, jacptr+joff1, wspptr, inptr+off1, outptr, coll);} else { IPWRTPhysTraceEdgeN1Kernel< false, DEFORMED >(ilane, 0, nedgeN1, nedgeN1, nm0, nm1, nb, tnq10, tb, tw1, jacptr+joff1, wspptr, inptr+off1, outptr, coll);} } } e+=getGlobalRange< 0 >(threadBlock);} } | |||
| ) |
References append, c, CompNeedsCollapsedFac(), dnbasis0, dnbasis1, dtbasis0, dtbasis1, e, edgeSize, endPtsColl0, endPtsColl1, in, isColl0, isColl1, jac, jacCompStride, joff1, nbasis0, nbasis1, nedgeN1, nelmt, nm0, nm1, numDataIn, numDataJac, numDataOut, off1, out, s_twoOver1, ScaleAddCollapsedFacKernel(), shmemptr, tableSize, tbasis0, tbasis1, threadBlock, tnq00, tnq10, traceDir0, traceDir1, tw0, tw1, warpsize, and wsp.
| Nektar::MultiRegions::detail::DispatchWorkSpace | ( | useSharedMemoryWsp | , |
| [&] (const auto isShared) { TData *wspbase=isShared ?(TData *) shmemptr+tableSize :wsp;while(e< nelmt) { const size_t ilane=e % warpsize;const size_t iwarp=e/warpsize;const TData *inptr=in+numDataIn *(nelmt *c+warpsize *iwarp);TData *outptr=out+numDataOut *(nelmt *c+warpsize *iwarp);const size_t wspOffset=isShared ? 0 :nelmt *c+warpsize *iwarp;TData *wspptr=wspbase+(wsp0Size+wsp1Size+numDataOut) *wspOffset;TData *wsp1ptr=wspptr+wsp0Size *warpsize;TData *volptr=wsp1ptr+wsp1Size *warpsize;const unsigned int in1=2 *tnq00 *tnq01;const unsigned int jac1=DEFORMED ? in1 :2;const unsigned int in2=in1+nfaceN1 *tnq10 *tnq11;const unsigned int jac2=jac1+(DEFORMED ? nfaceN1 *tnq10 *tnq11 :nfaceN1);for(unsigned int d=0;d< 3;++d) { const bool c1=CompNeedsCollapsedFac(SHAPE_TYPE, d, 1);const bool c2=CompNeedsCollapsedFac(SHAPE_TYPE, d, 2);const TData *jacptr=jac+d *jacCompStride+numDataJac *warpsize *iwarp;if(!(append||d > 0)) { for(unsigned int p=0;p< numDataOut;++p) { outptr[warpsize *p+ilane]=0.0;} } const TData *nbd0=(0==d) ? dnbasis0 :nbasis0;const TData *nbd1=(1==d) ? dnbasis1 :nbasis1;const TData *nbd2=(2==d) ? dnbasis2 :nbasis2;const TData *tbd0=(traceDir00==d) ? dtbasis00 :tbasis00;const TData *tbd1=(traceDir01==d) ? dtbasis01 :tbasis01;const TData *tbd2=(traceDir10==d) ? dtbasis10 :tbasis10;const TData *tbd3=(traceDir11==d) ? dtbasis11 :tbasis11;const TData *tbd4=(traceDir20==d) ? dtbasis20 :tbasis20;const TData *tbd5=(traceDir21==d) ? dtbasis21 :tbasis21;const bool cd0=(traceDir00==d) ? false :isColl00;const bool cd1=(traceDir01==d) ? false :isColl01;const bool cd2=(traceDir10==d) ? false :isColl10;const bool cd3=(traceDir11==d) ? false :isColl11;const bool cd4=(traceDir20==d) ? false :isColl20;const bool cd5=(traceDir21==d) ? false :isColl21;const bool epd0=(0==d) ? false :endPtsColl0;const bool epd1=(1==d) ? false :endPtsColl1;const bool epd2=(2==d) ? false :endPtsColl2;{ const bool scale=c1||c2;TData *dst=scale ? volptr :outptr;if(scale) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } if(epd0) { IPWRTPhysTraceFaceN0Kernel< true, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nm2, nbd0, tnq00, tnq01, tbd0, tbd1, tw00, tw01, jacptr, wspptr, wsp1ptr, inptr, dst, cd0, cd1);} else { IPWRTPhysTraceFaceN0Kernel< false, DEFORMED >(ilane, 0, 2, 2, nm0, nm1, nm2, nbd0, tnq00, tnq01, tbd0, tbd1, tw00, tw01, jacptr, wspptr, wsp1ptr, inptr, dst, cd0, cd1);} if(scale) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, nm2, c1, c2, s_twoOver1, s_twoOver2, volptr, outptr);} } { const bool scale=c2;TData *dst=scale ? volptr :outptr;if(scale) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } if(epd1) { IPWRTPhysTraceFaceN1Kernel< true, DEFORMED >(ilane, 0, nfaceN1, nfaceN1, nm0, nm1, nm2, nbd1, tnq10, tnq11, tbd2, tbd3, tw10, tw11, jacptr+jac1 *warpsize, wspptr, wsp1ptr, inptr+in1 *warpsize, dst, cd2, cd3);} else { IPWRTPhysTraceFaceN1Kernel< false, DEFORMED >(ilane, 0, nfaceN1, nfaceN1, nm0, nm1, nm2, nbd1, tnq10, tnq11, tbd2, tbd3, tw10, tw11, jacptr+jac1 *warpsize, wspptr, wsp1ptr, inptr+in1 *warpsize, dst, cd2, cd3);} if(scale) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, nm2, false, c2, s_twoOver1, s_twoOver2, volptr, outptr);} } { const bool scale=c1;TData *dst=scale ? volptr :outptr;if(scale) { for(unsigned int p=0;p< numDataOut;++p) { dst[warpsize *p+ilane]=0.0;} } if(epd2) { IPWRTPhysTraceFaceN2Kernel< true, DEFORMED >(ilane, 0, nfaceN2, nfaceN2, nm0, nm1, nm2, nbd2, tnq20, tnq21, tbd4, tbd5, tw20, tw21, jacptr+jac2 *warpsize, wspptr, wsp1ptr, inptr+in2 *warpsize, dst, cd4, cd5);} else { IPWRTPhysTraceFaceN2Kernel< false, DEFORMED >(ilane, 0, nfaceN2, nfaceN2, nm0, nm1, nm2, nbd2, tnq20, tnq21, tbd4, tbd5, tw20, tw21, jacptr+jac2 *warpsize, wspptr, wsp1ptr, inptr+in2 *warpsize, dst, cd4, cd5);} if(scale) { ScaleAddCollapsedFacKernel(ilane, nm0, nm1, nm2, c1, false, s_twoOver1, s_twoOver2, volptr, outptr);} } } e+=getGlobalRange< 0 >(threadBlock);} } | |||
| ) |
References append, c, CompNeedsCollapsedFac(), dnbasis0, dnbasis1, dnbasis2, dtbasis00, dtbasis01, dtbasis10, dtbasis11, dtbasis20, dtbasis21, e, endPtsColl0, endPtsColl1, endPtsColl2, in, in1, in2, isColl00, isColl01, isColl10, isColl11, isColl20, isColl21, jac, jac1, jac2, jacCompStride, nbasis0, nbasis1, nbasis2, nelmt, nfaceN1, nfaceN2, nm0, nm1, nm2, numDataIn, numDataJac, numDataOut, out, s_twoOver1, s_twoOver2, ScaleAddCollapsedFacKernel(), shmemptr, tableSize, tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21, threadBlock, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21, traceDir00, traceDir01, traceDir10, traceDir11, traceDir20, traceDir21, tw00, tw01, tw10, tw11, tw20, tw21, warpsize, wsp, wsp0Size, and wsp1Size.
|
static |
Differentiate one element group of a 1D block: out = du/dx, with u the single component at in0.
Unpacks the size parameter – runtime or compile-time, both satisfying IsPhysSizeParameter1D_v as the static_assert enforces – forms du/dxi in wsp0 with PhysDerivTensor1DKernel and scales it with PhysDerivDir1DKernel by the group's derivative factor for direction 0, the first of the ncoord factors each point (deformed) or element (regular) carries, overwriting out.
| SHAPE_TYPE | Element shape (segments only; unused). |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter1D | 1D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam1D | Element sizes: coordinate dimension and quadrature points. |
| D0 | 1D derivative matrix of the direction. |
| df_ptr | Derivative factors of the group. |
| wsp0 | Workspace for the reference derivative. |
| in0 | Input values of the group. |
| out | Output values of the group. |
Definition at line 98 of file DivergenceBlockOpSerialAVXSumFacKernels.hpp.
References out, and PhysDerivTensor1DKernel().
Referenced by Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
Differentiate one element group of a 2D block: out = du/dx + dv/dy, with u and v the components at in0 and in1.
Unpacks the size parameter – runtime or compile-time, both satisfying IsPhysSizeParameter2D_v as the static_assert enforces – then, for u, forms the two reference-direction derivatives in wsp0 and wsp1 with PhysDerivTensor2DKernel and hands them to PhysDerivDir2DKernel with DIR = 0, which applies the collapsed-coordinate correction for triangles (using f0 and f1), contracts with row 0 of the derivative factors and overwrites out; the same pair of calls with v, DIR = 1 and APPEND then adds dv/dy.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter2D | 2D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam2D | Element sizes: coordinate dimension and quadrature points per direction. |
| D0 | 1D derivative matrix of direction 0. |
| D1 | 1D derivative matrix of direction 1. |
| f0 | Collapsed-coordinate factor (1 + eta_0)/2 at the direction-0 points (triangles only). |
| f1 | Collapsed-coordinate factor 2/(1 - eta_1) at the direction-1 points (triangles only). |
| df_ptr | Derivative factors of the group, 2 * ncoord per element group, or per point when deformed. |
| wsp0 | Workspace for the direction-0 derivative. |
| wsp1 | Workspace for the direction-1 derivative. |
| in0 | First component of the group. |
| in1 | Second component of the group. |
| out | Output values of the group. |
Definition at line 157 of file DivergenceBlockOpSerialAVXSumFacKernels.hpp.
References in1, out, and PhysDerivTensor2DKernel().
|
static |
Differentiate one element group of a 3D block: out = du/dx + dv/dy + dw/dz, with u, v and w the components at in0, in1 and in2.
As in two dimensions, each component in turn is differentiated in the three reference directions by PhysDerivTensor3DKernel into wsp0 to wsp2 and contracted with its row of derivative factors by PhysDerivDir3DKernel, which also applies the collapsed-coordinate correction of the shape (using f0, f1, f1m and f2); the DIR = 0 call overwrites out and the DIR = 1, 2 calls set APPEND and accumulate. The element is assumed to have coordinate dimension three, so it carries nine derivative factors.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter3D | 3D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam3D | Element sizes: quadrature points per direction. |
| D0 | 1D derivative matrix of direction 0. |
| D1 | 1D derivative matrix of direction 1. |
| D2 | 1D derivative matrix of direction 2. |
| f0 | \(\tfrac{1}{2}(1+\eta_0)\) at the direction-0 points. |
| f1 | \(\tfrac{1}{2}(1+\eta_1)\) at the direction-1 points. |
| f1m | \(2/(1-\eta_1)\) at the direction-1 points. |
| f2 | \(2/(1-\eta_2)\) at the direction-2 points. All four are unused for hexahedra. |
| df_ptr | Derivative factors of the group, nine per element group, or per point when deformed. |
| wsp0 | Workspace for the direction-0 derivative. |
| wsp1 | Workspace for the direction-1 derivative. |
| wsp2 | Workspace for the direction-2 derivative. |
| in0 | First component of the group. |
| in1 | Second component of the group. |
| in2 | Third component of the group. |
| out | Output values of the group. |
Definition at line 228 of file DivergenceBlockOpSerialAVXSumFacKernels.hpp.
References in1, in2, out, and PhysDerivTensor3DKernel().
| void Nektar::MultiRegions::detail::EnqueueExpressionKernel | ( | const ExpressionKernels & | kernels, |
| const ExpressionKernelIndex | index, | ||
| const ExpressionKernelArgs< TData > & | kernelArgs, | ||
| const unsigned int | gridSize, | ||
| const unsigned int | blockSize, | ||
| TStream | stream | ||
| ) |
Launch a variant of the compiled kernels on a native stream.
| TData | Floating-point type of the field data. |
| TStream | Native stream type. |
| kernels | Compiled kernels. |
| index | Variant to launch. |
| kernelArgs | Launch arguments; the launch takes their addresses. |
| gridSize | Number of thread blocks. |
| blockSize | Threads per block. |
| stream | Stream to launch on. |
Definition at line 287 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
References CHECK_HIPCUDA_DRIVER_ERROR, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::compSize, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::coordptr, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::evarptr, Nektar::MultiRegions::detail::ExpressionKernels::kernels, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::launchArgs, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::ndata, nekLaunchKernel, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::nelmt, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::nsize, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::outptr, Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::scale, and Nektar::MultiRegions::detail::ExpressionKernelArgs< TData >::time.
Referenced by LaunchExpressionKernel().
| Nektar::MultiRegions::detail::FETCH_SHARED_MEMORY | ( | shmemptr | ) |
Referenced by __LAUNCH_BOUNDS__(), and __LAUNCH_BOUNDS__().
| TraceTables< TTable > Nektar::MultiRegions::detail::FetchTraceTables | ( | const LocalRegions::ExpansionSharedPtr & | exp, |
| const LibUtilities::NekDataWarehouseSharedPtr & | warehouse | ||
| ) |
Fetch the trace tables of the block whose representative expansion is exp from warehouse.
A direction with one trace takes its end-point interpolant onto the Gauss-Legendre-with-M points, whose first point is \(\xi = -1\); a direction with two onto the Gauss-Lobatto points, both ends.
| TTable | Table entry type. |
| MemSpace | Memory space the tables are fetched to. |
| exp | Representative expansion of the block. |
| warehouse | Warehouse the tables are fetched from. |
Definition at line 108 of file TraceTables.hpp.
References ASSERTL1, Nektar::MultiRegions::detail::TraceTables< TTable >::B, Nektar::LibUtilities::eGaussLegendreWithM, Nektar::LibUtilities::eGaussLobattoLegendre, Nektar::LibUtilities::eInterp, Nektar::MultiRegions::detail::TraceTables< TTable >::endPtsCollocated, Nektar::LibUtilities::eWeights, Nektar::MultiRegions::detail::TraceTables< TTable >::isCollocated, Nektar::MultiRegions::detail::TraceTables< TTable >::nm, Nektar::MultiRegions::detail::TraceTables< TTable >::nq, Nektar::LibUtilities::PointsTypeNumEndPts, Nektar::LibUtilities::ShapeTypeNumTraceInDir, and Nektar::MultiRegions::detail::TraceTables< TTable >::W.
|
inline |
Find the bracket matching the one at start by scanning in the given direction.
| s | Expression string to scan. |
| start | Position of the opening or closing bracket to match. |
| direction | +1 to scan forwards from an opening bracket, -1 to scan backwards from a closing one. |
start if none is found. Definition at line 164 of file ExpressionBlockOpDeviceGenericHelper.hpp.
Referenced by convertPow().
| Nektar::MultiRegions::detail::for | ( | ) |
Definition at line 257 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References append, c, dnbasis0, e, elmtsPerBlock, in, jac, nelmt, nm0, numDataIn, numDataJac, numDataOut, out, and threadBlock.
|
static |
|
static |
Definition at line 307 of file FwdTransBCBlockOpSerialAVXKernels.hpp.
References in, jac, nm0, nm1, out, Nektar::LibUtilities::Quad, and Nektar::LibUtilities::Tri.
|
static |
Step 1: Extract edge modes
Step 2: Evaluate edge contributions via mass matrix
Step 3: Project face/interior modes onto boundary
Definition at line 89 of file FwdTransBCBlockOpSerialAVXKernels.hpp.
References in, jac, Nektar::MatVecKernel(), nm0, nm1, and out.
|
static |
Definition at line 47 of file FwdTransBCBlockOpSerialAVXKernels.hpp.
References in, jac, Nektar::MatVecKernel(), nm0, and out.
|
static |
Step 1: Extract edge modes
Step 2: Evaluate edge contributions via mass matrix
Step 3: Project face/interior modes onto boundary
Definition at line 189 of file FwdTransBCBlockOpSerialAVXKernels.hpp.
References in, jac, Nektar::MatVecKernel(), nm0, nm1, and out.
|
inline |
Emit the argument list matching GetExpressionKernelParameters(), without the enclosing brackets, so that a kernel can forward its parameters on.
| vnames | Variable names of the expressions. |
| cmask | Per-component enable flags. |
Definition at line 343 of file ExpressionBlockOpDeviceGenericHelper.hpp.
|
inline |
Emit the body of an expression kernel, without the enclosing braces.
The body takes its thread index from threadIndex, returns past nsize, and on a padded element writes zero to every enabled output (when not appending) without evaluating the expressions. Otherwise it gathers the coordinates for the interleave width the kernel is instantiated on and the EVAR values, then assigns or appends scale * (expression) to each enabled output. #defines make the common maths functions take TData arguments, so integer literals do not make calls like sqrt(61) ambiguous, local lambdas define the interpreter's sign, rad and ang, and caret powers are rewritten by convertPow().
One kernel covers every homogeneous mode of the block: the modes of a component are stored back to back, so the thread index walks them, while the coordinates are held for one mode only and are read at the index within the mode.
| exprs | Parsed expressions, one per component. |
| cmask | Per-component enable flags. |
| vnames | Variable names of the expressions. |
| coordDim | Coordinate dimension of the block. |
| threadIndex | Expression yielding the global thread index. |
| mathPrefix | Qualification of the maths functions, e.g. sycl::. |
Definition at line 423 of file ExpressionBlockOpDeviceGenericHelper.hpp.
References convertPow().
Referenced by GetExpressionKernelSource().
|
inline |
Emit the constants and the parameters of the expressions as macro variables, so that they are substituted when the kernel is compiled. A name defined by several expressions is emitted once.
| exprs | Parsed expressions, one per component. |
#define per name, followed by a blank line. Definition at line 247 of file ExpressionBlockOpDeviceGenericHelper.hpp.
Referenced by GetExpressionKernelSource().
|
inline |
The name expressions the kernel variants are registered and looked up under, in ExpressionKernelIndex order.
| TData | Floating-point type the kernels are compiled for. |
Definition at line 120 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
References eNumExpressionKernels, expressionKernelName, and GetExpressionKernelVariants().
|
inline |
Emit the parameter list of an expression kernel, without the enclosing brackets: the fields of ExpressionKernelArgs in order, the EVAR pointers named <name>ptr and the outputs out<nc>.
| vnames | Variable names of the expressions (see ExpressionBlockOp::GetEvarsNames()); entries from 4 on are the EVARs. |
| cmask | Per-component enable flags; only enabled components get an output pointer. |
Definition at line 299 of file ExpressionBlockOpDeviceGenericHelper.hpp.
Referenced by GetExpressionKernelSource().
| std::string Nektar::MultiRegions::detail::GetExpressionKernelSource | ( | const std::vector< LibUtilities::EquationSharedPtr > & | exprs, |
| const std::vector< bool > & | cmask, | ||
| const unsigned int | coordDim | ||
| ) |
Generate the CUDA/HIP source of the expression kernel.
Generate the SYCL source of the expression kernels.
The emitted source consists of:
#define for every constant and every parameter of each expression, so those names resolve to their session values (GetExpressionKernelConstants());expression_kernel templated on an APPEND flag, the interleave width and the data type, taking the parameters of GetExpressionKernelParameters(): the EVAR input pointers are named after the variable-list entries from index 4 on, and there is one output pointer per unmasked component;coordDim in both flat (width 1) and element-interleaved addressing, selected by the width template parameter; #defines forcing the common maths functions to take TData arguments, so integer literals in the expression strings do not make calls like sqrt(61) ambiguous under runtime compilation; and, per unmasked component, the expression itself – caret powers rewritten into pow() calls by convertPow() – assigned or appended to out<nc>[tid], scaled.| TData | Floating-point type the kernel is generated for. |
| exprs | Parsed expressions, one per component; the first expression's variable list defines the EVAR names for all of them. |
| cmask | Per-component enable flags. |
| coordDim | Coordinate dimension of the block. |
A free function kernel cannot itself be templated and be looked up by name, so the kernel body (GetExpressionKernelBody()) is written once as a function template on APPEND and INTERLEAVEWIDTH, and each variant is entered through an extern "C" kernel of its own, named with the variant's suffix.
| TData | Floating-point type the kernels are generated for. |
| exprs | Parsed expressions, one per component; the first expression's variable list defines the EVAR names for all of them. |
| cmask | Per-component enable flags. |
| coordDim | Coordinate dimension of the block. |
Definition at line 170 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
References expressionKernelName, Nektar::MultiRegions::ExpressionBlockOp< TData >::GetEvarsNames(), GetExpressionKernelBody(), GetExpressionKernelConstants(), and GetExpressionKernelParameters().
|
inline |
The kernel variants, in ExpressionKernelIndex order.
Definition at line 131 of file ExpressionBlockOpDeviceGenericHelper.hpp.
References Nektar::NektarSpaces::Device::warpSize.
Referenced by GetExpressionKernelNameExpressions().
|
static |
1D launcher stringing together the five sum-factorised stages for one element group.
Definition at line 1901 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor1DKernel().
Referenced by Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
2D launcher stringing together the five sum-factorised stages for one element group.
Definition at line 1945 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor2DKernel().
|
static |
3D launcher stringing together the five sum-factorised stages for one element group.
Definition at line 1994 of file HelmholtzBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor3DKernel().
Initialise the device context the runtime compiler needs: a cudaFree(0)/hipFree(0) on the native builds, nothing on SYCL.
Initialise the device context the runtime compiler needs.
Definition at line 87 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
References CHECK_HIPCUDA_ERROR.
Referenced by Nektar::MultiRegions::detail::ExpressionBlockOpImpl< ExecSpace, Implementation, TData >::ExpressionBlockOpImpl().
| void Nektar::MultiRegions::detail::InverseMultiplicityKernel | ( | const size_t | nsize, |
| TData * | ptr, | ||
| const unsigned int | streamID | ||
| ) |
Replace every multiplicity in ptr by its reciprocal, and by zero where it is zero.
The multiplicity of a local coefficient is a whole number, zero exactly where its orientation sign is zero, so a value below one half is zero.
| nsize | Number of values. |
| ptr | Multiplicities on entry, their reciprocals on return. |
| streamID | Stream the kernel runs on. |
Definition at line 55 of file AvgAssmbScatrKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
|
static |
1D workspace query: the segment kernel contracts its only direction straight into the output and needs no workspace, so this is a no-op kept for uniformity with the 2D and 3D forms.
Definition at line 86 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Grow wsp0Size to the workspace the 2D launcher needs for the given shape and sizes.
Updates a running maximum so one workspace can be sized across several queries. Sizes are in SIMD vectors: every 2D shape stages nq1 direction-0 sums, one per direction-1 quadrature point, and nodal triangles additionally need nmTot = nm0 * (nm0 + 1) / 2 vectors behind those to hold the modal-basis result before it is mapped to the nodal coefficients (see the 2D IProductWRTBaseKernelLauncher).
| SHAPE_TYPE | Shape of the block's elements. | |
| nm0,nm1 | Modes per direction. | |
| nq0,nq1 | Quadrature points per direction. | |
| [in,out] | wsp0Size | Raised to the required size if smaller. |
Definition at line 112 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
References nm0, Nektar::LibUtilities::NodalTri, and wsp0Size.
Referenced by Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::HelmholtzBlockOpImpl(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::IProductWRTBaseBlockOpImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::IProductWRTDerivBaseBlockOpImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::LaplacianBlockOpImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::LinAdvDiffReactionBlockOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::MassBlockOpImpl(), and Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::SizeWorkspaces().
|
static |
Grow wsp0Size, wsp1Size and wsp2Size to the workspaces the 3D launcher needs for the given shape and sizes.
As IProduct2DWorkspace, in SIMD vectors and as running maxima. wsp0 holds the nq1 * nq2 direction-0 sums and wsp1 the nq2 sums of the second stage; for the nodal shapes wsp0 is enlarged by the shape's mode count to hold the modal-basis result before the nodal mapping. wsp2 (nm1 vectors) is only read by the prism kernels, which accumulate their collapsed-edge correction there, one entry per direction-1 mode.
| SHAPE_TYPE | Shape of the block's elements. | |
| nm0,nm1,nm2 | Modes per direction. | |
| nq0,nq1,nq2 | Quadrature points per direction. | |
| [in,out] | wsp0Size | Raised to the required size if smaller. |
| [in,out] | wsp1Size | Raised to the required size if smaller. |
| [in,out] | wsp2Size | Raised to the required size if smaller. |
Definition at line 146 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::GetNumberOfCoefficients(), nm0, nm1, nm2, nmTot, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, wsp0Size, and wsp1Size.
Referenced by Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::HelmholtzBlockOpImpl(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::IProductWRTBaseBlockOpImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::IProductWRTDerivBaseBlockOpImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::LaplacianBlockOpImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::LinAdvDiffReactionBlockOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::MassBlockOpImpl(), and Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::SizeWorkspaces().
|
static |
1D launcher without the quadrature metric: applies the basis transpose alone to one element group; selected by the absence of the weight and Jacobian arguments.
| sizeParam1D | Element sizes; nm0 and nq0 are read. |
| isModified | First-direction basis is eModified_A; unused in 1D. |
| in | Interleaved physical values of the element group, assumed to carry the quadrature metric already. |
| B0 | One-dimensional basis table. |
| NtoMTrans | Transposed nodal-to-modal matrix; unused in 1D. |
| out | Interleaved coefficients of the element group. |
| scale | Factor applied when SCALE is set. |
Definition at line 229 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
|
static |
1D launcher: forward one element group's inner product to the segment kernel, quadrature metric included.
| SHAPE_TYPE | Shape tag (segments only in 1D). |
| SCALE | Multiply the result by scale. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | jac holds one vector per quadrature point rather than one per element group. |
| TSizeParameter1D | 1D size parameter, templated or not. |
| simd_type | SIMD vector type; each vector holds one value of every element of the interleaved group. |
| sizeParam1D | Element sizes; nm0 and nq0 are read. |
| isModified | First-direction basis is eModified_A; unused in 1D. |
| in | Interleaved physical values of the element group. |
| B0 | One-dimensional basis table, B0[p * nq0 + i] being mode p at point i. |
| w0 | Direction-0 quadrature weights. |
| NtoMTrans | Transposed nodal-to-modal matrix; unused in 1D. |
| jac | Interleaved Jacobians of the element group. |
| out | Interleaved coefficients of the element group. |
| scale | Factor applied when SCALE is set. |
Definition at line 195 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, nm0, and out.
Referenced by Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
2D launcher without the quadrature metric: applies the basis transpose alone, otherwise identical to the metric overload, including the NodalTri behaviour of APPEND noted there.
| sizeParam2D | Element sizes: modes and points per direction and the total mode count. |
| isModified | First-direction basis is eModified_A. |
| in | Interleaved physical values of the group, assumed to carry the quadrature metric already. |
| B0,B1 | Basis tables per direction. |
| NtoMTrans | Transposed nodal-to-modal matrix (nodal shapes only). |
| wsp0 | Group workspace, sized by IProduct2DWorkspace. |
| out | Interleaved coefficients of the group. |
| scale | Factor applied when SCALE is set. |
Definition at line 342 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
References in, nm0, nm1, nmTot, Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
2D launcher: select the quadrilateral or (nodal) triangular kernel for one element group at compile time, quadrature metric included.
For NodalTri the triangular kernel writes the modal-basis result to the tail of wsp0 (beyond its first nq1 vectors) and MatVecKernel then maps those nmTot values to the nodal coefficients with NtoMTrans. For the triangles, isModified triggers the extra collapsed-vertex contribution inside IProductTriKernel.
On NodalTri the triangular kernel overwrites the modal slice and APPEND governs the nodal mapping instead.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| SCALE | Multiply the result by scale. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | jac holds one vector per quadrature point. |
| TSizeParameter2D | 2D size parameter, templated or not. |
| simd_type | SIMD vector type of the interleaved group. |
| sizeParam2D | Element sizes: modes and points per direction and the total mode count. |
| isModified | First-direction basis is eModified_A. |
| in | Interleaved physical values of the group. |
| B0 | Direction-0 basis table (nm0 rows of nq0). |
| B1 | Direction-1 basis table; for the triangles indexed by the combined (p,q) mode, one row per mode. |
| w0,w1 | Quadrature weights per direction. |
| NtoMTrans | Transposed nodal-to-modal matrix (nodal shapes only). |
| jac | Interleaved Jacobians of the group. |
| wsp0 | Group workspace, sized by IProduct2DWorkspace. |
| out | Interleaved coefficients of the group. |
| scale | Factor applied when SCALE is set. |
Definition at line 282 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, nm0, nm1, nmTot, Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
3D launcher without the quadrature metric: applies the basis transpose alone, otherwise identical to the metric overload, including the nodal-shape behaviour of APPEND noted there.
| sizeParam3D | Element sizes: modes and points per direction and the total mode count. |
| isModified | First-direction basis is eModified_A. |
| in | Interleaved physical values of the group, assumed to carry the quadrature metric already. |
| B0,B1,B2 | Basis tables per direction. |
| NtoMTrans | Transposed nodal-to-modal matrix (nodal shapes only). |
| wsp0,wsp1 | Group workspaces of the two contraction stages. |
| wsp2 | Correction workspace; prisms only. |
| out | Interleaved coefficients of the group. |
| scale | Factor applied when SCALE is set. |
Definition at line 517 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, in, nm0, nm1, nm2, nmTot, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, out, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
3D launcher: select the hexahedral, (nodal) tetrahedral, (nodal) prismatic or pyramidal kernel for one element group at compile time, quadrature metric included.
For the nodal shapes the shape kernel writes the modal-basis result to the tail of wsp0 (beyond its first nq1 * nq2 vectors) and MatVecKernel then maps those nmTot values to the nodal coefficients with NtoMTrans. isModified triggers the collapsed vertex and edge corrections inside the tetrahedral, prismatic and pyramidal kernels.
On the nodal shapes the shape kernel overwrites the modal slice and APPEND governs the nodal mapping instead.
| SHAPE_TYPE | Hex, Tet, NodalTet, Prism, NodalPrism, Pyr or NodalPyr. |
| SCALE | Multiply the result by scale. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | jac holds one vector per quadrature point. |
| TSizeParameter3D | 3D size parameter, templated or not. |
| simd_type | SIMD vector type of the interleaved group. |
| sizeParam3D | Element sizes: modes and points per direction and the total mode count. |
| isModified | First-direction basis is eModified_A. |
| in | Interleaved physical values of the group. |
| B0,B1,B2 | Basis tables per direction; along a collapsed direction indexed by the shape's combined mode. |
| w0,w1,w2 | Quadrature weights per direction. |
| NtoMTrans | Transposed nodal-to-modal matrix (nodal shapes only). |
| jac | Interleaved Jacobians of the group. |
| wsp0,wsp1 | Group workspaces of the two contraction stages, sized by IProduct3DWorkspace. |
| wsp2 | Correction workspace; prisms only. |
| out | Interleaved coefficients of the group. |
| scale | Factor applied when SCALE is set. |
Definition at line 420 of file IProductWRTBaseBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, in, jac, nm0, nm1, nm2, nmTot, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, out, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
Segment launcher: form the weighted direction field of one element group and apply the transposed derivative.
StdAlignDerivBase1D writes \(g_0\) into tmp0, and SumDerivTensor1DKernel then writes \(D_0^{\mathsf T} g_0\) to out, overwriting it.
| SHAPE_TYPE | Shape of the block's elements (Seg); unused. |
| DEFORMED | True when the geometric factors vary within an element. |
| TSizeParameter1D | 1D size parameter, modal or physical-space. |
| simd_type | SIMD vector type of one interleaved element group. |
| sizeParam1D | Sizes of the expansion; only nq0 is read. |
| indim | Coordinate dimension: number of input components read. |
| df_ptr | Derivative factors of the element group. |
| df_tmp | Caller-owned scratch for the factors of the current point. |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| in | Input vector \({\bf f}\). |
| jac | Jacobians of the element group. |
| w0 | Quadrature weights of the expansion. |
| D0 | One-dimensional derivative matrix. |
| tmp0 | Plane of nq0 vectors receiving \(g_0\). |
| out | Plane of nq0 vectors receiving the transposed derivative. |
Definition at line 486 of file IProductWRTDerivBaseBlockOpSerialAVXSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::OperatorNDImpl().
|
static |
Quadrilateral or triangle launcher: form the two weighted direction fields of one element group and apply the transposed derivatives.
StdAlignDerivBase2D writes \(g_0\) and \(g_1\) into tmp0 and tmp1 – including, for the triangles, the collapsed corrections from f0 and f1 – and SumDerivTensor2DKernel sums their transposed derivatives into out, overwriting it.
| SHAPE_TYPE | Shape of the block's elements. |
| DEFORMED | True when the geometric factors vary within an element. |
| TSizeParameter2D | 2D size parameter, modal or physical-space. |
| simd_type | SIMD vector type of one interleaved element group. |
| sizeParam2D | Sizes per direction; only nq0 and nq1 are read. |
| indim | Coordinate dimension: number of input components read. |
| df_ptr | Derivative factors of the element group. |
| df_tmp | Caller-owned scratch for the factors of the current point. |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| in | Input vector \({\bf f}\). |
| f0 | Table of (1 + eta_0)/2 (triangles). |
| f1 | Table of 2/(1 - eta_1) (triangles). |
| jac | Jacobians of the element group. |
| w0,w1 | Quadrature weights per direction. |
| D0,D1 | One-dimensional derivative matrices. |
| tmp0,tmp1 | Planes of nq0 * nq1 vectors receiving the direction fields. |
| out | Plane of nq0 * nq1 vectors receiving the summed transposed derivative. |
Definition at line 546 of file IProductWRTDerivBaseBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Three-dimensional launcher: form the three weighted direction fields of one element group and apply the transposed derivatives.
StdAlignDerivBase3D writes the direction fields into tmp0 ... tmp2 – with the shape's collapsed corrections from the four factor tables – and SumDerivTensor3DKernel sums their transposed derivatives into out, overwriting it. The coordinate dimension of a 3D element is always three, so indim is unused.
| SHAPE_TYPE | Shape of the block's elements. |
| DEFORMED | True when the geometric factors vary within an element. |
| TSizeParameter3D | 3D size parameter, modal or physical-space. |
| simd_type | SIMD vector type of one interleaved element group. |
| sizeParam3D | Sizes per direction; only the point counts are read. |
| indim | Coordinate dimension; unused. |
| df_ptr | Derivative factors of the element group, nine per point. |
| df_tmp | Caller-owned scratch for the factors of the current point. |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| in | Input vector \({\bf f}\). |
| f0 | Table of (1 + eta_0)/2. |
| f1 | Table of (1 + eta_1)/2. |
| f1m | Table of 2/(1 - eta_1). |
| f2 | Table of 2/(1 - eta_2). |
| jac | Jacobians of the element group. |
| w0,w1,w2 | Quadrature weights per direction. |
| D0,D1,D2 | One-dimensional derivative matrices. |
| tmp0,tmp1,tmp2 | Planes of nqTot vectors receiving the direction fields. |
| out | Plane of nqTot vectors receiving the summed transposed derivative. |
Definition at line 616 of file IProductWRTDerivBaseBlockOpSerialAVXSumFacKernels.hpp.
|
static |
The one-dimensional lift: \(\langle \partial_n \phi, g \rangle\) over a segment's two vertices.
A segment's traces are single points, so there is no trace quadrature to sum over, no tangential table and no trace Jacobian. What is left is the point evaluation
\[ out_p \mathrel{+}= \sum_{v=0,1} \partial h_p(\xi_v)\, F_v\, g_v , \]
with \(F_v\) the normal derivative factor at that vertex, which the data warehouse supplies as the single component of the factor array. There is no end-point collocated shortcut: the interpolation to a collocated end point is a selection matrix, which its derivative never is.
| nm0 | Volume quadrature points of the segment. |
| dnbasis0 | Derivative table \(\partial h_p(\pm 1)\), indexed dnbasis0[2 * p + v]. |
| jac | Normal derivative factor \(F_v\) at each vertex. |
| in | Packed trace values \(g_v\), the two vertices. |
| out | Volume-shaped result of the element group. |
| append | Accumulate onto out instead of zeroing it first. |
Definition at line 115 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References append, dnbasis0, in, jac, nm0, out, and sum.
Referenced by IProductWRTPhysNormalDerivTraceKernelLauncher().
|
static |
Launcher for one element group of segments.
The one-dimensional arm of the overload set OperatorND() calls; the higher-dimensional arms follow below, and overload resolution picks between them by the number of arguments the index sequences expand to. A segment's traces are points, so it takes no tangential table, no weight and no workspace, and only the derivative table and the vertex factors are read.
| SHAPE_TYPE | Seg; unread, the path being the same for every one-dimensional expansion. |
| DEFORMED | Unread: a segment carries one factor per vertex whatever its geometry. |
| sizeParam1D | Volume quadrature points of the shape. |
| nbasis0 | Unread: a segment's traces are points, so no interpolation table is needed. |
| dnbasis0 | Derivative table \(\partial h_p(\pm 1)\) at the two vertices. |
| twoOver0 | Unread: a segment has no collapsed direction. |
| jac | Normal derivative factor at each vertex. |
| jacCompStride | Unread: there is only the one term. |
| volwsp | Unread: a segment needs no volume-sized scratch. |
| in | Packed trace values, the two vertices. |
| out | Volume-shaped result of the element group. |
| append | Accumulate onto the volume field instead of zeroing it first. |
| endPtsCollocated0 | Unread: a segment has no end-point collocated shortcut. |
Definition at line 683 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References append, dnbasis0, in, IProductWRTPhysNormalDerivTrace1DKernel(), jac, and out.
Referenced by Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), and Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
All edges of one two-dimensional element group: the two terms of the operator, one per element direction, accumulated in turn.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| DEFORMED | Factors vary point by point along the traces. |
| append | Accumulate onto out instead of zeroing it first. |
| sizeParam2D | Volume and trace point counts of the shape. |
| nbasis0,nbasis1 | eInterp tables \(h_p(\pm 1)\) per direction. |
| dnbasis0,dnbasis1 | Their derivatives. |
| tbasis0,tbasis1 | eInterp tables to the trace points, per direction. |
| dtbasis0,dtbasis1 | Derivatives of tbasis0, tbasis1. |
| tw0,tw1 | Trace quadrature weights per direction. |
| twoOver0,twoOver1 | \(2/(1 - \eta)\) at the element points per direction; direction 0 is never collapsed and its slot is null and unread. |
| jac | Factor array of this element group, term 0; term 1 sits jacCompStride SIMD vectors further on. |
| jacCompStride | Offset, in SIMD vectors, between the two terms' factor arrays. |
| wsp | Trace-mode scratch, 2 * max(nm0,nm1). |
| volwsp | Volume-sized scratch for the collapsed factor scaling; unread on a quadrilateral. |
| in | Packed trace values of this element group. |
| out | Volume-shaped result of this element group. |
| traceDir0,traceDir1 | Element direction each trace slot runs along. |
| isCollocated0,isCollocated1 | Trace points of the direction-0 and direction-1 edges coincide with the volume points. |
| endPtsCollocated0,endPtsCollocated1 | Volume rule of direction 0 and direction 1 contains the domain endpoints. |
Definition at line 742 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References append, dnbasis0, dnbasis1, dtbasis0, dtbasis1, endPtsCollocated0, in, jac, jacCompStride, nbasis0, nbasis1, nm0, nm1, out, tbasis0, tbasis1, tnq00, tnq10, traceDir0, traceDir1, tw0, tw1, twoOver1, and wsp.
|
static |
All faces of one three-dimensional element group: the three terms of the operator, one per element direction, accumulated in turn.
| SHAPE_TYPE | Hex, Prism, NodalPrism, Pyr, NodalPyr, Tet or NodalTet. |
| DEFORMED | Factors vary point by point along the traces. |
| append | Accumulate onto out instead of zeroing it first. |
| sizeParam3D | Volume and trace point counts of the shape. |
| nbasis0,nbasis1,nbasis2 | eInterp tables \(h_p(\pm 1)\) per direction. |
| dnbasis0,dnbasis1,dnbasis2 | Derivatives of nbasis0, nbasis1, nbasis2. |
| tbasis00,tbasis01,tbasis10,tbasis11,tbasis20,tbasis21 | eInterp tables to the trace points, per normal direction and tangential direction. |
| dtbasis00,dtbasis01,dtbasis10,dtbasis11,dtbasis20,dtbasis21 | Derivatives of tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21. |
| tw00,tw01,tw10,tw11,tw20,tw21 | Trace quadrature weights in the same order as tbasis00 to tbasis21. |
| twoOver0,twoOver1,twoOver2 | \(2/(1 - \eta)\) at the element points per direction; direction 0 is never collapsed and its slot is null and unread, as is any direction the shape does not collapse. |
| jac | Factor array of this element group, term 0; term d sits d * jacCompStride SIMD vectors further on. |
| jacCompStride | Offset, in SIMD vectors, between successive terms' factor arrays. |
| wsp0 | Trace-mode workspace, two faces' worth. |
| wsp1 | Scratch for the fully general face contraction. |
| volwsp | Volume-sized scratch for the collapsed factor scaling; unread on a hexahedron. |
| in | Packed trace values of this element group. |
| out | Volume-shaped result of this element group. |
| traceDir00,traceDir01,traceDir10,traceDir11,traceDir20,traceDir21 | Element direction each trace slot runs along. |
| isCollocated00,isCollocated01 | Trace points of the direction-0 face's tangential directions coincide with the volume points. |
| isCollocated10,isCollocated11 | The same for direction 1. |
| isCollocated20,isCollocated21 | The same for direction 2. |
| endPtsCollocated0,endPtsCollocated1,endPtsCollocated2 | Volume rule of each direction contains the domain endpoints. |
Definition at line 831 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References append, dnbasis0, dnbasis1, dnbasis2, dtbasis00, dtbasis01, dtbasis10, dtbasis11, dtbasis20, dtbasis21, endPtsCollocated0, in, jac, jacCompStride, nbasis0, nbasis1, nbasis2, nm0, nm1, nm2, out, tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21, traceDir00, traceDir01, traceDir10, traceDir11, traceDir20, traceDir21, tw00, tw01, tw10, tw11, tw20, tw21, twoOver1, and twoOver2.
|
inlineconstexpr |
Dynamic shared memory one block needs, in elements: none, a segment having no collapsed direction and no workspace.
Dynamic shared memory one block needs, in elements: none, a segment's traces being points.
Definition at line 138 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize().
|
inlineconstexpr |
Dynamic shared memory one block needs, in elements: the \(2/(1 - \eta_1)\) table of a collapsed shape, staged once per block, then, with useSharedMemoryWsp, the workspace of the block's elmtsPerBlock elements.
Dynamic shared memory one block needs, in elements: the \(2/(1 - \eta_1)\) table of a collapsed shape, then the workspace of the block's elmtsPerBlock elements.
useSharedMemoryWsp is ignored: the kernels have no global-memory fallback, so the workspace is always reserved here, and a request beyond the shared memory per block is fatal in GetDeviceKernelParameters().
Definition at line 156 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
References elmtsPerBlock, IProductWRTPhysNormalDerivTraceWorkSpaceSize(), nm1, Nektar::LibUtilities::NodalTri, Nektar::LibUtilities::Quad, Nektar::LibUtilities::Tri, and useSharedMemoryWsp.
|
inlineconstexpr |
Dynamic shared memory one block needs, in elements: the \(2/(1 - \eta)\) tables of the shape's collapsed directions, staged once per block, then, with useSharedMemoryWsp, the workspace of the block's elmtsPerBlock elements.
Dynamic shared memory one block needs, in elements: the \(2/(1 - \eta)\) tables of the shape's collapsed directions, then the workspace of the block's elmtsPerBlock elements.
useSharedMemoryWsp is ignored: the kernels have no global-memory fallback, so the workspace is always reserved here, and a request beyond the shared memory per block is fatal in GetDeviceKernelParameters().
Definition at line 191 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
References elmtsPerBlock, Nektar::LibUtilities::Hex, IProductWRTPhysNormalDerivTraceWorkSpaceSize(), nm1, nm2, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, Nektar::LibUtilities::Tet, and useSharedMemoryWsp.
|
inlineconstexpr |
Workspace of a whole block, per component: none, a segment's traces being points.
Definition at line 83 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by IProductWRTPhysNormalDerivTraceSharedMemorySize(), IProductWRTPhysNormalDerivTraceSharedMemorySize(), and Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
constexpr |
Workspace of nelmt elements, per component: none, a segment's traces being points.
Definition at line 85 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
|
inlineconstexpr |
Workspace of a whole block, per component: an edge pair's trace-mode buffer followed by a volume-sized buffer for the collapsed factor scaling, one of each per element.
Definition at line 99 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
References nelmt.
|
constexpr |
Workspace of nelmt elements, per component: an edge pair's trace-mode buffer, the element's volume and, for a collapsed shape, the volume buffer of the collapsed factor scaling, per element.
Definition at line 101 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References COLLAPSED, IsCollapsedDir(), nelmt, and nmTot.
|
inlineconstexpr |
Workspace of a whole block, per component: the face mode blocks of a face pair, the contraction scratch and a volume-sized buffer for the collapsed factor scaling, one of each per element.
A face group goes through one call of the face core, which writes one mode block per face covered, so the block is sized for the two faces a direction can hold; the scratch is refilled per face and takes one. The two-dimensional size above does the same for an edge pair.
Definition at line 121 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
References nelmt.
|
constexpr |
Workspace of nelmt elements, per component: one face's mode block, the face contraction scratch, the element's volume and, for a collapsed shape, the volume buffer of the collapsed factor scaling, per element.
Definition at line 123 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References COLLAPSED1, COLLAPSED2, IsCollapsedDir(), nelmt, and nmTot.
|
static |
One group of segments: lift the two endpoint values onto the volume grid.
The traces of a segment are its two vertices, so there is no surface measure, no trace quadrature and no Jacobian to apply: the whole operator is the rank-one lift \(\Lambda_p \mathrel{+}= h_p(-1)\,\hat f_0 + h_p(+1)\,\hat f_1\). Under END_PTS_COLLOCATED the volume rule contains both domain endpoints, \(h_p(\pm 1)\) is a Kronecker delta and the two values drop straight into the first and last volume point. Otherwise the interpolation table is applied in full; a segment has two traces in direction 0, which is the stride of two into basisn0.
Both arms accumulate onto out, so it is the zeroing under APPEND == false that turns the non-appending instantiation into a plain write.
| END_PTS_COLLOCATED | Volume rule contains the domain endpoints. |
| APPEND | Accumulate onto out instead of zeroing it first. |
| simd_type | SIMD vector type carrying one element per lane. |
| nm0 | Volume quadrature points of the segment. |
| basisn0 | eInterp table \(h_p(\pm 1)\), indexed basisn0[2 * p + f]. |
| in | Packed trace values, the two vertices. |
| out | Volume-shaped result of the element group. |
Definition at line 221 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
One named edge of one two-dimensional element group: turn the edge id into a direction and a position, then integrate and lift.
The single-trace entry point, used when the solver drives one trace at a time rather than the whole boundary. in and tjac already point at that edge's block, so the position within the direction is expressed only through the [edg, nedge) window handed to the glue kernels. The edge to (direction, position) map is 3->(0,0), 1->(0,1), 0->(1,0), 2->(1,1) for a quadrilateral, and 2->(0,0), 1->(0,1), 0->(1,0) for a triangle, whose direction 1 carries a single trace at the collapsed end. An unrecognised edge raises a fatal error.
SHAPE_TYPE here is the shape the block operator names when it calls, and it names the parent shape: a NodalTri arrives as Tri and takes the triangle arm correctly. That is the opposite of the bulk kernel, which is instantiated on the true shape; see the file note.APPEND == true, so nothing is zeroed here and the caller must zero the volume field before applying its first trace.nbasis row stride: the lift kernels take that separately, from ShapeTypeNumTraceInDir, so the general (non-endPtsCollocated) arm reads the table at the direction's trace count either way.| SHAPE_TYPE | Quad, or Tri standing in for any triangle. |
| DEFORMED | Trace Jacobian varies point by point. |
| APPEND | Accumulate onto out instead of zeroing it first. |
| simd_type | SIMD vector type carrying one element per lane. |
| edge | Nektar edge id of the trace to apply. |
| nm0,nm1 | Volume quadrature points per direction. |
| nbasis0,nbasis1 | eInterp tables \(h_p(\pm 1)\) per direction. |
| tnq00,tnq10 | Trace quadrature points of the direction-0 and direction-1 edges. |
| tbasis0,tbasis1 | eInterp tables to the trace points, per direction. |
| tw00,tw10 | Trace quadrature weights per direction. |
| tjac | Trace Jacobian of this element group, already offset to this edge. |
| wsp | Trace-mode scratch, max(nm0,nm1) entries. |
| in | Packed trace values, already offset to this edge. |
| out | Volume field of this element group. |
| isCollocated0 | Direction-0 trace points coincide with the volume points. |
| isCollocated1 | Direction-1 trace points coincide with the volume points. |
| endPtsCollocated0 | Direction-0 volume rule contains the domain endpoints. |
| endPtsCollocated1 | Direction-1 volume rule contains the domain endpoints. |
Definition at line 632 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::ErrorUtil::efatal, endPtsCollocated0, in, nbasis0, nbasis1, NEKERROR, nm0, nm1, out, Nektar::LibUtilities::ShapeTypeNumTraceInDir, tbasis0, tbasis1, tnq00, tnq10, Nektar::LibUtilities::Tri, tw00, tw10, and wsp.
Referenced by Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::LaunchIProductWRTPhysTraceND().
|
static |
One named face of one three-dimensional element group: turn the face id into a direction and a position, then integrate and lift.
The single-trace entry point, used when the solver drives one trace at a time rather than the whole boundary. in and tjac already point at that face's block, so the position within the direction is expressed only through the [fac, nface) window handed to the glue kernels. The face to (direction, position) map is 4->(0,0), 2->(0,1), 1->(1,0), 3->(1,1), 0->(2,0) and, for the hexahedron alone, 5->(2,1); a tetrahedron instead has 3->(0,0), 2->(0,1), 1->(1,0), 0->(2,0), which is what the SHAPE_TYPE test inside case 3 selects.
out as the APPEND gate left it: untouched under APPEND == true, zeroed under APPEND == false. The two-dimensional twin raises a fatal error in the same position.SHAPE_TYPE here is the shape the block operator names when it calls, and it names the parent shape: a NodalTet arrives as Tet and a NodalPrism as Prism, so both take the right arm. That is the opposite of the bulk kernel, which is instantiated on the true shape; see the file note.APPEND == true, so nothing is zeroed here and the caller must zero the volume field before applying its first trace.nbasis row stride: the lift kernels take that separately, from ShapeTypeNumTraceInDir, so the general (non-endPtsCollocated) arm reads the table at the direction's trace count either way.| SHAPE_TYPE | Hex, Prism, Pyr or Tet; the block operator maps the nodal shapes onto these. |
| DEFORMED | Trace Jacobian varies point by point. |
| APPEND | Accumulate onto out instead of zeroing it first. |
| simd_type | SIMD vector type carrying one element per lane. |
| face | Nektar face id of the trace to apply. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nbasis0,nbasis1,nbasis2 | eInterp tables \(h_p(\pm 1)\) per direction. |
| tnq00,tnq01 | Trace quadrature points of an \(N_0\) face. |
| tnq10,tnq11 | Trace quadrature points of an \(N_1\) face. |
| tnq20,tnq21 | Trace quadrature points of an \(N_2\) face. |
| tbasis00,tbasis01,tbasis10,tbasis11,tbasis20,tbasis21 | eInterp tables to the trace points, per normal direction and tangential direction. |
| tw00,tw01,tw10,tw11,tw20,tw21 | Trace quadrature weights in the same order. |
| tjac | Trace Jacobian of this element group, already offset to this face. |
| wsp | Trace-mode workspace of one face. |
| wsp1 | Scratch for the fully general face contraction. |
| in | Packed trace values, already offset to this face. |
| out | Volume field of this element group. |
| isCollocated00,isCollocated01 | Tangential collocation flags of the direction-0 faces. |
| isCollocated10,isCollocated11 | The same for direction 1. |
| isCollocated20,isCollocated21 | The same for direction 2. |
| endPtsCollocated0,endPtsCollocated1,endPtsCollocated2 | Volume rule of that direction contains the domain endpoints. |
Definition at line 1446 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References endPtsCollocated0, in, nbasis0, nbasis1, nbasis2, nm0, nm1, nm2, out, Nektar::LibUtilities::ShapeTypeNumTraceInDir, tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21, Nektar::LibUtilities::Tet, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21, tw00, tw01, tw10, tw11, tw20, tw21, and wsp.
Referenced by Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::LaunchIProductWRTPhysTraceND().
|
static |
Launcher for one element group of segments.
The one-dimensional arm of the overload set OperatorND() calls; the higher-dimensional arms follow below, and overload resolution picks between them by the number of arguments the index sequences expand to. A segment's traces are points carrying no surface measure, so it takes no tangential table, no weight, no workspace and no tangential collocation flag, and the trace Jacobian it is handed is null and unread.
| SHAPE_TYPE | Seg; unread, the path being the same for every one-dimensional expansion. |
| DEFORMED | Unread: a segment trace carries no Jacobian. |
| APPEND | Accumulate onto the volume field instead of zeroing it first. |
Definition at line 1624 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References endPtsCollocated0, in, nbasis0, and out.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyGroupsImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), and Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
All edges of one two-dimensional element group: optionally zero the volume field, then walk the packed traces.
The bulk entry point. It applies the direction-0 pair first, then advances in by the pair's 2 * tnq00 values and tjac by the same number of points when deformed or by two trace slots when regular, and applies the direction-1 traces: a pair, or a single edge when SHAPE_TYPE is exactly Tri, whose direction-1 upper end is the collapsed vertex. Quadrilateral and triangle run the identical leaf kernels; the hypotenuse is simply the \(\eta_0 = +1\) line of the collapsed square and its edge Jacobian carries the physical metric of the slant.
The endPtsCollocated flags are runtime booleans, so each call site is written out twice to instantiate both arms of the leaf template.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| DEFORMED | Trace Jacobian varies point by point. |
| APPEND | Accumulate onto out instead of zeroing it first. |
| simd_type | SIMD vector type carrying one element per lane. |
| sizeParam2D | Volume and trace point counts of the shape. |
| nbasis0,nbasis1 | eInterp tables \(h_p(\pm 1)\) per direction. |
| tbasis0,tbasis1 | eInterp tables to the trace points, per direction. |
| tw00,tw10 | Trace quadrature weights per direction. |
| tjac | Trace Jacobian of this element group. |
| wsp | Trace-mode scratch, 2 * max(nm0,nm1) entries. |
| in | Packed trace values of this element group. |
| out | Volume field of this element group. |
| isCollocated0 | Direction-0 trace points coincide with the volume points. |
| isCollocated1 | Direction-1 trace points coincide with the volume points. |
| endPtsCollocated0 | Direction-0 volume rule contains the domain endpoints. |
| endPtsCollocated1 | Direction-1 volume rule contains the domain endpoints. |
Definition at line 1689 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References endPtsCollocated0, in, nbasis0, nbasis1, nm0, nm1, out, Nektar::LibUtilities::ShapeTypeNumTraceInDir, tbasis0, tbasis1, tnq00, tnq10, tw00, tw10, and wsp.
|
static |
All faces of one three-dimensional element group: optionally zero the volume field, then walk the packed traces a pair at a time.
The bulk entry point, and on this execution space the only one for three dimensions: every shape reaches it, including the nodal ones. It applies the direction-0 pair first, then advances in by that pair's 2 * tnq00 * tnq01 values and tjac by the same count when deformed or by two trace slots when regular, and repeats for direction 1 and direction 2. Which of those carry a pair and which a single trace is what the two if constexpr tests decide: a tetrahedron has one direction-1 face, and everything but a hexahedron has one direction-2 face.
Because the pairs are applied together, wsp holds two faces' worth of trace modes, which is how the block operator sizes it.
The endPtsCollocated flags are runtime booleans, so each call site is written out twice to instantiate both arms of the leaf template.
| SHAPE_TYPE | Hex, Prism, NodalPrism, Pyr, NodalPyr, Tet or NodalTet. |
| DEFORMED | Trace Jacobian varies point by point. |
| APPEND | Accumulate onto out instead of zeroing it first. |
| simd_type | SIMD vector type carrying one element per lane. |
| sizeParam3D | Volume and trace point counts of the shape. |
| nbasis0,nbasis1,nbasis2 | eInterp tables \(h_p(\pm 1)\) per direction. |
| tbasis00,tbasis01,tbasis10,tbasis11,tbasis20,tbasis21 | eInterp tables to the trace points, per normal direction and tangential direction. |
| tw00,tw01,tw10,tw11,tw20,tw21 | Trace quadrature weights in the same order. |
| tjac | Trace Jacobian of this element group. |
| wsp | Trace-mode workspace, two faces' worth. |
| wsp1 | Scratch for the fully general face contraction. |
| in | Packed trace values of this element group. |
| out | Volume field of this element group. |
| isCollocated00,isCollocated01 | Tangential collocation flags of the direction-0 faces. |
| isCollocated10,isCollocated11 | The same for direction 1. |
| isCollocated20,isCollocated21 | The same for direction 2. |
| endPtsCollocated0,endPtsCollocated1,endPtsCollocated2 | Volume rule of that direction contains the domain endpoints. |
Definition at line 1801 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References endPtsCollocated0, in, nbasis0, nbasis1, nbasis2, nm0, nm1, nm2, out, Nektar::LibUtilities::ShapeTypeNumTraceInDir, tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21, tw00, tw01, tw10, tw11, tw20, tw21, and wsp.
|
static |
Leaf kernel, stage one in two dimensions: integrate an edge, or a pair of edges, against the hat functions of the in-edge direction.
For every edge in [edg, nedge) and every volume point q of the in-edge direction this forms \(F_q = \sum_i w_i\, h_q(\xi^{tr}_i)\, J\, \hat f_i\) over the tnq trace quadrature points. Under isCollocated the trace points are the volume points, the table is the identity and the contraction degenerates to a pointwise multiply by the weight and the Jacobian; the debug assertion states the precondition that makes that legal.
out is the caller's trace-mode workspace, not the volume field: it receives nm entries per edge, edge-major, starting at zero, and both arms write it rather than accumulate onto it. For regular geometry the Jacobian slot is e - edg, that is relative to the first edge of this call, the caller having already offset tjac to the right trace.
| DEFORMED | Trace Jacobian varies point by point. |
| simd_type | SIMD vector type carrying one element per lane. |
| edg | Position of the first edge within its direction. |
| nedge | One past the position of the last edge. |
| nm | Volume quadrature points of the in-edge direction, hence entries produced per edge. |
| tnq | Trace quadrature points of the edge. |
| tbasis | eInterp table \(h_q(\xi^{tr}_i)\), indexed tbasis[q * tnq + i]. |
| tw | Trace quadrature weights. |
| tjac | Trace Jacobian of this element group. |
| in | Packed trace values of the edges covered. |
| out | Trace-mode workspace. |
| isCollocated | Trace points coincide with the volume points. |
Definition at line 288 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Leaf kernel, stage one in three dimensions: integrate a face, or a pair of faces, against the hat functions of the two in-face directions.
For every face in [fac, nface) it forms
\[ F_{pq} = \sum_j w_j\, h_q(\xi^{tr}_j) \sum_i w_i\, h_p(\xi^{tr}_i)\, J(\xi^{tr}_i, \xi^{tr}_j)\, \hat f(\xi^{tr}_i, \xi^{tr}_j), \]
writing nm0 * nm1 entries per face at q * nm0 + p, face-major, into the caller's trace-mode workspace out.
Four arms cover the collocation cases: both directions collocated is a pointwise multiply by the two weights and the Jacobian; one direction collocated contracts the other only and scales by the collocated direction's weight; neither collocated runs the two contractions in sequence through wsp, which is why the caller must keep wsp and out distinct. The debug assertions state the preconditions the collocated arms rely on.
nm0 and nm1 are the in-face counts the glue level supplies, (nm1,nm2) for an \(N_0\) face, (nm0,nm2) for \(N_1\) and (nm0,nm1) for \(N_2\), not the element's direction-0 and direction-1 counts.| DEFORMED | Trace Jacobian varies point by point. |
| simd_type | SIMD vector type carrying one element per lane. |
| fac | Position of the first face within its direction. |
| nface | One past the position of the last face. |
| nm0,nm1 | Volume quadrature points of the two in-face directions, hence entries produced per face. |
| tnq0,tnq1 | Trace quadrature points of the two in-face directions. |
| tbasis0 | eInterp table to the trace points of the first in-face direction, tbasis0[p * tnq0 + i]. |
| tbasis1 | The same for the second in-face direction. |
| tw0,tw1 | Trace quadrature weights per in-face direction. |
| tjac | Trace Jacobian of this element group. |
| wsp | Scratch for the fully general arm, nm0 * tnq1 entries. |
| in | Packed trace values of the faces covered. |
| out | Trace-mode workspace. |
| isCollocated0 | First in-face direction is collocated. |
| isCollocated1 | Second in-face direction is collocated. |
Definition at line 1050 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References ASSERTL1, in, nm0, nm1, out, tbasis0, tbasis1, tw0, tw1, and wsp.
|
static |
One edge group of a term of the two-dimensional operator, accumulated into out.
EDGE_NORMAL_DIR names the group: the element coordinate direction its edges are normal to. The tables handed in are already those of the term being evaluated, so this only routes the group through the volume workspace when it carries the collapsed factor.
| useD1 | The group carries \(2/(1 - \eta_1)\) and is accumulated through volwsp. A run-time flag so that one group body per size serves every direction term. |
| nm0,nm1 | Volume quadrature points per direction. |
| tnq00,tnq10 | Trace quadrature points of the direction-0 and direction-1 edges; only the one matching EDGE_NORMAL_DIR is read. |
| nbasis | eInterp table of this term's normal direction, already the derivative table when this group is the derivative term. |
| tbasis | eInterp table to this group's trace points. |
| tw | Trace quadrature weights of this group's direction. |
| twoOver1 | \(2/(1 - \eta_1)\) at the element's own points; unread unless useD1. |
| jac | This term's component of the factor array for the element group. |
| in | Packed trace values of this element group. |
| wsp | Trace-mode scratch for the underlying edge kernel. |
| volwsp | Volume-sized scratch that receives the group before scaling; written and read only when useD1. |
| out | Accumulates the group's contribution. |
| isCollocated | Trace points of this group's tangential direction coincide with the volume points; forwarded to the underlying edge kernel. |
| endPtsCollocated | Volume rule of this group's normal direction contains the domain endpoints; selects the endpoint-collocated arm of the underlying edge kernel. |
Definition at line 216 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, joff1, nedgeN1, nm0, nm1, numDataOut, off1, out, ScaleAddCollapsedFacKernel(), Nektar::LibUtilities::ShapeTypeNumTraceInDir, tnq00, tnq10, twoOver1, and wsp.
|
static |
One face group of a term of the three-dimensional operator, accumulated into out.
FACE_NORMAL_DIR names the group: the element coordinate direction its faces are normal to. The groups are evaluated apart so each can drop the collapsed factors it does not need. Where a factor is wanted the group goes into volwsp first and is scaled there, on the element's own points, because the factor is singular at the collapsed apex, a quadrature point of the trace but never of the element.
| useD1,useD2 | The group carries \(2/(1 - \eta_1)\), \(2/(1 - \eta_2)\). Run-time flags so that one group body per size serves every direction term. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| tnq00,tnq01 | Trace quadrature points of the direction-0 face; only the pair matching FACE_NORMAL_DIR is read. |
| tnq10,tnq11 | Trace quadrature points of the direction-1 face. |
| tnq20,tnq21 | Trace quadrature points of the direction-2 face. |
| nbasis | eInterp table of this term's normal direction, already the derivative table when this group is the derivative term. |
| tbasisA,tbasisB | eInterp tables to this group's trace points, one per tangential direction. |
| twA,twB | Trace quadrature weights of this group's tangential directions. |
| twoOver1,twoOver2 | \(2/(1 - \eta_1)\), \(2/(1 - \eta_2)\) at the element's own points; unread unless the matching flag is set. |
| jac | This term's component of the factor array for the element group. |
| in | Packed trace values of this element group. |
| wsp0,wsp1 | Trace-mode scratch, forwarded to the underlying face kernel. |
| volwsp | Volume-sized scratch that receives the group before scaling; written and read only when useD1 or useD2. |
| out | Accumulates the group's contribution. |
| isCollocatedA,isCollocatedB | Trace points of this group's tangential directions coincide with the volume points; forwarded to the underlying face kernel. |
| endPtsCollocated | Volume rule of this group's normal direction contains the domain endpoints; selects the endpoint-collocated arm of the underlying face kernel. |
Definition at line 422 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, joff1, nfaceN1, nfaceN2, nm0, nm1, nm2, numDataOut, off1, out, ScaleAddCollapsedFacKernel(), Nektar::LibUtilities::ShapeTypeNumTraceInDir, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21, twoOver1, and twoOver2.
|
static |
Term derivDir of the two-dimensional operator: the trace inner product taken with the direction derivDir table replaced by its derivative.
The edge groups are evaluated apart so the group normal to the collapsed direction can drop its factor. A collapsed direction has exactly one trace and it always sits at \(\eta_1 = -1\), where \(2/(1 - \eta_1)\) is one, so group 1 never scales. Splitting rather than scaling the combined result means this does not rely on that edge depositing on the \(\eta_1 = -1\) row, so the element is free to carry a direction 1 quadrature with no end point, and the trace any quadrature at all.
| derivDir | Element direction whose table is the derivative. |
| nm0,nm1 | Volume quadrature points per direction. |
| tnq00,tnq10 | Trace quadrature points of the direction-0 and direction-1 edges. |
| nbasis0,nbasis1 | eInterp tables \(h_p(\pm 1)\) per direction. |
| dnbasis0,dnbasis1 | Derivatives of nbasis0, nbasis1. |
| tbasis0,tbasis1 | eInterp tables to the trace points, per direction. |
| dtbasis0,dtbasis1 | Derivatives of tbasis0, tbasis1. |
| tw0,tw1 | Trace quadrature weights per direction. |
| twoOver1 | \(2/(1 - \eta_1)\) at the element's own points; unread unless direction 1 is collapsed and is not derivDir. |
| jac | This term's component of the factor array for the element group. |
| in | Packed trace values of this element group. |
| wsp | Trace-mode scratch, forwarded to the edge groups. |
| volwsp | Volume-sized scratch, forwarded to the edge groups. |
| out | Accumulates the term's contribution. |
| traceDir0,traceDir1 | Element direction each trace slot runs along. |
| append | Accumulate onto out instead of zeroing it first. |
| isCollocated0,isCollocated1 | Trace points of the direction-0 and direction-1 edges coincide with the volume points. |
| endPtsCollocated0,endPtsCollocated1 | Volume rule of direction 0 and direction 1 contains the domain endpoints. |
Definition at line 327 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References append, CompNeedsCollapsedFac(), dnbasis0, dnbasis1, dtbasis0, dtbasis1, endPtsCollocated0, in, jac, nbasis0, nbasis1, nm0, nm1, out, tbasis0, tbasis1, tnq00, tnq10, traceDir0, traceDir1, tw0, tw1, twoOver1, and wsp.
|
static |
Term derivDir of the three-dimensional operator: the trace inner product taken with the direction derivDir table replaced by its derivative.
A face group normal to a collapsed direction sits at \(\eta = -1\), where that direction's factor is one, so group k drops the direction k factor. That is a property of the shape, not of the quadrature, so it does not lean on the end points being collocated. With no collapsed direction nothing is scaled and this is the plain trace lift written out one group at a time.
| derivDir | Element direction whose table is the derivative. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| tnq00,tnq01 | Trace quadrature points of the direction-0 face. |
| tnq10,tnq11 | Trace quadrature points of the direction-1 face. |
| tnq20,tnq21 | Trace quadrature points of the direction-2 face. |
| nbasis0,nbasis1,nbasis2 | eInterp tables \(h_p(\pm 1)\) per direction. |
| dnbasis0,dnbasis1,dnbasis2 | Derivatives of nbasis0, nbasis1, nbasis2. |
| tbasis00,tbasis01,tbasis10,tbasis11,tbasis20,tbasis21 | eInterp tables to the trace points, per normal direction and tangential direction. |
| dtbasis00,dtbasis01,dtbasis10,dtbasis11,dtbasis20,dtbasis21 | Derivatives of tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21. |
| tw00,tw01,tw10,tw11,tw20,tw21 | Trace quadrature weights in the same order as tbasis00 to tbasis21. |
| twoOver1,twoOver2 | \(2/(1 - \eta_1)\), \(2/(1 - \eta_2)\) at the element's own points; unread on a direction the shape does not collapse. |
| jac | This term's component of the factor array for the element group. |
| in | Packed trace values of this element group. |
| wsp0 | Trace-mode workspace, two faces' worth. |
| wsp1 | Scratch for the fully general face contraction. |
| volwsp | Volume-sized scratch for the collapsed factor scaling; unread on a hexahedron. |
| out | Accumulates the term's contribution. |
| traceDir00,traceDir01,traceDir10,traceDir11,traceDir20,traceDir21 | Element direction each trace slot runs along. |
| append | Accumulate onto out instead of zeroing it first. |
| isCollocated00,isCollocated01 | Trace points of the direction-0 face's tangential directions coincide with the volume points. |
| isCollocated10,isCollocated11 | The same for direction 1. |
| isCollocated20,isCollocated21 | The same for direction 2. |
| endPtsCollocated0,endPtsCollocated1,endPtsCollocated2 | Volume rule of each direction contains the domain endpoints. |
Definition at line 576 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
References append, CompNeedsCollapsedFac(), dnbasis0, dnbasis1, dnbasis2, dtbasis00, dtbasis01, dtbasis10, dtbasis11, dtbasis20, dtbasis21, endPtsCollocated0, in, jac, nbasis0, nbasis1, nbasis2, nm0, nm1, nm2, out, tbasis00, tbasis01, tbasis10, tbasis11, tbasis20, tbasis21, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21, traceDir00, traceDir01, traceDir10, traceDir11, traceDir20, traceDir21, tw00, tw01, tw10, tw11, tw20, tw21, twoOver1, and twoOver2.
|
static |
Glue for a direction-0 normal edge: integrate, then lift.
Routes the direction's tables and counts into the two leaf stages. The in-edge direction of a direction-0 normal is direction 1, so the integration produces nm1 entries per edge into wsp, which the lift then spreads along direction 0.
| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints. |
| DEFORMED | Trace Jacobian varies point by point. |
| simd_type | SIMD vector type carrying one element per lane. |
| edg | Position of the first edge within direction 0. |
| nedge | One past the position of the last edge. |
| tstride | Row stride of nbasis, that is the number of traces direction 0 has. |
| nm0 | Volume quadrature points in direction 0. |
| nm1 | Volume quadrature points in direction 1. |
| nbasis | eInterp table \(h_i(\pm 1)\) of direction 0. |
| tnq | Trace quadrature points of the edge. |
| tbasis | eInterp table to the trace points of direction 0. |
| tw | Trace quadrature weights of direction 0. |
| tjac | Trace Jacobian of this element group. |
| wsp | Trace-mode scratch, at least nm1 entries per edge covered. |
| in | Packed trace values of the edges covered. |
| out | Volume field of this element group, accumulated onto. |
| isCollocated | Trace points coincide with the volume points. |
Definition at line 513 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Glue for a direction-1 normal edge: integrate, then lift.
The twin of IPWRTPhysTraceEdgeN0Kernel one direction over. The in-edge direction is now direction 0, so the integration produces nm0 entries per edge into wsp and the lift spreads them along direction 1.
| END_PTS_COLLOCATED0 | Direction-1 volume rule contains the domain endpoints, despite the name. |
| DEFORMED | Trace Jacobian varies point by point. |
| simd_type | SIMD vector type carrying one element per lane. |
| edg | Position of the first edge within direction 1. |
| nedge | One past the position of the last edge. |
| tstride | Row stride of nbasis, that is the number of traces direction 1 has. |
| nm0 | Volume quadrature points in direction 0. |
| nm1 | Volume quadrature points in direction 1. |
| nbasis | eInterp table \(h_q(\pm 1)\) of direction 1. |
| tnq | Trace quadrature points of the edge. |
| tbasis | eInterp table to the trace points of direction 1. |
| tw | Trace quadrature weights of direction 1. |
| tjac | Trace Jacobian of this element group. |
| wsp | Trace-mode scratch, at least nm0 entries per edge covered. |
| in | Packed trace values of the edges covered. |
| out | Volume field of this element group, accumulated onto. |
| isCollocated | Trace points coincide with the volume points. |
Definition at line 560 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Glue for a direction-0 normal face: integrate, then lift.
Routes the direction's tables and counts into the two leaf stages. The in-face directions of an \(N_0\) face are 1 and 2, so the face integration is asked for (nm1, nm2) entries per face and the lift spreads them along direction 0. Note the workspace swap: wsp1 is handed to the integration as its scratch and wsp receives the trace-mode result.
| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints. |
| DEFORMED | Trace Jacobian varies point by point. |
| simd_type | SIMD vector type carrying one element per lane. |
| fac | Position of the first face within direction 0. |
| nface | One past the position of the last face. |
| tstride | Row stride of nbasis, that is the number of traces direction 0 has. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nbasis | eInterp table \(h_p(\pm 1)\) of direction 0. |
| tnq0,tnq1 | Trace quadrature points of the two in-face directions. |
| tbasis0,tbasis1 | eInterp tables to those trace points. |
| tw0,tw1 | Trace quadrature weights of the in-face directions. |
| tjac | Trace Jacobian of this element group. |
| wsp | Trace-mode workspace, nm1 * nm2 entries per face covered. |
| wsp1 | Scratch for the fully general face contraction. |
| in | Packed trace values of the faces covered. |
| out | Volume field of this element group, accumulated onto. |
| isCollocated0 | First in-face direction is collocated. |
| isCollocated1 | Second in-face direction is collocated. |
Definition at line 1255 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References in, nm0, nm1, nm2, out, tbasis0, tbasis1, tw0, tw1, and wsp.
|
static |
Glue for a direction-1 normal face: integrate, then lift.
The in-face directions of an \(N_1\) face are 0 and 2, so the face integration is asked for (nm0, nm2) entries per face and the lift spreads them along direction 1.
| END_PTS_COLLOCATED1 | Direction-1 volume rule contains the domain endpoints. |
| DEFORMED | Trace Jacobian varies point by point. |
| simd_type | SIMD vector type carrying one element per lane. |
| fac | Position of the first face within direction 1. |
| nface | One past the position of the last face. |
| tstride | Row stride of nbasis, that is the number of traces direction 1 has. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nbasis | eInterp table \(h_q(\pm 1)\) of direction 1. |
| tnq0,tnq1 | Trace quadrature points of the two in-face directions. |
| tbasis0,tbasis1 | eInterp tables to those trace points. |
| tw0,tw1 | Trace quadrature weights of the in-face directions. |
| tjac | Trace Jacobian of this element group. |
| wsp | Trace-mode workspace, nm0 * nm2 entries per face covered. |
| wsp1 | Scratch for the fully general face contraction. |
| in | Packed trace values of the faces covered. |
| out | Volume field of this element group, accumulated onto. |
| isCollocated0 | First in-face direction is collocated. |
| isCollocated1 | Second in-face direction is collocated. |
Definition at line 1307 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References in, nm0, nm1, nm2, out, tbasis0, tbasis1, tw0, tw1, and wsp.
|
static |
Glue for a direction-2 normal face: integrate, then lift.
The in-face directions of an \(N_2\) face are 0 and 1, so the face integration is asked for (nm0, nm1) entries per face and the lift spreads them along direction 2.
| END_PTS_COLLOCATED2 | Direction-2 volume rule contains the domain endpoints. |
| DEFORMED | Trace Jacobian varies point by point. |
| simd_type | SIMD vector type carrying one element per lane. |
| fac | Position of the first face within direction 2. |
| nface | One past the position of the last face. |
| tstride | Row stride of nbasis, that is the number of traces direction 2 has. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nbasis | eInterp table \(h_r(\pm 1)\) of direction 2. |
| tnq0,tnq1 | Trace quadrature points of the two in-face directions. |
| tbasis0,tbasis1 | eInterp tables to those trace points. |
| tw0,tw1 | Trace quadrature weights of the in-face directions. |
| tjac | Trace Jacobian of this element group. |
| wsp | Trace-mode workspace, nm0 * nm1 entries per face covered. |
| wsp1 | Scratch for the fully general face contraction. |
| in | Packed trace values of the faces covered. |
| out | Volume field of this element group, accumulated onto. |
| isCollocated0 | First in-face direction is collocated. |
| isCollocated1 | Second in-face direction is collocated. |
Definition at line 1359 of file IProductWRTPhysTraceBlockOpSerialAVXSumFacKernels.hpp.
References in, nm0, nm1, nm2, out, tbasis0, tbasis1, tw0, tw1, and wsp.
|
constexpr |
Directions in which a shape is collapsed: those whose chain rule from the element local coordinate to the collapsed one carries a \(2/(1 - \eta)\) factor. Direction 0 is never collapsed.
The collapsed directions always use a Gauss-Radau distribution that excludes \(\eta = +1\), so \(2/(1 - \eta)\) is finite at the element's own points. It is not finite at the trace's points, which is why the factor is applied to the volume result rather than folded into the trace data.
Definition at line 64 of file IProductWRTPhysNormalDerivTraceBlockOp.hpp.
References Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::NodalTri, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, Nektar::LibUtilities::Tet, and Nektar::LibUtilities::Tri.
Referenced by CompNeedsCollapsedFac(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::IProductWRTPhysNormalDerivTraceBlockOpImpl(), IProductWRTPhysNormalDerivTraceWorkSpaceSize(), and IProductWRTPhysNormalDerivTraceWorkSpaceSize().
|
inline |
Whether the expression kernel can be compiled for an expression using variables and calling functions (see ExpressionBlockOp::GetExpressionVariables() and ExpressionBlockOp::GetExpressionFunctions()).
The expression is pasted into the kernel source, so a function only the host interpreter defines, or a coordinate beyond the coordDim the kernel declares, would fail to compile.
Definition at line 376 of file ExpressionBlockOpDeviceGenericHelper.hpp.
Referenced by Nektar::MultiRegions::detail::ExpressionBlockOpImpl< ExecSpace, Implementation, TData >::v_IsAvailable().
|
static |
Multiply the input vector by the derivative factors and the Jacobian, without the quadrature weights (Coeff output path).
| ExecSpace | Execution space of the calling implementation (Serial or AVX); unused in the body. |
| DEFORMED | True when the geometric factors vary within an element. |
| TData | SIMD vector type of one interleaved element group. |
| nqTot | Quadrature points per element. |
| ncoord | Coordinate dimension: number of input components read. |
| dimension | Reference dimension: number of output fields written. |
| nelmt | Element groups processed by this call (the block implementation passes 1). |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| outsize | Stride, in vectors, between the output fields of successive reference directions. |
| jacptr | Jacobians of the group. |
| dfptr | Derivative factors of the group. |
| inptr | Input vector \({\bf f}\); component k starts at inptr + k * inoffset. |
| outptr | Receives the dimension fields \(g_d\), field d starting at outptr + d * outsize. |
| scale | Factor applied to every value written. |
Definition at line 100 of file IProductWRTDerivBaseBlockOpSerialAVXStdMatKernels.hpp.
|
static |
Multiply the input vector by the derivative factors, the Jacobian and the quadrature weights (Phys output path).
Identical to JacobianDerivFactorKernel except that each value is additionally weighted by weights, the element's quadrature weight at that point. The Phys path needs this because its standard-region matrix (ePhysDerivStdMat) carries no weights.
| ExecSpace | Execution space of the calling implementation (Serial or AVX); unused in the body. |
| DEFORMED | True when the geometric factors vary within an element. |
| TData | SIMD vector type of one interleaved element group. |
| nqTot | Quadrature points per element. |
| ncoord | Coordinate dimension: number of input components read. |
| dimension | Reference dimension: number of output fields written. |
| nelmt | Element groups processed by this call. |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| outsize | Stride, in vectors, between the output fields of successive reference directions. |
| jacptr | Jacobians of the group. |
| dfptr | Derivative factors of the group. |
| weights | Quadrature weight per point of the element. |
| inptr | Input vector \({\bf f}\). |
| outptr | Receives the dimension weighted fields. |
| scale | Factor applied to every value written. |
Definition at line 187 of file IProductWRTDerivBaseBlockOpSerialAVXStdMatKernels.hpp.
|
static |
1D launcher stringing together the five sum-factorised stages for one element group.
Definition at line 1832 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor1DKernel().
Referenced by Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
2D launcher stringing together the five sum-factorised stages for one element group.
Definition at line 1875 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor2DKernel().
|
static |
3D launcher stringing together the five sum-factorised stages for one element group.
Definition at line 1924 of file LaplacianBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor3DKernel().
| void Nektar::MultiRegions::detail::LaunchExpressionKernel | ( | const ExpressionKernels & | kernels, |
| const ExpressionKernelIndex | index, | ||
| const ExpressionKernelArgs< TData > & | kernelArgs, | ||
| const unsigned int | gridSize, | ||
| const unsigned int | blockSize, | ||
| const unsigned int | streamID | ||
| ) |
Launch a variant of the compiled kernels on the block's stream.
Launch a variant of the compiled kernels on the block's queue.
| TData | Floating-point type of the field data. |
| kernels | Compiled kernels. |
| index | Variant to launch. |
| kernelArgs | Launch arguments. |
| gridSize | Number of thread blocks. |
| blockSize | Threads per block. |
| streamID | Stream index of the block. |
| TData | Floating-point type of the field data. |
| kernels | Compiled kernels. |
| index | Variant to launch. |
| kernelArgs | Launch arguments. |
| gridSize | Number of work-groups. |
| blockSize | Work-items per work-group. |
| streamID | Stream index of the block. |
Definition at line 357 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
References EnqueueExpressionKernel().
Referenced by Nektar::MultiRegions::detail::ExpressionBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply().
|
static |
Apply the whole operator to one element group of a 1D block.
Unpacks the size parameter – runtime or compile-time, both satisfying IsSizeParameter1D_v as the static_assert enforces – and runs the six stages on the group:
bwd;deriv0;bwd with \(\mathbf{V}\cdot\nabla u + \lambda u\), applying the chain rule to the reference derivative as it goes;deriv0 by the diffusion flux pulled back to the reference direction and applies the quadrature weights and the Jacobian to it and to bwd, with a unit coefficient since the reaction term is already in bwd; the tensor is read directly from the coefficient pointer using its component stride;bwd, which then holds the whole integrand;| SHAPE_TYPE | Element shape (segments only). |
| DEFORMED | Jacobian and derivative factors vary point by point. |
| TSizeParameter1D | 1D size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam1D | Element sizes: modes and quadrature points. |
| isModified | First-direction basis is eModified_A. |
| ncoord | Coordinate dimension. |
| diffCoeff | Constant diffusivity tensor (see LinAdvDiffReactionOp::SetDiffCoeff). |
| varDiffCoeff | Variable diffusivity tensor (VARCOEFF). |
| useDiffCoeff | False for the constant identity tensor. |
| varDiffCoeffSize | Stride between tensor components in SIMD vectors. |
| basis0 | 1D basis table. |
| D0 | 1D collocation derivative matrix. |
| w0 | 1D quadrature weights. |
| NtoM | Nodal-to-modal matrix; unused for segments. |
| NtoMTrans | Its transpose; unused for segments. |
| jac | Jacobians of the group. |
| df | Derivative factors of the group. |
| advVel0_ptr | Velocity component 0 of the group. |
| advVel1_ptr | Velocity component 1; read for embedded segments. |
| advVel2_ptr | Velocity component 2; read for embedded segments. |
| deriv0 | Quadrature-space buffer for the derivative and then the flux. |
| bwd | Quadrature-space buffer for \(u\) and then the integrand. |
| in | Coefficients of the group. |
| out | Output coefficients of the group, overwritten. |
| lambda | Reaction coefficient. |
Definition at line 560 of file LinAdvDiffReactionBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor1DKernel().
Referenced by Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
Apply the whole operator to one element group of a 2D block (quadrilaterals and modal or nodal triangles).
As the 1D overload, with the two-dimensional stages: the backward transform and the inner product use the workspace wsp0 and, for NodalTri, convert from and back to the nodal coefficients through NtoM and NtoMTrans; PhysDerivTensor2DKernel leaves the two reference derivatives – still in collapsed coordinates for triangles – in deriv0 and deriv1; AddAdvection2DKernel and DiffusionCoeffwithWJ2DKernel each complete the collapsed-coordinate chain rule with f0 and f1 before applying the derivative factors; SumDerivTensor2DKernel sums both flux components onto bwd.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| DEFORMED | Jacobian and derivative factors vary point by point. |
| TSizeParameter2D | 2D size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam2D | Element sizes: modes and quadrature points per direction. |
| isModified | First-direction basis is eModified_A. |
| ncoord | Coordinate dimension (2, or 3 for a surface element embedded in three dimensions). |
| diffCoeff | Constant diffusivity tensor. |
| varDiffCoeff | Variable diffusivity tensor (VARCOEFF). |
| useDiffCoeff | False for the constant identity tensor. |
| varDiffCoeffSize | Stride between tensor components in SIMD vectors. |
| basis0,basis1 | 1D basis tables. |
| D0,D1 | 1D collocation derivative matrices. |
| w0,w1 | 1D quadrature weights. |
| f0 | Collapsed-coordinate factor \((1+\eta_0)/2\), per direction-0 point; triangles only. |
| f1 | Collapsed-coordinate factor \(2/(1-\eta_1)\), per direction-1 point; triangles only. |
| NtoM | Nodal-to-modal matrix; NodalTri only. |
| NtoMTrans | Its transpose; NodalTri only. |
| jac | Jacobians of the group. |
| df | Derivative factors of the group. |
| advVel0_ptr,advVel1_ptr | Velocity components 0 and 1. |
| advVel2_ptr | Velocity component 2; read when ncoord == 3. |
| wsp0 | Shape-kernel workspace. |
| deriv0,deriv1 | Quadrature-space buffers for the derivatives and then the flux. |
| bwd | Quadrature-space buffer for \(u\) and then the integrand. |
| in | Coefficients of the group. |
| out | Output coefficients of the group, overwritten. |
| lambda | Reaction coefficient. |
Definition at line 658 of file LinAdvDiffReactionBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor2DKernel().
|
static |
Apply the whole operator to one element group of a 3D block (hexahedra, modal or nodal tetrahedra and prisms, and pyramids).
The three-dimensional counterpart of the 2D overload: three workspaces, three derivative buffers and the four collapsed-coordinate factor tables, which AddAdvection3DKernel and DiffusionCoeffwithWJ3DKernel use according to the shape. The coordinate dimension is accepted but not used – a three-dimensional element has coordinate dimension three.
| SHAPE_TYPE | Hex, Tet, NodalTet, Prism, NodalPrism, Pyr or NodalPyr. |
| DEFORMED | Jacobian and derivative factors vary point by point. |
| TSizeParameter3D | 3D size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam3D | Element sizes: modes and quadrature points per direction. |
| isModified | First-direction basis is eModified_A. |
| ncoord | Coordinate dimension; unused. |
| diffCoeff | Constant diffusivity tensor. |
| varDiffCoeff | Variable diffusivity tensor (VARCOEFF). |
| useDiffCoeff | False for the constant identity tensor. |
| varDiffCoeffSize | Stride between tensor components in SIMD vectors. |
| basis0,basis1,basis2 | 1D basis tables. |
| D0,D1,D2 | 1D collocation derivative matrices. |
| w0,w1,w2 | 1D quadrature weights. |
| f0 | \((1+\eta_0)/2\), per direction-0 point. |
| f1 | \((1+\eta_1)/2\), per direction-1 point. |
| f1m | \(2/(1-\eta_1)\), per direction-1 point. |
| f2 | \(2/(1-\eta_2)\), per direction-2 point. |
| NtoM | Nodal-to-modal matrix; nodal shapes only. |
| NtoMTrans | Its transpose; nodal shapes only. |
| jac | Jacobians of the group. |
| df | Derivative factors of the group. |
| advVel0_ptr,advVel1_ptr,advVel2_ptr | Velocity components. |
| wsp0,wsp1,wsp2 | Shape-kernel workspaces. |
| deriv0,deriv1,deriv2 | Quadrature-space buffers for the derivatives and then the flux. |
| bwd | Quadrature-space buffer for \(u\) and then the integrand. |
| in | Coefficients of the group. |
| out | Output coefficients of the group, overwritten. |
| lambda | Reaction coefficient. |
Definition at line 756 of file LinAdvDiffReactionBlockOpSerialAVXSumFacKernels.hpp.
References in, jac, out, and PhysDerivTensor3DKernel().
| void Nektar::MultiRegions::detail::LocalDirBndCondKernel | ( | const size_t | nsize, |
| const size_t * | id0Ptr, | ||
| const size_t * | id1Ptr, | ||
| const TData * | signPtr, | ||
| const TData * | inptr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 84 of file DirBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
|
static |
1D launcher: backward transform then inner product with the basis for one element group of segments.
| SHAPE_TYPE | Shape tag (segments only in 1D). |
| SCALE | Multiply the result by scale. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | jac holds one vector per quadrature point rather than one per element group. |
| TSizeParameter1D | 1D size parameter, templated or not. |
| simd_type | SIMD vector type; each vector holds one value of every element of the interleaved group. |
| sizeParam1D | Element sizes; nm0 and nq0 are read. |
| isModified | First-direction basis is eModified_A; unused in 1D. |
| basis0 | One-dimensional basis table, basis0[p * nq0 + i] being mode p at point i. |
| w0 | Direction-0 quadrature weights. |
| NtoM | Nodal-to-modal matrix; unused in 1D. |
| NtoMTrans | Transposed nodal-to-modal matrix; unused in 1D. |
| jac | Interleaved Jacobians of the element group. |
| bwd | Interleaved physical values of the group, written by the transform and read by the inner product. |
| in | Interleaved coefficients of the element group. |
| out | Interleaved coefficients of the element group. |
| scale | Factor applied when SCALE is set. |
Definition at line 96 of file MassBlockOpSerialAVXSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
2D launcher: backward transform then inner product with the basis for one element group of quadrilaterals or (nodal) triangles.
For NodalTri the transform maps the coefficients to the modal basis with NtoM before its tensor-product stages and the inner product maps its modal result back with NtoMTrans afterwards. For the triangles, isModified triggers the extra collapsed-vertex contribution inside the shape kernels.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| SCALE | Multiply the result by scale. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | jac holds one vector per quadrature point. |
| TSizeParameter2D | 2D size parameter, templated or not. |
| simd_type | SIMD vector type of the interleaved group. |
| sizeParam2D | Element sizes: modes and points per direction and the total mode count. |
| isModified | First-direction basis is eModified_A. |
| basis0 | Direction-0 basis table (nm0 rows of nq0). |
| basis1 | Direction-1 basis table; for the triangles indexed by the combined (p,q) mode, one row per mode. |
| w0,w1 | Quadrature weights per direction. |
| NtoM | Nodal-to-modal matrix (nodal shapes only). |
| NtoMTrans | Its transpose (nodal shapes only). |
| jac | Interleaved Jacobians of the group. |
| wsp0 | Group workspace shared by the two stages. |
| bwd | Interleaved physical values of the group, written by the transform and read by the inner product. |
| in | Interleaved coefficients of the group. |
| out | Interleaved coefficients of the group. |
| scale | Factor applied when SCALE is set. |
Definition at line 153 of file MassBlockOpSerialAVXSumFacKernels.hpp.
|
static |
3D launcher: backward transform then inner product with the basis for one element group of hexahedra, (nodal) tetrahedra, (nodal) prisms or pyramids.
The nodal mappings and the isModified corrections apply as in the 2D overload. The transform uses wsp0 and wsp1 and the inner product all three workspaces; the block implementation sizes each to the larger of the two stages' demands.
| SHAPE_TYPE | Hex, Tet, NodalTet, Prism, NodalPrism, Pyr or NodalPyr. |
| SCALE | Multiply the result by scale. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | jac holds one vector per quadrature point. |
| TSizeParameter3D | 3D size parameter, templated or not. |
| simd_type | SIMD vector type of the interleaved group. |
| sizeParam3D | Element sizes: modes and points per direction and the total mode count. |
| isModified | First-direction basis is eModified_A. |
| basis0,basis1,basis2 | Basis tables per direction; along a collapsed direction indexed by the shape's combined mode. |
| w0,w1,w2 | Quadrature weights per direction. |
| NtoM | Nodal-to-modal matrix (nodal shapes only). |
| NtoMTrans | Its transpose (nodal shapes only). |
| jac | Interleaved Jacobians of the group. |
| wsp0,wsp1 | Group workspaces of the two contraction stages, shared by transform and inner product. |
| wsp2 | Correction workspace of the inner product; prisms only. |
| bwd | Interleaved physical values of the group, written by the transform and read by the inner product. |
| in | Interleaved coefficients of the group. |
| out | Interleaved coefficients of the group. |
| scale | Factor applied when SCALE is set. |
Definition at line 217 of file MassBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Contract the standard-region derivatives of a lane group into the single Cartesian derivative dir, overwriting or accumulating.
The runtime dir argument plays the role that the DIR template parameter plays in the sum-factorised kernels: it selects the derivative-factor rows dir * dimension + d.
| ExecSpace | Execution space; unused. |
| APPEND | Accumulate onto outptr instead of overwriting. |
| DEFORMED | Derivative factors vary point by point. |
| TData | SIMD vector type of the interleaved lane group. |
| dir | Cartesian component to produce. |
| nqTot | Quadrature points per element. |
| ncoord | Cartesian components the factor array holds (coordDim); sets the per-point factor stride. |
| dimension | Standard directions to contract over. |
| nelmt | Element groups covered by this call. |
| inoffset | Stride, in SIMD vectors, between the standard-direction planes of inptr. |
| dfptr | Derivative factors of the group. |
| inptr | Standard-direction derivatives, plane d at d * inoffset. |
| outptr | Single Cartesian derivative plane. |
Definition at line 187 of file PhysDerivBlockOpSerialAVXStdMatKernels.hpp.
Referenced by Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply().
|
static |
From reference-space derivatives, form the Cartesian gradient and contract it with the advection velocity: out = scale * sum_k V_k sum_d df(k,d) du/dxi_d, evaluated per quadrature point with one element per SIMD lane.
The derivative-factor entry k * dimension + d maps the reference-direction-d derivative into the Cartesian-k gradient component. For regular geometry one factor set is stored per element group; for deformed geometry one per quadrature point.
| ExecSpace | Execution space; unused here. |
| APPEND | Accumulate onto outptr instead of overwriting it. |
| DEFORMED | Read per-point rather than per-element derivative factors. |
| TData | SIMD vector type of the data (the width-one tinysimd::scalarT wrapper on the Serial execution space). |
| TScalar | Type of the scale factor. |
| nqTot | Quadrature points per element. |
| ncoord | Cartesian gradient/velocity components. |
| dimension | Reference directions covered by inptr. |
| nelmt | Element groups to process (the block operator passes 1 and advances the pointers itself). |
| inoffset | Stride, in SIMD vectors, between the reference-direction planes of inptr. |
| dfptr | Derivative factors: ncoord * dimension vectors per element group (regular) or point (deformed). |
| advVel | Velocity data; component k starts at k * advelsize vectors. |
| advelsize | Stride, in SIMD vectors, between velocity components. |
| inptr | Reference-space derivatives, one plane of nqTot vectors per direction. |
| outptr | Output plane of nqTot vectors per element group. |
| scale | Scalar factor applied to the result. |
Definition at line 86 of file AdvectionBlockOpSerialAVXStdMatKernels.hpp.
Referenced by Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply().
|
static |
Contract the standard-region derivatives of a lane group into all ncoord Cartesian derivatives.
Safe to run in place (outptr equal to inptr, as PhysDeriv does): all ncoord results for one point are formed in registers before any of them is stored.
| ExecSpace | Execution space; unused. |
| DEFORMED | Derivative factors vary point by point. |
| TData | SIMD vector type of the interleaved lane group. |
| nqTot | Quadrature points per element. |
| ncoord | Cartesian components to produce (coordDim); at most 3, the size of the per-point register buffer. |
| dimension | Standard directions to contract over. |
| nelmt | Element groups covered by this call; the StdMat block operator passes 1 and advances the pointers itself. |
| inoffset | Stride, in SIMD vectors, between the standard-direction planes of inptr. |
| outoffset | Stride, in SIMD vectors, between the Cartesian planes of outptr. |
| dfptr | Derivative factors of the group, from the first point (deformed) or the first element (regular). |
| inptr | Standard-direction derivatives, plane d at d * inoffset. |
| outptr | Cartesian derivatives, plane k written at k * outoffset. |
Definition at line 106 of file PhysDerivBlockOpSerialAVXStdMatKernels.hpp.
| void Nektar::MultiRegions::detail::NeuBndCondGroupKernel | ( | const size_t | nGroups, |
| const size_t * | groupOffsetPtr, | ||
| const size_t * | groupTargetPtr, | ||
| const TData * | inptr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 87 of file NeuBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| void Nektar::MultiRegions::detail::NeuBndCondGroupKernel | ( | const size_t | nGroups, |
| const size_t * | groupOffsetPtr, | ||
| const size_t * | groupTargetPtr, | ||
| const TData * | signPtr, | ||
| const TData * | inptr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 107 of file NeuBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| void Nektar::MultiRegions::detail::NeuBndCondKernel | ( | const size_t | bndExpSize, |
| const size_t * | mapPtr, | ||
| const TData * | inptr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 49 of file NeuBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| void Nektar::MultiRegions::detail::NeuBndCondKernel | ( | const size_t | bndExpSize, |
| const TData * | signPtr, | ||
| const size_t * | mapPtr, | ||
| const TData * | inptr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 63 of file NeuBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
| void Nektar::MultiRegions::detail::ParallelDirBndSignKernel | ( | const size_t | nsize, |
| const int * | signPtr, | ||
| TData * | outptr, | ||
| const unsigned int | streamID | ||
| ) |
Definition at line 72 of file DirBndCondKernels.hpp.
References Nektar::LoopExecutionSetStreamID(), and NEKTAR_LAMBDA.
|
static |
One dimension: scale a segment's standard derivative by the derivative factors, in place, for every Cartesian component.
With one standard direction there is nothing to contract and no collapsed-coordinate correction: out[k][j] = out[0][j] * df[k], evaluated from k = ncoord-1 downwards so that out[0] – which is both the input and an output – is overwritten last.
| SHAPE_TYPE | Shape tag (segments only in 1D); unused. |
| DEFORMED | Derivative factors vary point by point. |
| simd_type | SIMD vector type; each vector holds one value of every element of the interleaved group. |
| nq0 | Quadrature points of the element. |
| ncoord | Coordinate dimension (1, 2 or 3), equal to the derivative factors per point. |
| df_ptr | Derivative factors of the element group. |
| out | The ncoord Cartesian planes; on entry out[0] holds the standard derivative, on exit all ncoord planes hold Cartesian derivatives. |
Definition at line 110 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Two dimensions: correct the collapsed derivatives of a triangle and contract with the derivative factors, in place, for every Cartesian component.
For a (nodal) triangle the collapsed-to-standard correction
\[ \frac{\partial u}{\partial \xi_0} = \frac{2}{1-\eta_1}\frac{\partial u}{\partial \eta_0}, \qquad \frac{\partial u}{\partial \xi_1} = \frac{\partial u}{\partial \eta_1} + \frac{1+\eta_0}{2}\frac{\partial u}{\partial \xi_0} \]
is applied first; quadrilaterals skip it, f0 and f1 then being unused. Each output component is then out[k] = d0 * df[2k] + d1 * df[2k+1], the third being produced only for an element embedded in three dimensions.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| DEFORMED | Derivative factors vary point by point. |
| simd_type | SIMD vector type of the interleaved group. |
| nq0,nq1 | Quadrature points per direction. |
| ncoord | Cartesian components to produce (coordDim, 2 or 3); the derivative factors come in ndf = 2 * ncoord per point. |
| f0 | Table of \(\tfrac{1}{2}(1+\eta_0)\) at the direction-0 points (triangles only). |
| f1 | Table of \(2/(1-\eta_1)\) at the direction-1 points (triangles only). |
| df_ptr | Derivative factors of the element group. |
| out | The three Cartesian planes; on entry out[0] and out[1] hold the collapsed derivatives, on exit out[0..ncoord-1] hold Cartesian ones. |
Definition at line 250 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
Three dimensions: correct the collapsed derivatives of a non-hexahedral shape and contract with the derivative factors, in place, for all three Cartesian components.
The collapsed-to-standard correction is shape specific and uses the four factor tables: a prism scales direction 0 by f2 and adds its f0 multiple onto direction 2; a pyramid scales directions 0 and 1 by f2 and adds their f0 and f1 multiples onto direction 2; a (nodal) tetrahedron scales direction 0 by f1m and f2 and direction 1 by f2, then folds both into directions 1 and 2. Hexahedra need no correction and leave f0 – f2 unused. Each output component is then out[k] = sum_d d_d * df[3k+d], the nine derivative factors of a three-dimensional element.
| SHAPE_TYPE | Hex, Tet, NodalTet, Prism, NodalPrism, Pyr or NodalPyr. |
| DEFORMED | Derivative factors vary point by point. |
| simd_type | SIMD vector type of the interleaved group. |
| nq0,nq1,nq2 | Quadrature points per direction. |
| f0 | \(\tfrac{1}{2}(1+\eta_0)\) at the direction-0 points. |
| f1 | \(\tfrac{1}{2}(1+\eta_1)\) at the direction-1 points. |
| f1m | \(2/(1-\eta_1)\) at the direction-1 points. |
| f2 | \(2/(1-\eta_2)\) at the direction-2 points. |
| df_ptr | Derivative factors of the element group, nine per point (deformed) or per element (regular). |
| out_d0 | Collapsed derivative along direction 0 on entry, \(\partial u/\partial x_0\) on exit. |
| out_d1 | As out_d0 for direction 1 and \(x_1\). |
| out_d2 | As out_d0 for direction 2 and \(x_2\). |
Definition at line 450 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
One dimension, single component: scale a segment's standard derivative by the derivative factor of direction DIR.
| SHAPE_TYPE | Shape tag (segments only in 1D); unused. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | Derivative factors vary point by point. |
| DIR | Cartesian component to produce. |
| simd_type | SIMD vector type of the interleaved group. |
| nq0 | Quadrature points of the element. |
| ncoord | Coordinate dimension, equal to the derivative factors per point; sets the per-point factor stride. |
| df_ptr | Derivative factors of the element group. |
| in | Standard derivative of the element group. |
| out | Cartesian component DIR. |
Definition at line 183 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Two dimensions, single component: as PhysDeriv2DKernel, but reading the collapsed derivatives from separate arrays and producing only the Cartesian component DIR.
| SHAPE_TYPE | Quad, Tri or NodalTri. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | Derivative factors vary point by point. |
| DIR | Cartesian component to produce; selects the derivative-factor rows 2 * DIR and 2 * DIR + 1. |
| simd_type | SIMD vector type of the interleaved group. |
| nq0,nq1 | Quadrature points per direction. |
| ncoord | Cartesian components the factor array holds (coordDim); sets the per-point factor stride ndf = 2 * ncoord. |
| f0,f1 | Collapsed-coordinate factor tables, as in PhysDeriv2DKernel (triangles only). |
| df_ptr | Derivative factors of the element group. |
| tderiv0 | Collapsed derivative along direction 0. |
| tderiv1 | Collapsed derivative along direction 1. |
| out | Cartesian component DIR. |
Definition at line 355 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
Three dimensions, single component: as PhysDeriv3DKernel, but reading the collapsed derivatives from separate arrays and producing only the Cartesian component DIR.
| SHAPE_TYPE | Hex, Tet, NodalTet, Prism, NodalPrism, Pyr or NodalPyr. |
| APPEND | Accumulate onto out instead of overwriting. |
| DEFORMED | Derivative factors vary point by point. |
| DIR | Cartesian component to produce; selects the derivative-factor rows 3 * DIR + 0,1,2. |
| simd_type | SIMD vector type of the interleaved group. |
| nq0,nq1,nq2 | Quadrature points per direction. |
| f0,f1,f1m,f2 | Collapsed-coordinate factor tables, as in PhysDeriv3DKernel. |
| df_ptr | Derivative factors of the element group. |
| tderiv0 | Collapsed derivative along direction 0. |
| tderiv1 | Collapsed derivative along direction 1. |
| tderiv2 | Collapsed derivative along direction 2. |
| out | Cartesian component DIR. |
Definition at line 590 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, out, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
Differentiate one element group of a 1D block: the standard derivative into out[0], then all ncoord Cartesian derivatives in place.
Unpacks the size parameter – runtime or compile-time, both satisfying IsPhysSizeParameter1D_v as the static_assert enforces – forms du/dxi in out[0] with PhysDerivTensor1DKernel and hands the planes to PhysDeriv1DKernel, which scales that derivative by the group's ncoord derivative factors into out[0 .. ncoord-1].
| SHAPE_TYPE | Element shape (segments only; unused). |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter1D | 1D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam1D | Element sizes: coordinate dimension and quadrature points. |
| D0 | 1D differentiation matrix of the direction. |
| df_ptr | Derivative factors of the group. |
| in | Input values of the group. |
| out | The Cartesian output planes of the group; out[0 .. ncoord-1] are written. |
Definition at line 718 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
References in, out, and PhysDerivTensor1DKernel().
Referenced by Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
Differentiate one element group of a 2D block: the two collapsed derivatives into out[0] and out[1], then all ncoord Cartesian derivatives in place.
Unpacks the size parameter – runtime or compile-time, both satisfying IsPhysSizeParameter2D_v as the static_assert enforces – forms the two reference-direction derivatives with PhysDerivTensor2DKernel and hands the planes to PhysDeriv2DKernel, which applies the collapsed-coordinate correction for triangles (using f0 and f1) and contracts with the derivative factors into out[0 .. ncoord-1].
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter2D | 2D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam2D | Element sizes: coordinate dimension and quadrature points per direction. |
| D0 | 1D differentiation matrix of direction 0. |
| D1 | 1D differentiation matrix of direction 1. |
| f0 | Collapsed-coordinate factor (1 + eta_0)/2 at the direction-0 points (triangles only). |
| f1 | Collapsed-coordinate factor 2/(1 - eta_1) at the direction-1 points (triangles only). |
| df_ptr | Derivative factors of the group, 2 * ncoord per element group, or per point when deformed. |
| in | Input values of the group. |
| out | The Cartesian output planes of the group; out[0 .. ncoord-1] are written. |
Definition at line 774 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
References in, out, and PhysDerivTensor2DKernel().
|
static |
Differentiate one element group of a 3D block: the three collapsed derivatives into out[0 .. 2], then the three Cartesian derivatives in place.
Unpacks the size parameter – runtime or compile-time, both satisfying IsPhysSizeParameter3D_v as the static_assert enforces – forms the three reference-direction derivatives with PhysDerivTensor3DKernel and hands the planes to PhysDeriv3DKernel, which applies the collapsed-coordinate correction of the shape (using f0, f1, f1m and f2) and contracts with the nine derivative factors. No coordinate dimension is carried: a three-dimensional element always has three of both.
| SHAPE_TYPE | Element shape; selects the collapsed-coordinate correction. |
| DEFORMED | Per-point derivative factors. |
| TPhysSizeParameter3D | 3D physical-space size parameter (see ElmtHelper.hpp). |
| simd_type | SIMD vector type; one element per lane. |
| sizeParam3D | Element sizes: quadrature points per direction. |
| D0 | 1D differentiation matrix of direction 0. |
| D1 | 1D differentiation matrix of direction 1. |
| D2 | 1D differentiation matrix of direction 2. |
| f0 | Collapsed-coordinate factor table of direction 0. |
| f1 | Collapsed-coordinate factor table of direction 1. |
| f1m | Second factor table of direction 1, used by the tetrahedral correction. |
| f2 | Collapsed-coordinate factor table of direction 2. All four are unused for hexahedra. |
| df_ptr | Derivative factors of the group, nine per element group, or per point when deformed. |
| in | Input values of the group. |
| out | The three Cartesian output planes of the group. |
Definition at line 838 of file PhysDerivBlockOpSerialAVXSumFacKernels.hpp.
References in, out, and PhysDerivTensor3DKernel().
|
static |
Stage one in two dimensions: reduce the volume block to the boundary lines of one or both direction-0 normal edges.
For every edge in [edg, nedg) this applies the direction-0 contraction \(v_q = \sum_p u_{pq}\, h_p(\pm 1)\), leaving one value per direction-1 volume point. Under END_PTS_COLLOCATED0 the table is a Kronecker delta and the contraction degenerates to reading the boundary column p = e * (nq0 - 1), which is why edg and nedg are absolute positions within the direction, 0 for the lower edge and 1 for the upper, rather than indices within this call.
out receives nq1 values per edge, edge-major, starting at index zero. On the general path of the glue kernel it is a workspace rather than the trace field.
ntbasis0[p * 2 + e], a hard-coded row stride of two. Direction 0 carries a trace pair in both two-dimensional shapes, so that does match the table here; the direction-1 twin makes the same assumption where it does not hold.| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type, one element per lane. |
| edg | Position of the first edge within direction 0. |
| nedg | One past the position of the last edge. |
| tstride | Row stride of ntbasis0: the shape's number of traces in direction 0. |
| nq0,nq1 | Volume quadrature points per direction; the glue kernel forwards its own nq0 and nq1, which came from the entry point's nm0 and nm1. |
| ntbasis0 | eInterp table \(h_p(\pm 1)\) of direction 0. |
| in | Volume field of this element group. |
| out | Extracted values, nq1 per edge. |
Definition at line 339 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Glue for the direction-0 normal edges: extract, then interpolate.
Runs PhysExtractEdgeN0EndPtsKernel over the edges in [edg, nedg) and, unless the in-edge direction is collocated, follows it with PhysInterpEdgeKernel from the direction-1 volume points onto the edge's nq00 trace points. When it is collocated the extraction writes straight to out and wsp is untouched. The in-edge direction of a direction-0 normal is direction 1, which is why the interpolation is set up as nq1 -> nq00 with the direction's tangential-0 table.
isCollocated00 is not forwarded to PhysInterpEdgeKernel: the interpolating branch is precisely the one in which the flag is false, so that kernel is always entered on its general arm.| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints; forwarded to stage one. |
| simd_type | SIMD vector type, one element per lane. |
| edg | Position of the first edge within direction 0; 0 and nedg 2 covers the pair, and one edge is either (0, 1) or (1, 2). |
| nedg | One past the position of the last edge; at most 2, as the debug assertion states. |
| tstride | Row stride of ntbasis0: the shape's number of traces in direction 0. |
| nq0,nq1 | Volume quadrature points per direction; the entry point passes its nm0 and nm1. |
| ntbasis0 | eInterp table \(h_p(\pm 1)\) of direction 0. |
| nq00 | Trace quadrature points along a direction-0 normal edge. |
| tbasis00 | eInterp table onto those trace points. |
| wsp | Scratch for the extracted values, nq1 per edge; used only on the interpolating path. |
| in | Volume field of this element group. |
| out | Trace values, nq00 per edge on the interpolating path and nq1 per edge on the collocated one, where the two counts agree. |
| isCollocated00 | Edge trace points coincide with the direction-1 volume points. |
Definition at line 503 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
References ASSERTL1.
|
static |
Stage one in two dimensions: the direction-1 twin of PhysExtractEdgeN0EndPtsKernel.
Applies \(v_p = \sum_q u_{pq}\, h_q(\pm 1)\) over the edges in [edg, nedg), leaving one value per direction-0 volume point. Under END_PTS_COLLOCATED1 the delta property reduces this to reading the boundary row q = e * (nq1 - 1), so again edg and nedg are absolute positions within the direction. out receives nq0 values per edge, edge-major, from index zero.
ntbasis1[q * 2 + e], a hard-coded row stride of two. That is the table's stride for a quadrilateral, whose direction 1 carries a trace pair, but not for a triangle: there direction 1 has a single trace, the eInterp table has one column, and this arm reads the wrong entries and past the end of the table. A triangle only reaches it if its direction-1 rule contains no domain endpoints; the Radau-type rule the collapsed direction normally carries sets END_PTS_COLLOCATED1 and takes the other arm.| END_PTS_COLLOCATED1 | Direction-1 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type, one element per lane. |
| edg | Position of the first edge within direction 1. |
| nedg | One past the position of the last edge. |
| tstride | Row stride of ntbasis1: the shape's number of traces in direction 1. |
| nq0,nq1 | Volume quadrature points per direction; the glue kernel forwards its own nq0 and nq1, which came from the entry point's nm0 and nm1. |
| ntbasis1 | eInterp table \(h_q(\pm 1)\) of direction 1. |
| in | Volume field of this element group. |
| out | Extracted values, nq0 per edge. |
Definition at line 410 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Glue for the direction-1 normal edges: the direction-1 twin of PhysExtractEdgeN0Kernel.
The in-edge direction of a direction-1 normal is direction 0, so the extraction leaves nq0 values per edge and the interpolation runs nq0 -> nq10 with the direction's tangential-0 table. Everything else, including the collocated shortcut and the unforwarded flag, matches the direction-0 kernel.
| END_PTS_COLLOCATED1 | Direction-1 volume rule contains the domain endpoints; forwarded to stage one. |
| simd_type | SIMD vector type, one element per lane. |
| edg | Position of the first edge within direction 1. |
| nedg | One past the position of the last edge; at most 2, as the debug assertion states. A triangle has a single direction-1 edge and is called with (0, 1). |
| tstride | Row stride of ntbasis1: the shape's number of traces in direction 1. |
| nq0,nq1 | Volume quadrature points per direction; the entry point passes its nm0 and nm1. |
| ntbasis1 | eInterp table \(h_q(\pm 1)\) of direction 1. |
| nq10 | Trace quadrature points along a direction-1 normal edge. |
| tbasis10 | eInterp table onto those trace points. |
| wsp | Scratch for the extracted values, nq0 per edge; used only on the interpolating path. |
| in | Volume field of this element group. |
| out | Trace values, nq10 per edge on the interpolating path and nq0 per edge on the collocated one, where the two counts agree. |
| isCollocated10 | Edge trace points coincide with the direction-0 volume points. |
Definition at line 574 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Stage one in three dimensions: reduce the volume block to the boundary planes of one or both direction-0 normal faces.
For every face in [fac, nface) this applies the direction-0 contraction \(v_{jk} = \sum_i u_{ijk}\, h_i(\pm 1)\), leaving one value per point of the (nq1, nq2) volume plane. Under END_PTS_COLLOCATED0 the table is a Kronecker delta and this reduces to reading the boundary plane i = f * (nq0 - 1), so fac and nface are absolute positions within the direction, 0 for the lower face and 1 for the upper.
out receives nq1 * nq2 values per face, face-major, from index zero, with the direction-1 index varying fastest – the ordering PhysInterpFaceKernel expects when it is given (nq1, nq2) as its source counts.
| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type, one element per lane. |
| fac | Position of the first face within direction 0. |
| nface | One past the position of the last face. |
| tstride | Row stride of ntbasis0: the number of traces the direction has, which is not nface when the call covers only part of the direction. |
| nq0,nq1,nq2 | Volume quadrature points per direction; the glue kernel forwards its own nq0, nq1 and nq2, which came from the entry point's nm0, nm1 and nm2. |
| ntbasis0 | eInterp table \(h_i(\pm 1)\) of direction 0. |
| in | Volume field of this element group. |
| out | Extracted planes, nq1 * nq2 per face. |
Definition at line 826 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Stage one in three dimensions: the direction-1 twin of PhysExtractEndFacesN0Kernel.
Applies \(v_{ik} = \sum_j u_{ijk}\, h_j(\pm 1)\) over the faces in [fac, nface), leaving one value per point of the (nq0, nq2) volume plane, with the direction-0 index varying fastest. Under END_PTS_COLLOCATED1 the delta property reduces this to reading the boundary plane j = f * (nq1 - 1).
| END_PTS_COLLOCATED1 | Direction-1 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type, one element per lane. |
| fac | Position of the first face within direction 1. |
| nface | One past the position of the last face. |
| tstride | Row stride of ntbasis1: the number of traces the direction has, which is not nface when the call covers only part of the direction. |
| nq0,nq1,nq2 | Volume quadrature points per direction; the glue kernel forwards its own nq0, nq1 and nq2, which came from the entry point's nm0, nm1 and nm2. |
| ntbasis1 | eInterp table \(h_j(\pm 1)\) of direction 1. |
| in | Volume field of this element group. |
| out | Extracted planes, nq0 * nq2 per face. |
Definition at line 905 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Stage one in three dimensions: the direction-2 twin of PhysExtractEndFacesN0Kernel.
Applies \(v_{ij} = \sum_k u_{ijk}\, h_k(\pm 1)\) over the faces in [fac, nface), leaving one value per point of the (nq0, nq1) volume plane, with the direction-0 index varying fastest. Under END_PTS_COLLOCATED2 the delta property reduces this to reading the boundary plane k = f * (nq2 - 1). The loop variable is named k here although it is the face position, the direction-2 index being the one summed over.
| END_PTS_COLLOCATED2 | Direction-2 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type, one element per lane. |
| fac | Position of the first face within direction 2. |
| nface | One past the position of the last face. |
| tstride | Row stride of ntbasis2: the number of traces the direction has, which is not nface when the call covers only part of the direction. |
| nq0,nq1,nq2 | Volume quadrature points per direction; the glue kernel forwards its own nq0, nq1 and nq2, which came from the entry point's nm0, nm1 and nm2. |
| ntbasis2 | eInterp table \(h_k(\pm 1)\) of direction 2. |
| in | Volume field of this element group. |
| out | Extracted planes, nq0 * nq1 per face. |
Definition at line 986 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Glue for the direction-0 normal faces: extract, then interpolate.
Runs PhysExtractEndFacesN0Kernel over the faces in [fac, nfac) and, unless both tangential directions are collocated, follows it with PhysInterpFaceKernel from the (nq1, nq2) volume plane onto the face's (nq00, nq01) trace grid. When both are collocated the extraction writes straight to out and neither workspace is touched. The tangential directions of a direction-0 normal are directions 1 and 2, which is why the interpolation is set up as (nq1, nq2) -> (nq00, nq01) with the direction's two tangential tables.
| END_PTS_COLLOCATED0 | Direction-0 volume rule contains the domain endpoints; forwarded to stage one. |
| simd_type | SIMD vector type, one element per lane. |
| fac | Position of the first face within direction 0; (0, 2) covers the pair, one face is either (0, 1) or (1, 2). |
| nfac | One past the position of the last face. |
| tstride | Row stride of the ntbasis table, forwarded to stage one: the number of traces the direction has. |
| nq0,nq1,nq2 | Volume quadrature points per direction; the entry point passes its nm0, nm1 and nm2. |
| ntbasis0 | eInterp table \(h_i(\pm 1)\) of direction 0. |
| nq00,nq01 | Trace quadrature points of a direction-0 normal face, per tangential direction. |
| tbasis00 | eInterp table of tangential direction 0 (volume direction 1). |
| tbasis01 | eInterp table of tangential direction 1 (volume direction 2). |
| wsp1 | Scratch for the extracted planes, nq1 * nq2 per face. |
| wsp2 | Scratch for the tangential-0 interpolation pass. |
| in | Volume field of this element group. |
| out | Trace values, nq00 * nq01 per face. |
| isCollocated00 | Tangential-0 trace points are the direction-1 volume points. |
| isCollocated01 | Tangential-1 trace points are the direction-2 volume points. |
Definition at line 1074 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Glue for the direction-1 normal faces: the direction-1 twin of PhysExtractFaceN0Kernel.
The tangential directions of a direction-1 normal are directions 0 and 2, so the interpolation runs (nq0, nq2) -> (nq10, nq11). Everything else, including the both-collocated shortcut, matches the direction-0 kernel.
| END_PTS_COLLOCATED1 | Direction-1 volume rule contains the domain endpoints; forwarded to stage one. |
| simd_type | SIMD vector type, one element per lane. |
| fac | Position of the first face within direction
|
| nfac | One past the position of the last face. |
| tstride | Row stride of the ntbasis table, forwarded to stage one: the number of traces the direction has. |
| nq0,nq1,nq2 | Volume quadrature points per direction; the entry point passes its nm0, nm1 and nm2. |
| ntbasis1 | eInterp table \(h_j(\pm 1)\) of direction 1. |
| nq10,nq11 | Trace quadrature points of a direction-1 normal face, per tangential direction. |
| tbasis10 | eInterp table of tangential direction 0 (volume direction 0). |
| tbasis11 | eInterp table of tangential direction 1 (volume direction 2). |
| wsp1 | Scratch for the extracted planes, nq0 * nq2 per face. |
| wsp2 | Scratch for the tangential-0 interpolation pass. |
| in | Volume field of this element group. |
| out | Trace values, nq10 * nq11 per face. |
| isCollocated10 | Tangential-0 trace points are the direction-0 volume points. |
| isCollocated11 | Tangential-1 trace points are the direction-2 volume points. |
Definition at line 1140 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Glue for the direction-2 normal faces: the direction-2 twin of PhysExtractFaceN0Kernel.
The tangential directions of a direction-2 normal are directions 0 and 1, so the interpolation runs (nq0, nq1) -> (nq20, nq21). Everything else, including the both-collocated shortcut, matches the direction-0 kernel.
| END_PTS_COLLOCATED2 | Direction-2 volume rule contains the domain endpoints; forwarded to stage one. |
| simd_type | SIMD vector type, one element per lane. |
| fac | Position of the first face within direction
|
| nfac | One past the position of the last face. |
| tstride | Row stride of the ntbasis table, forwarded to stage one: the number of traces the direction has. |
| nq0,nq1,nq2 | Volume quadrature points per direction; the entry point passes its nm0, nm1 and nm2. |
| ntbasis2 | eInterp table \(h_k(\pm 1)\) of direction 2. |
| nq20,nq21 | Trace quadrature points of a direction-2 normal face, per tangential direction. |
| tbasis20 | eInterp table of tangential direction 0 (volume direction 0). |
| tbasis21 | eInterp table of tangential direction 1 (volume direction 1). |
| wsp1 | Scratch for the extracted planes, nq0 * nq1 per face. |
| wsp2 | Scratch for the tangential-0 interpolation pass. |
| in | Volume field of this element group. |
| out | Trace values, nq20 * nq21 per face. |
| isCollocated20 | Tangential-0 trace points are the direction-0 volume points. |
| isCollocated21 | Tangential-1 trace points are the direction-1 volume points. |
Definition at line 1207 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Stage two in two dimensions: interpolate the extracted edge values from the volume points of the in-edge direction onto that edge's trace quadrature points.
For every edge and every trace point i, out[i] = sum_p in[p] * tbasis[p * nqto + i]. The edges lie consecutively in both buffers, nqfrom entries each on input and nqto each on output. Under isCollocated the trace points are the volume points, the table is the identity and the call is a copy of nqto * nedg values; the debug assertion states the precondition that makes that legal.
nedg is a count here, unlike the extraction kernels, where it is one past the position of the last edge. The glue kernels pass nedg - edg.| TData | Element data type: a scalar, or a SIMD vector with one element per lane. The accumulate follows it. |
| TScalar | Scalar type of the interpolation table, which is never vectorised. |
| nedg | Number of edges in the buffers. |
| nqfrom | Volume quadrature points of the in-edge direction, per edge on input. |
| nqto | Trace quadrature points, per edge on output. |
| tbasis | eInterp table \(h_p(\xi^{tr}_i)\) of the in-edge direction, indexed tbasis[p * nqto + i]. |
| in | Extracted values from stage one. |
| out | Values at the trace quadrature points. |
| isCollocated | Trace points coincide with the volume points. |
Definition at line 82 of file PhysTraceExtractKernels.hpp.
References e, in, NEK_HOSTDEVICE_ASSERTL1, and out.
|
static |
Stage two in three dimensions: interpolate the extracted face planes from the volume points of the two tangential directions onto the face's trace quadrature points.
The face contraction is a tensor product, so it runs as two one-dimensional passes, direction 0 first. Which passes are needed depends on the two collocation flags, giving three arms:
isCollocated1: direction 1 is already the trace rule, so only the tangential-0 pass runs, straight from in to out;isCollocated0: only the tangential-1 pass runs, again straight to out;wsp and the tangential-1 pass reads it.Both directions collocated does not reach here: the glue kernels take their direct branch and do not call this at all.
Faces lie consecutively in every buffer, nqfrom0 * nqfrom1 entries each on input and nqto0 * nqto1 each on output, direction 0 varying fastest throughout.
| TData | Element data type: a scalar, or a SIMD vector with one element per lane. The accumulate follows it. |
| TScalar | Scalar type of the interpolation tables. |
| nfac | Number of faces in the buffers; a count here, unlike the extraction kernels, where it is one past the last face position. The glue kernels pass nfac - fac. |
| nqfrom0,nqfrom1 | Volume quadrature points of the two tangential directions, per face on input. |
| nqto0,nqto1 | Trace quadrature points, per face on output. |
| tbasis0,tbasis1 | eInterp tables of the two tangential directions, indexed tbasis0[p * nqto0 + i] and tbasis1[q * nqto1 + j]. |
| wsp | Scratch for the tangential-0 pass; used only when both passes run. |
| in | Extracted planes from stage one. |
| out | Values at the face's trace quadrature points. |
| isCollocated0 | Tangential-0 trace points coincide with the volume points of that direction. |
| isCollocated1 | Tangential-1 trace points coincide with the volume points of that direction. |
Definition at line 167 of file PhysTraceExtractKernels.hpp.
References in, NEK_HOSTDEVICE_ASSERTL1, out, tbasis0, tbasis1, and wsp.
|
static |
inout[m] *= coefScale over the nmTot coefficients of one element group: the scale over the Jacobian after the dense standard inverse mass.
Definition at line 62 of file PhysLiftProjectBlockOpSerialAVXSumFacKernels.hpp.
References nmTot.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyGroupsImpl().
|
inline |
Whether the Device SumFacTOP implementation applies the block whose representative expansion is exp through the dense projector: the StdInvMass form of a tetrahedron, prism or pyramid of at most physLiftProjectDenseTailMaxPoints points whose traces have the volume's points in one in-trace direction at least. On an affine element \(B M^{-1} B^{\mathsf T} = J^{-1} P\) with \(P = B M_{\mathrm{std}}^{-1} B^{\mathsf T}\), one nqTot x nqTot matrix per block, so the trace is lifted directly onto every point with the division by the Jacobian, and one batched product applies P to every element, in place of the basis transpose, the inverse mass and the backward transform.
Definition at line 151 of file PhysLiftProjectBlockOp.hpp.
References physLiftProjectDenseTailMaxPoints, PhysLiftProjectFormOf(), Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, StdInvMass, and Nektar::LibUtilities::Tet.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::PhysLiftProjectBlockOpImpl(), and TestPhysLiftProject< TData >::RecordForms().
|
inline |
The form the block whose representative expansion is exp takes. The square test is on the total counts: equal per-direction counts do not make B square on a collapsed-coordinate shape, whose mode count is a fraction of the tensor product.
Definition at line 113 of file PhysLiftProjectBlockOp.hpp.
References Nektar::SpatialDomains::eDeformed, ElmtInvMass, Pointwise, and StdInvMass.
Referenced by TestPhysLiftProject< TData >::DirectLift(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::PhysLiftProjectBlockOpImpl(), PhysLiftProjectDenseTail(), and TestPhysLiftProject< TData >::RecordForms().
|
static |
The Pointwise form's factor of one element group, pointScale[q] = scale / (w_q J), zero on the padding elements, whose Jacobian is zero. weights holds the quadrature weights at every point (WeightsKey), jac the group's Jacobian, one per element or, when DEFORMED, one per point.
Definition at line 59 of file PhysLiftProjectBlockOpSerialAVXKernels.hpp.
References jac, and Nektar::SafeDivide().
|
static |
The Pointwise form of one element group: out (+)= pointScale * vol.
Definition at line 73 of file PhysLiftProjectBlockOpSerialAVXKernels.hpp.
References out.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyPointwise(), and Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyPointwise().
|
static |
The traces of normal direction DIR of NVAR fields at once, line by line along the normal direction: each line's values are loaded once and interpolated to every trace of the direction (h_p(-1), h_p(+1)), or read off the end points when the rule contains them. With CONTRACT the line values are the directional components of a tensor, contracted with each trace's normal (traceNormals, one per trace) before the interpolation, which forms the outward normal component of the tensor on the traces in the same pass.
The trace points are written in the extraction kernels' order (the lower tangential index fastest; one tangential index in two dimensions, none in one) at the traces' packed offsets. The result matches PhysTraceExtractKernelLauncher() when the tangential rules are the volume rules, the one case this kernel takes; a caller interpolates onto any other tangential rule afterwards.
| SHAPE_TYPE | Shape tag: sets the number of traces of DIR. |
| DIR | Normal direction of the traces. |
| CONTRACT | Contract tensor with the trace normals rather than extract in. |
| NDIM | Dimension of the element, one to three. |
| NVAR | Fields extracted together. |
| simd_type | SIMD vector type, one element per lane. |
| nq0,nq1,nq2 | Volume quadrature points per direction; nq1 is 1 in one dimension and nq2 is 1 below three. |
| ntbasis | eInterp table \(h_p(\pm 1)\) of direction DIR, ntbasis[p * NF + f] with NF the traces of the direction. |
| endPts | The direction's rule contains the end points: the table is a Kronecker delta and the trace values are read off. |
| traceOffset | Offset of each of the direction's traces in an element's packed trace block. |
| in | Volume fields per variable (CONTRACT false). |
| tensor | Tensor, component d of variable v at v * varStride + d * nqTot (CONTRACT true). |
| varStride | Distance between consecutive variables of tensor, at least NDIM * nqTot. |
| traceNormals | Normal of each of the direction's traces. |
| out | Element-local trace block per variable. |
Definition at line 1693 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Two-dimensional entry point for a single named edge: turn the edge id into a normal direction and a position, then call the glue.
The mapping is the face-to-(direction, position) table of the shape. A quadrilateral pairs edges 3 and 1 in direction 0 and edges 0 and 2 in direction 1, so 0 -> (1, 0), 1 -> (0, 1), 2 -> (1, 1) and 3 -> (0, 0). A triangle keeps 2 -> (0, 0) and 1 -> (0, 1), the hypotenuse acting as the direction-0 upper end in the collapsed frame, and has the single direction-1 edge 0 -> (1, 0); there is no direction-1 upper edge, the collapsed vertex standing in its place. Any other id raises a fatal error.
The position becomes the (edg, nedg) pair the glue takes, so a lower edge is passed as (0, 1) and an upper edge as (1, 2). out is written from index zero; the block operator adds the trace offset to the pointer it hands in.
The two runtime endpoint booleans select the compile-time arms of the glue, which is why each case appears twice; the two isCollocated flags are forwarded as runtime arguments.
LibUtilities::Tri explicitly for both triangle cases, so the triangle arm is taken. That is not true of the bulk entry point of the same name; see the file note.| SHAPE_TYPE | Tri for the triangle arm, any other two-dimensional shape for the quadrilateral arm. |
| simd_type | SIMD vector type, one element per lane. |
| edge | Edge id within the shape. |
| nm0,nm1 | Volume quadrature points per direction. |
| nq00,nq10 | Trace quadrature points of a direction-0 and a direction-1 normal edge. |
| ntbasis0,ntbasis1 | eInterp tables \(h(\pm 1)\) per direction. |
| tbasis00,tbasis10 | eInterp tables onto the trace points of a direction-0 and a direction-1 normal edge. |
| wsp | Scratch for the extracted values. |
| in | Volume field of this element group. |
| out | Trace values of this edge, from index zero. |
| isCollocated00 | Direction-0 normal edge's trace points are the direction-1 volume points. |
| isCollocated10 | Direction-1 normal edge's trace points are the direction-0 volume points. |
| endPtsCollocated0 | Direction-0 volume rule contains the domain endpoints. |
| endPtsCollocated1 | Direction-1 volume rule contains the domain endpoints. |
Definition at line 651 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
One-dimensional bulk entry point: both endpoint values of every element.
The one-dimensional arm of the overload set OperatorND() calls, overload resolution picking between the arms by the number of arguments the index sequences expand to. Unlike the two- and three-dimensional arms, which do the work themselves, this one is a dispatcher: a segment has no in-trace direction, so the whole operation is the two-point extraction PhysTraceExtractSegKernel performs, and all this arm adds is the output stride of two and the turn from a runtime endPtsCollocated0 into that kernel's END_PTS_COLLOCATED template argument. APPEND is always false here: the bulk route never accumulates.
| SHAPE_TYPE | Seg; unread, the path being the same for every one-dimensional expansion. |
Definition at line 1845 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
|
static |
Two-dimensional bulk entry point: extract every edge of the element in packed order.
The direction-0 pair goes first, as the pair call (0, 2) writing 2 * nq00 values from index zero, then the direction-1 traces at out + tstride0 * nq00: the pair (0, 2) for a quadrilateral and the single lower edge (0, 1) for a triangle, whose direction 1 is collapsed. The scratch wsp is reused by the two calls, which run one after the other.
On the collocated path the extraction writes nm1 and nm0 values per edge rather than nq00 and nq10, which is consistent because collocation is exactly the statement that those counts agree.
| SHAPE_TYPE | Tri for the triangle arm, any other two-dimensional shape for the quadrilateral arm. |
| simd_type | SIMD vector type, one element per lane. |
| sizeParam2D | Volume and trace point counts of the shape, non-templated where the generated switch found no compiled combination and templated where it did. |
| ntbasis0,ntbasis1 | eInterp tables \(h(\pm 1)\) per direction. |
| tbasis00,tbasis10 | eInterp tables onto the trace points of a direction-0 and a direction-1 normal edge. |
| wsp | Scratch for the extracted values, shared by both direction calls. |
| in | Volume field of this element group. |
| out | Packed trace values of the element. |
| isCollocated00 | Direction-0 normal edge's trace points are the direction-1 volume points. |
| isCollocated10 | Direction-1 normal edge's trace points are the direction-0 volume points. |
| endPtsCollocated0 | Direction-0 volume rule contains the domain endpoints. |
| endPtsCollocated1 | Direction-1 volume rule contains the domain endpoints. |
Definition at line 1913 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Three-dimensional bulk entry point: extract every face of the element in packed order.
The direction-0 pair goes first, as the pair call (0, 2) writing 2 * nq00 * nq01 values from index zero. The running offset then advances by exactly what each direction wrote, so the direction-1 block follows – the pair (0, 2) for a hexahedron, prism and pyramid, the single face (0, 1) for a tetrahedron, whose direction 1 is collapsed – and then the direction-2 block, the pair (0, 2) for a hexahedron and the single face (0, 1) for every other shape. That reproduces the faces-per-direction counts 2/2/2, 2/2/1 and 2/1/1 of hexahedron, prism or pyramid, and tetrahedron.
The two workspaces are reused by the three direction calls, which run one after the other.
| SHAPE_TYPE | Tet for the single direction-1 face, Hex for the direction-2 pair, any other three-dimensional shape for the prism and pyramid combination. |
| simd_type | SIMD vector type, one element per lane. |
| sizeParam3D | Volume and trace point counts of the shape, non-templated where the generated switch found no compiled combination and templated where it did. |
| ntbasis0 | eInterp table \(h_i(\pm 1)\) of direction 0. |
| ntbasis1 | eInterp table \(h_j(\pm 1)\) of direction 1. |
| ntbasis2 | eInterp table \(h_k(\pm 1)\) of direction 2. |
| tbasis00,tbasis01 | eInterp tables of the two tangential directions of a direction-0 normal face. |
| tbasis10,tbasis11 | The same for a direction-1 normal face. |
| tbasis20,tbasis21 | The same for a direction-2 normal face. |
| sum_irq | Scratch for the extracted planes, shared by all three direction calls. |
| sum_jir | Scratch for the tangential-0 interpolation pass, likewise shared. |
| in | Volume field of this element group. |
| out | Packed trace values of the element. |
| isCollocated00 | Tangential flags of the direction-0 normal faces. |
| isCollocated01 | See isCollocated00. |
| isCollocated10 | Tangential flags of the direction-1 normal faces. |
| isCollocated11 | See isCollocated10. |
| isCollocated20 | Tangential flags of the direction-2 normal faces. |
| isCollocated21 | See isCollocated20. |
| endPtsCollocated0 | Direction-0 volume rule contains the domain endpoints. |
| endPtsCollocated1 | The same for direction 1. |
| endPtsCollocated2 | The same for direction 2. |
Definition at line 2030 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
static |
One-dimensional extraction: sample a segment's volume field at its two endpoint traces.
The traces of a segment are its two vertices, so there is no in-trace direction and nothing to interpolate along: the whole operator is the single contraction \(v_f = \sum_p u_p\, h_p(\pm 1)\) against the direction-0 table. Three branches cover it.
END_PTS_COLLOCATED, decided at compile time: the volume rule contains both domain endpoints, \(h_p(\pm 1)\) is a Kronecker delta and the first and last volume values drop straight into the two outputs. The debug assertion pins the two traces this assumes.isCollocated, decided at run time: the first nq0 volume values are copied one for one. The block operator's one-dimensional path never selects it, its constructor pushing a false collocation flag for the one-dimensional case.out[i] = sum_p in[p] * basis0[p * nq0 + i]. A segment has two traces in direction 0, so the nq0 the caller passes is also the table's row stride and the tight-table contract holds.This kernel is the whole one-dimensional path of this implementation. It takes no part in the two- and three-dimensional families and calls nothing outside itself. The per-trace one-dimensional entry has no counterpart at all: the block operator raises an error for a segment there.
| APPEND | Accumulate onto out instead of overwriting it. The block operator instantiates only the overwriting form. |
| END_PTS_COLLOCATED | Direction-0 volume rule contains the domain endpoints. |
| simd_type | SIMD vector type, one element per lane. |
| nm0 | Volume quadrature points of the segment. |
| nq0 | Trace points to produce: two, the segment's vertices. |
| basis0 | eInterp table \(h_p(\pm 1)\) of direction 0, indexed basis0[p * nq0 + f]. Unused on the two fast paths. |
| in | Volume field of this element group. |
| out | The two endpoint values. |
| isCollocated | Trace points coincide with the volume points. |
Definition at line 240 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
inline |
The sizes, in entries of the vector type, of the two workspaces the extraction of one element group needs, for the largest intermediate any shape of the dimension can need. In two dimensions the first holds the values of an edge pair the normal-direction stage extracts, and the second is unused. In three the first holds the face blocks of a face pair, and the second the scratch of the general face interpolation: the first in-trace direction already interpolated while the second is still on the volume points. A segment needs neither.
| nm | Volume quadrature counts per direction. |
| nq | Trace quadrature counts, 2 * f + d in three dimensions. |
Definition at line 1630 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::Setup().
|
static |
Three-dimensional entry point for a single named face: turn the face id into a normal direction and a position, then call the glue.
The mapping is the face-to-(direction, position) table of the shape. For the hexahedron, prism and pyramid it is 4 -> (0, 0), 2 -> (0, 1), 1 -> (1, 0), 3 -> (1, 1), 0 -> (2, 0), and for the hexahedron alone 5 -> (2, 1); the prism and pyramid collapse direction 2 and stop at face 4. The tetrahedron collapses directions 1 and 2 and keeps 3 -> (0, 0), 2 -> (0, 1), 1 -> (1, 0), 0 -> (2, 0). Any other id, and any shape outside the four, raises a fatal error.
The position becomes the (fac, nfac) pair the glue takes, so a lower face is passed as (0, 1) and an upper face as (1, 2). out is written from index zero; the block operator adds the trace offset to the pointer it hands in.
The three runtime endpoint booleans select the compile-time arms of the glue, which is why each case appears twice.
LibUtilities::Tet and LibUtilities::Prism explicitly for those cases, so the right arm is taken. That is not true of the bulk entry point; see the warning on PhysTraceExtractKernelLauncher.fac, nfac) pair here reaches stage one as its ntbasis row stride. A bound of one is correct only where the shape really has a single trace in that direction, which makes the lower face of every two-trace direction wrong on the general arm: the direction-0 lower face of all four shapes, the direction-1 lower face of the hexahedron, prism and pyramid, and the direction-2 lower face of the hexahedron. See the notes on the extraction kernels.| SHAPE_TYPE | Tet, Prism, Pyr or Hex; anything else is a fatal error. |
| simd_type | SIMD vector type, one element per lane. |
| face | Face id within the shape. |
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| nq00,nq01 | Trace quadrature points of a direction-0 normal face, per tangential direction. |
| nq10,nq11 | The same for a direction-1 normal face. |
| nq20,nq21 | The same for a direction-2 normal face. |
| ntbasis0 | eInterp table \(h_i(\pm 1)\) of direction 0. |
| ntbasis1 | eInterp table \(h_j(\pm 1)\) of direction 1. |
| ntbasis2 | eInterp table \(h_k(\pm 1)\) of direction 2. |
| tbasis00,tbasis01 | eInterp tables of the two tangential directions of a direction-0 normal face. |
| tbasis10,tbasis11 | The same for a direction-1 normal face. |
| tbasis20,tbasis21 | The same for a direction-2 normal face. |
| sum_irq | Scratch for the extracted plane. |
| sum_jir | Scratch for the tangential-0 interpolation pass. |
| in | Volume field of this element group. |
| out | Trace values of this face, from index zero. |
| isCollocated00 | Tangential flags of the direction-0 normal faces. |
| isCollocated01 | See isCollocated00. |
| isCollocated10 | Tangential flags of the direction-1 normal faces. |
| isCollocated11 | See isCollocated10. |
| isCollocated20 | Tangential flags of the direction-2 normal faces. |
| isCollocated21 | See isCollocated20. |
| endPtsCollocated0 | Direction-0 volume rule contains the domain endpoints. |
| endPtsCollocated1 | The same for direction 1. |
| endPtsCollocated2 | The same for direction 2. |
Definition at line 1308 of file PhysTraceExtractBlockOpSerialAVXSumFacKernels.hpp.
|
inline |
Unload the module holding the compiled kernels, if any.
Release the compiled kernels.
| kernels | Compiled kernels, reset to the uncompiled state. |
| kernels | Compiled kernels, emptied. |
Definition at line 204 of file ExpressionBlockOpDeviceGenericHIPCUDAHelper.hpp.
References CHECK_HIPCUDA_DRIVER_ERROR, Nektar::MultiRegions::detail::ExpressionKernels::nekModule, and nekModuleUnload.
Referenced by BuildExpressionKernels(), and Nektar::MultiRegions::detail::ExpressionBlockOpImpl< ExecSpace, Implementation, TData >::~ExpressionBlockOpImpl().
|
static |
Definition at line 45 of file RobBndCondSerialAVXKernels.hpp.
|
static |
Definition at line 63 of file RobBndCondSerialAVXKernels.hpp.
| NEK_DEVICE_INLINE void Nektar::MultiRegions::detail::ScaleAddCollapsedFacKernel | ( | const unsigned int | ilane, |
| const unsigned int | nm0, | ||
| const unsigned int | nm1, | ||
| const unsigned int | nm2, | ||
| const bool | useD1, | ||
| const bool | useD2, | ||
| const TData *NEK_RESTRICT | twoOver1, | ||
| const TData *NEK_RESTRICT | twoOver2, | ||
| const TData *NEK_RESTRICT | volwsp, | ||
| TData *NEK_RESTRICT | out | ||
| ) |
Scale a volume workspace by the collapsed factors a trace group still needs and accumulate it into the output. The factors are table data shared by the block and indexed directly; the volume arrays are warp interleaved. In two dimensions nm2 is one and twoOver2 is unread.
Definition at line 319 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
References nm0, nm1, nm2, out, twoOver1, twoOver2, Nektar::NektarSpaces::Device::warpSize, and warpsize.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), and IPWRTPhysNormalDerivTraceFaceGroupKernel().
|
static |
Scale a volume workspace by the collapsed factors a trace group still needs, then accumulate it into the output.
| nm0,nm1,nm2 | Volume quadrature points per direction. |
| useD1,useD2 | Apply \(2/(1 - \eta_1)\), \(2/(1 - \eta_2)\). |
| twoOver1,twoOver2 | Those factors at the element's own points of directions 1 and 2; unread when the matching flag is false. In two dimensions nm2 is one and twoOver2 is unread. |
| volwsp | Volume-shaped workspace to scale, from the trace group being finished. |
| out | Accumulates the scaled workspace. |
Definition at line 149 of file IProductWRTPhysNormalDerivTraceBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Scale a volume buffer by the collapsed factors a trace group still needs and accumulate it into the element's volume, threads striding the points. In two dimensions nm2 is one and twoOver2 is unread.
Definition at line 292 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
References nm0, nm1, nm2, out, threadBlock, twoOver1, and twoOver2.
|
static |
Contract the input vector with the derivative factors of a segment and apply the quadrature metric.
Writes \(g_0\) for every point of the element group, multiplied by the Jacobian and the quadrature weight of each point, so the result is ready for the transposed derivative and, on the Coeff path, for the metric-free IProduct kernel.
| DEFORMED | True when the geometric factors vary within an element. |
| simd_type | SIMD vector type of one interleaved element group. |
| nq0 | Quadrature points of the element. |
| indim | Coordinate dimension: number of input components read. |
| df_ptr | Derivative factors of the element group. |
| df_tmp | Caller-owned scratch for the factors of the current point. |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| in | Input vector \({\bf f}\). |
| out | Receives the weighted \(g_0\), nq0 vectors. |
| jac_ptr | Jacobians of the element group. |
| w | Quadrature weights of the element. |
Definition at line 115 of file IProductWRTDerivBaseBlockOpSerialAVXSumFacKernels.hpp.
|
static |
Contract the input vector with the derivative factors of a quadrilateral or triangle and apply the quadrature metric.
Writes the two weighted direction fields \(g_0\), \(g_1\) in point order (direction 0 fastest). For the triangles the collapsed correction is applied to \(g_0\) before the weighting, using Fac0 and Fac1, which are unused for quadrilaterals.
| SHAPE_TYPE | Shape of the block's elements. |
| DEFORMED | True when the geometric factors vary within an element. |
| simd_type | SIMD vector type of one interleaved element group. |
| nq0,nq1 | Quadrature points per direction. |
| indim | Coordinate dimension: number of input components read. |
| df_ptr | Derivative factors of the element group, 2 * indim per point. |
| df_tmp | Caller-owned scratch for the factors of the current point. |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| inptr | Input vector \({\bf f}\). |
| out | Two output fields, one per reference direction. |
| Fac0 | Table of (1 + eta_0)/2 (triangles). |
| Fac1 | Table of 2/(1 - eta_1) (triangles). |
| jac_ptr | Jacobians of the element group. |
| w0,w1 | Quadrature weights per direction. |
Definition at line 195 of file IProductWRTDerivBaseBlockOpSerialAVXSumFacKernels.hpp.
References in1, in2, jac, Nektar::LibUtilities::NodalTri, out, and Nektar::LibUtilities::Tri.
|
static |
Contract the input vector with the derivative factors of a three-dimensional element and apply the quadrature metric.
Writes the three weighted direction fields in point order (direction 0 fastest). A 3D element's coordinate dimension is always three, so three input components are read and the derivative factors have nine entries per point. The number of additive collapsed correction terms differs per shape – none for the hexahedron, one for the prisms, two for the pyramid and the tetrahedra – and they are applied before the weighting. That count is not the number of factor tables a shape reads, which is larger; the tables a shape does not read are ignored.
| SHAPE_TYPE | Shape of the block's elements. |
| DEFORMED | True when the geometric factors vary within an element. |
| simd_type | SIMD vector type of one interleaved element group. |
| nq0,nq1,nq2 | Quadrature points per direction. |
| df_ptr | Derivative factors of the element group, nine per point. |
| df_tmp | Caller-owned scratch for the factors of the current point. |
| inoffset | Stride, in vectors, between the input's coordinate components. |
| Fac0 | Table of (1 + eta_0)/2. |
| Fac1 | Table of (1 + eta_1)/2. |
| Fac1m | Table of 2/(1 - eta_1). |
| Fac2 | Table of 2/(1 - eta_2). |
| jac_ptr | Jacobians of the element group. |
| w0,w1,w2 | Quadrature weights per direction. |
| inptr | Input vector \({\bf f}\). |
| out | Three output fields, one per reference direction. |
Definition at line 322 of file IProductWRTDerivBaseBlockOpSerialAVXSumFacKernels.hpp.
References Nektar::LibUtilities::Hex, in1, in2, jac, Nektar::LibUtilities::NodalPrism, Nektar::LibUtilities::NodalPyr, Nektar::LibUtilities::NodalTet, out, Nektar::LibUtilities::Prism, Nektar::LibUtilities::Pyr, and Nektar::LibUtilities::Tet.
|
static |
The standard inverse mass of one element group where it is diagonal (StdRegions::StdExpansion::StdInvMassIsDiagonal()), scaled: out[m] = scale * diag[m] * in[m], with diag the nmTot values of the warehouse's StdRegions::eInvMassStdMatDiagonal. On an affine element the inverse mass is the standard one over the Jacobian, which scale may carry, one value per lane. Where it is not diagonal the callers take the libxsmm product instead.
| simd_type | SIMD vector type, one element per lane. |
Definition at line 54 of file MultiplyByElmtInvMassBlockOpSerialAVXGenericKernels.hpp.
References in, nmTot, and out.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyGroupsImpl(), and Nektar::MultiRegions::detail::MultiplyByElmtInvMassBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply().
|
static |
Exchange the mode and quadrature roles of a size parameter.
A switch describes an operator's two grids in the direction it was written for: BlockOpSwitchPhysInterp1D.h.in sweeps the native counts as the mode side and the scaled counts derived from them as the quadrature side. A kernel always reads the mode side as its source and the quadrature side as its target, so an operator consuming the scaled grid and producing the native one – PhysGalerkinProject1DScaled, the reverse of PhysInterp1DScaled – needs those two roles exchanged before it can reuse both the switch and the kernels. Transposing keeps a templated size parameter templated, so the compile-time sizes survive the swap.
Both sides are full tensor-product grids here, so the transposed nmTot is the product of the original quadrature counts.
| TSizeParameter | Plain (modal/quadrature) size parameter of any dimensionality, in either form. |
| sizeParam | Size parameter to transpose; read only for the runtime forms. |
Definition at line 1162 of file ElmtHelper.hpp.
Referenced by Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorND().
| Nektar::MultiRegions::detail::while | ( | ) |
Definition at line 277 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
References append, c, dnbasis0, e, in, jac, nelmt, nm0, numDataIn, numDataJac, numDataOut, out, sum, threadBlock, and warpsize.
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool Nektar::MultiRegions::detail::append |
Definition at line 262 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyFusedImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyGroupsImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyPointwise(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplySeparate(), DispatchWorkSpace(), DispatchWorkSpace(), for(), IProductWRTPhysNormalDerivTrace1DKernel(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::OperatorND(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::OperatorND(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::v_IProductWRTPhysTrace(), and while().
| const unsigned int Nektar::MultiRegions::detail::c = getBlockIdx<1>(threadBlock) |
Definition at line 276 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::ApplyCurl3DH1(), ApplyMetricKernel(), ApplyMetricKernel(), ApplyMetricKernel(), Nektar::MultiRegions::detail::BndCondPhysOpImpl< ExecSpace, TData >::BndCondPhysOpImpl(), DispatchWorkSpace(), DispatchWorkSpace(), for(), Nektar::MultiRegions::detail::AdvectionDealiasOpImpl< ExecSpace, TData >::MultiplyByAdvVelZ(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorCurl3DH1(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::PhysLiftProjectBlockOpImpl(), Nektar::MultiRegions::detail::RobBndCondOpImpl< ExecSpace, TData >::RobBndCondOpImpl(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), and while().
|
constexpr |
Definition at line 382 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by IProductWRTPhysNormalDerivTraceWorkSpaceSize().
|
constexpr |
Definition at line 601 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by IProductWRTPhysNormalDerivTraceWorkSpaceSize().
|
constexpr |
Definition at line 602 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by IProductWRTPhysNormalDerivTraceWorkSpaceSize().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dnbasis0 |
Definition at line 253 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), for(), IProductWRTPhysNormalDerivTrace1DKernel(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), and while().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dnbasis1 |
Definition at line 418 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysNormalDerivTracePerDir2DKernel(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dnbasis2 |
Definition at line 659 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis0 |
Definition at line 423 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir2DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis00 |
Definition at line 666 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis01 |
Definition at line 667 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis1 |
Definition at line 423 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir2DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis10 |
Definition at line 668 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis11 |
Definition at line 669 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis20 |
Definition at line 670 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::dtbasis21 |
Definition at line 671 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| size_t Nektar::MultiRegions::detail::e = getGlobalIdx<0>(threadBlock) |
Definition at line 275 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by AddEdgeN0ToVolKernel(), AddEdgeN1ToVolKernel(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::ApplyCurl3DH1(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyGroupsImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::ApplyImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::ApplyImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::ApplyImpl(), ApplyMetricKernel(), ApplyMetricKernel(), ApplyMetricKernel(), Nektar::MultiRegions::detail::BndCondPhysOpImpl< ExecSpace, TData >::BndCondPhysOpImpl(), Nektar::MultiRegions::detail::CGBndCondSurfaceIntegral< ExecSpace, TData >::BuildMask(), DispatchWorkSpace(), DispatchWorkSpace(), for(), IPWRTPhysEdgeKernel(), JacobianDerivFactorKernel(), JacobianDerivFactorWeightsKernel(), MultiplyByDerivDirFactorKernel(), MultiplyByDerivFactorAndAdvecVelKernel(), MultiplyByDerivFactorKernel(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator0D(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator1D(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator2D(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorCurl3DH1(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDNormalComponent(), PhysExtractEdgeN0EndPtsKernel(), PhysExtractEdgeN1EndPtsKernel(), PhysInterpEdgeKernel(), Nektar::MultiRegions::detail::PhysTraceExtractBndCond< ExecSpace, TData >::PhysTraceExtractBndCond(), Nektar::MultiRegions::detail::RobBndCondOpImpl< ExecSpace, TData >::RobBndCondOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::MultiplyByElmtInvMassBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::ExpressionBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::v_ExtractTrace(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::v_IProductWRTPhysTrace(), and while().
| const size_t Nektar::MultiRegions::detail::edgeSize |
Definition at line 450 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock Nektar::MultiRegions::detail::elmtsPerBlock |
Definition at line 254 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyFused(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyFusedImpl(), for(), IProductWRTPhysNormalDerivTraceSharedMemorySize(), IProductWRTPhysNormalDerivTraceSharedMemorySize(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::LaunchExtractTraceND(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::LaunchIProductWRTPhysTraceND(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::LaunchLiftJacobianWithStageMask(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorCurl3DH1(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemoryBytes(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), and Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::TraceSharedMemorySize().
| const size_t Nektar::MultiRegions::detail::elmtWspSize |
Definition at line 403 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool const bool Nektar::MultiRegions::detail::endPtsColl0 |
Definition at line 431 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), and DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool const bool const bool Nektar::MultiRegions::detail::endPtsColl1 |
Definition at line 431 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), and DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool const bool const bool const bool Nektar::MultiRegions::detail::endPtsColl2 |
Definition at line 686 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const bool const bool Nektar::MultiRegions::detail::endPtsCollocated0 |
Definition at line 263 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTracePerDir2DKernel(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
|
inline |
The name the generated kernel function is compiled under.
Definition at line 127 of file ExpressionBlockOpDeviceGenericHelper.hpp.
Referenced by GetExpressionKernelNameExpressions(), and GetExpressionKernelSource().
Definition at line 626 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Definition at line 627 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Definition at line 628 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::in |
Definition at line 261 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by AddEdgeN0ToVolKernel(), AddEdgeN1ToVolKernel(), AddFaceN0ToVolKernel(), AddFaceN1ToVolKernel(), AddFaceN2ToVolKernel(), Advection1DKernel(), AdvectionKernelLauncher(), AdvectionKernelLauncher(), AdvectionKernelLauncher(), Nektar::MultiRegions::detail::PhysTraceExtractBndCond< ExecSpace, TData >::Apply(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), DispatchWorkSpace(), DispatchWorkSpace(), for(), FwdTransBC1DKernel(), FwdTransBC2DKernel(), FwdTransBCQuadKernel(), FwdTransBCSegKernel(), FwdTransBCTriKernel(), HelmholtzKernelLauncher(), HelmholtzKernelLauncher(), HelmholtzKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTPhysNormalDerivTrace1DKernel(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTrace1DKernel(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysEdgeKernel(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), IPWRTPhysTraceEdgeN0Kernel(), IPWRTPhysTraceEdgeN1Kernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), LaplacianKernelLauncher(), LaplacianKernelLauncher(), LaplacianKernelLauncher(), Nektar::MultiRegions::detail::AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > >::Launch(), Nektar::MultiRegions::detail::AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX > > >::Launch(), Nektar::MultiRegions::detail::DerivZOpImpl< ExecSpace, TData, LAYOUT, DERIVORDER, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > >::Launch(), Nektar::MultiRegions::detail::DerivZOpImpl< ExecSpace, TData, LAYOUT, DERIVORDER, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX > > >::Launch(), LinAdvDiffReactionKernelLauncher(), LinAdvDiffReactionKernelLauncher(), LinAdvDiffReactionKernelLauncher(), MassKernelLauncher(), MassKernelLauncher(), MassKernelLauncher(), Nektar::MultiRegions::detail::AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > >::GraphKey::operator==(), PhysDeriv1DKernel(), PhysDerivDir1DKernel(), PhysDerivKernelLauncher(), PhysDerivKernelLauncher(), PhysDerivKernelLauncher(), PhysExtractEdgeN0EndPtsKernel(), PhysExtractEdgeN1EndPtsKernel(), PhysInterpEdgeKernel(), PhysInterpFaceKernel(), PhysTraceExtractSegKernel(), StdAlignDerivBase1D(), StdInvMassDiagonalScaleKernel(), Nektar::MultiRegions::detail::AssmbScatrOpImpl< ExecSpace, TData, ZERODIR, SIGNCHANGE >::v_Apply(), Nektar::MultiRegions::detail::AvgAssmbScatrOpImpl< ExecSpace, TData >::v_Apply(), Nektar::MultiRegions::detail::RobBndCondOpImpl< ExecSpace, TData >::v_Apply(), Nektar::MultiRegions::detail::FwdTransBCOpImpl< ExecSpace, TData >::v_Apply(), Nektar::MultiRegions::detail::HelmholtzOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::LaplacianOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::LinAdvDiffReactionOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::AdvectionOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::AdvectionDealiasOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::CurlCurlOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::DivergenceOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::PhysDerivOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::IProductWRTDerivBaseOpImpl< ExecSpace, TFieldOut, TData >::v_ApplyFFT(), and while().
| const unsigned int Nektar::MultiRegions::detail::in1 = 2 * fsz0 |
Definition at line 629 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by BwdTransKernelLauncher(), BwdTransKernelLauncher(), Curl3DH1KernelLauncher(), CurlCurlKernelLauncher(), CurlCurlKernelLauncher(), DispatchWorkSpace(), DivergenceKernelLauncher(), DivergenceKernelLauncher(), StdAlignDerivBase2D(), and StdAlignDerivBase3D().
Definition at line 631 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by Curl3DH1KernelLauncher(), CurlCurlKernelLauncher(), DispatchWorkSpace(), DivergenceKernelLauncher(), StdAlignDerivBase2D(), and StdAlignDerivBase3D().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const bool const bool Nektar::MultiRegions::detail::isColl0 |
Definition at line 430 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool Nektar::MultiRegions::detail::isColl00 |
Definition at line 683 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool Nektar::MultiRegions::detail::isColl01 |
Definition at line 684 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const bool const bool const bool Nektar::MultiRegions::detail::isColl1 |
Definition at line 431 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool Nektar::MultiRegions::detail::isColl10 |
Definition at line 684 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool Nektar::MultiRegions::detail::isColl11 |
Definition at line 684 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool Nektar::MultiRegions::detail::isColl20 |
Definition at line 685 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool Nektar::MultiRegions::detail::isColl21 |
Definition at line 685 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace().
|
inlineconstexpr |
Definition at line 1088 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1097 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1106 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1115 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1124 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1133 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1217 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1228 of file ElmtHelper.hpp.
|
inlineconstexpr |
Definition at line 1239 of file ElmtHelper.hpp.
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::jac |
Definition at line 259 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyGroupsImpl(), ApplyMetricKernel(), ApplyMetricKernel(), ApplyMetricKernel(), DiffusionCoeffwithWJHexKernel(), DiffusionCoeffwithWJHexKernel(), DiffusionCoeffwithWJPrismKernel(), DiffusionCoeffwithWJPrismKernel(), DiffusionCoeffwithWJPyrKernel(), DiffusionCoeffwithWJPyrKernel(), DiffusionCoeffwithWJQuadKernel(), DiffusionCoeffwithWJQuadKernel(), DiffusionCoeffwithWJSegKernel(), DiffusionCoeffwithWJSegKernel(), DiffusionCoeffwithWJTetKernel(), DiffusionCoeffwithWJTetKernel(), DiffusionCoeffwithWJTriKernel(), DiffusionCoeffwithWJTriKernel(), DispatchWorkSpace(), DispatchWorkSpace(), for(), FwdTransBC1DKernel(), FwdTransBC2DKernel(), FwdTransBCQuadKernel(), FwdTransBCSegKernel(), FwdTransBCTriKernel(), HelmholtzKernelLauncher(), HelmholtzKernelLauncher(), HelmholtzKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTPhysNormalDerivTrace1DKernel(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), LaplacianKernelLauncher(), LaplacianKernelLauncher(), LaplacianKernelLauncher(), LinAdvDiffReactionKernelLauncher(), LinAdvDiffReactionKernelLauncher(), LinAdvDiffReactionKernelLauncher(), MassKernelLauncher(), MassKernelLauncher(), MassKernelLauncher(), PhysLiftProjectPointScaleKernel(), StdAlignDerivBase1D(), StdAlignDerivBase2D(), StdAlignDerivBase3D(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), and while().
| const unsigned int Nektar::MultiRegions::detail::jac1 = DEFORMED ? in1 : 2 |
Definition at line 630 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by DispatchWorkSpace().
| const unsigned int Nektar::MultiRegions::detail::jac2 = jac1 + (DEFORMED ? nfaceN1 * fsz1 : nfaceN1) |
Definition at line 632 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t Nektar::MultiRegions::detail::jacCompStride |
Definition at line 257 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), and Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl().
| const unsigned int Nektar::MultiRegions::detail::joff1 = (DEFORMED) ? off1 : 2 |
Definition at line 398 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by DispatchWorkSpace(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), and IPWRTPhysNormalDerivTraceFaceGroupKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT Nektar::MultiRegions::detail::nbasis0 |
Definition at line 252 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTracePerDir2DKernel(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::nbasis1 |
Definition at line 417 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTracePerDir2DKernel(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::nbasis2 |
|
constexpr |
Definition at line 447 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), and IPWRTPhysNormalDerivTraceEdgeGroupKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t Nektar::MultiRegions::detail::nelmt |
Definition at line 253 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::ApplyCurl3DH1(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyFusedImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::ApplyImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::ApplyImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::ApplyImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyInvMass(), ApplyMetricKernel(), ApplyMetricKernel(), ApplyMetricKernel(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyPointwise(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyPointwise(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyProjector(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::ApplyStdInvMassProduct(), BuildCGBndCondCoeffMaps(), BuildCGBndCondRegions(), DispatchWorkSpace(), DispatchWorkSpace(), for(), IProductWRTPhysNormalDerivTraceWorkSpaceSize(), IProductWRTPhysNormalDerivTraceWorkSpaceSize(), JacobianDerivFactorKernel(), JacobianDerivFactorWeightsKernel(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::LaunchLiftJacobian(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::LaunchLiftJacobianWithStageMask(), MultiplyByDerivDirFactorKernel(), MultiplyByDerivFactorAndAdvecVelKernel(), MultiplyByDerivFactorKernel(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator0D(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator1D(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator2D(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorCurl3DH1(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::RobBndCondOpImpl< ExecSpace, TData >::RobBndCondOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::MultiplyByElmtInvMassBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::v_Apply(), and while().
|
constexpr |
Definition at line 707 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), and IPWRTPhysNormalDerivTraceFaceGroupKernel().
|
constexpr |
Definition at line 709 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), and IPWRTPhysNormalDerivTraceFaceGroupKernel().
| const unsigned int Nektar::MultiRegions::detail::nm0 = sizeParam1D.nm0() |
Definition at line 272 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), __LAUNCH_BOUNDS__(), __LAUNCH_BOUNDS__(), AddEdgeN0ToVolKernel(), AddEdgeN1ToVolKernel(), AddFaceN0ToVolKernel(), AddFaceN1ToVolKernel(), AddFaceN2ToVolKernel(), Nektar::MultiRegions::detail::BasisDataSize1D::BasisDataSize1D(), Nektar::MultiRegions::detail::BasisDataSize2D< SHAPE_TYPE >::BasisDataSize2D(), Nektar::MultiRegions::detail::BasisDataSize3D< SHAPE_TYPE >::BasisDataSize3D(), BwdTrans2DWorkspace(), BwdTrans3DWorkspace(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), DispatchWorkSpace(), DispatchWorkSpace(), for(), FwdTransBC1DKernel(), FwdTransBC2DKernel(), FwdTransBCQuadKernel(), FwdTransBCSegKernel(), FwdTransBCTriKernel(), IProduct2DWorkspace(), IProduct3DWorkspace(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTPhysNormalDerivTrace1DKernel(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTrace1DKernel(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), IPWRTPhysTraceEdgeN0Kernel(), IPWRTPhysTraceEdgeN1Kernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator1D(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator2D(), Nektar::MultiRegions::detail::PhysTraceExtractBndCond< ExecSpace, TData >::PhysTraceExtractBndCond(), PhysTraceExtractSegKernel(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacTOPKernel(), and while().
| const unsigned int Nektar::MultiRegions::detail::nm1 = sizeParam2D.nm1() |
Definition at line 442 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), __LAUNCH_BOUNDS__(), AddEdgeN0ToVolKernel(), AddEdgeN1ToVolKernel(), AddFaceN0ToVolKernel(), AddFaceN1ToVolKernel(), AddFaceN2ToVolKernel(), Nektar::MultiRegions::detail::BasisDataSize2D< SHAPE_TYPE >::BasisDataSize2D(), Nektar::MultiRegions::detail::BasisDataSize3D< SHAPE_TYPE >::BasisDataSize3D(), BwdTrans2DWorkspace(), BwdTrans3DWorkspace(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), constexpr(), constexpr(), constexpr(), DispatchWorkSpace(), DispatchWorkSpace(), FwdTransBC2DKernel(), FwdTransBCQuadKernel(), FwdTransBCTriKernel(), IProduct3DWorkspace(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceSharedMemorySize(), IProductWRTPhysNormalDerivTraceSharedMemorySize(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), IPWRTPhysTraceEdgeN0Kernel(), IPWRTPhysTraceEdgeN1Kernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator2D(), Nektar::MultiRegions::detail::PhysTraceExtractBndCond< ExecSpace, TData >::PhysTraceExtractBndCond(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacKernel(), and ScaleAddCollapsedFacTOPKernel().
| const unsigned int Nektar::MultiRegions::detail::nm2 = sizeParam3D.nm2() |
Definition at line 698 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), AddFaceN0ToVolKernel(), AddFaceN1ToVolKernel(), AddFaceN2ToVolKernel(), Nektar::MultiRegions::detail::BasisDataSize3D< SHAPE_TYPE >::BasisDataSize3D(), BwdTrans3DWorkspace(), BwdTransKernelLauncher(), constexpr(), DispatchWorkSpace(), IProduct3DWorkspace(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceSharedMemorySize(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), Nektar::MultiRegions::detail::PhysTraceExtractBndCond< ExecSpace, TData >::PhysTraceExtractBndCond(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacKernel(), and ScaleAddCollapsedFacTOPKernel().
Definition at line 376 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), Nektar::MultiRegions::detail::BasisDataSize2D< SHAPE_TYPE >::BasisDataSize2D(), Nektar::MultiRegions::detail::BasisDataSize3D< SHAPE_TYPE >::BasisDataSize3D(), BwdTrans2DWorkspace(), BwdTrans3DWorkspace(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), IProduct3DWorkspace(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTPhysNormalDerivTraceWorkSpaceSize(), IProductWRTPhysNormalDerivTraceWorkSpaceSize(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::LaunchExtractTraceND(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator1D(), Nektar::MultiRegions::detail::FwdTransBCBlockOpImpl< ExecSpace, TData >::Operator2D(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), PhysLiftProjectCoefScaleKernel(), and StdInvMassDiagonalScaleKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int Nektar::MultiRegions::detail::numDataIn |
Definition at line 255 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), for(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::LaunchIProductWRTPhysTraceND(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDNormalComponent(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::v_ExtractTrace(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::v_IProductWRTPhysTrace(), and while().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int Nektar::MultiRegions::detail::numDataJac |
Definition at line 256 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), for(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::LaunchIProductWRTPhysTraceND(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), and while().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int Nektar::MultiRegions::detail::numDataOut |
Definition at line 255 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), for(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::IProductWRTPhysNormalDerivTraceBlockOpImpl(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::LaunchExtractTraceND(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::LaunchIProductWRTPhysTraceND(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDNormalComponent(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::v_ExtractTrace(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::v_IProductWRTPhysTrace(), and while().
| const unsigned int Nektar::MultiRegions::detail::off1 = 2 * tnq00 |
Definition at line 397 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
Referenced by DispatchWorkSpace(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), and IPWRTPhysNormalDerivTraceFaceGroupKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT Nektar::MultiRegions::detail::out |
Definition at line 262 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by AddAdvection1DKernel(), AddAdvection2DKernel(), AddAdvection3DKernel(), AddEdgeN0ToVolKernel(), AddEdgeN1ToVolKernel(), AddFaceN0ToVolKernel(), AddFaceN1ToVolKernel(), AddFaceN2ToVolKernel(), Advection1DKernel(), Advection2DKernel(), Advection3DKernel(), AdvectionDealiasCombineKernel(), AdvectionKernelLauncher(), AdvectionKernelLauncher(), AdvectionKernelLauncher(), Nektar::MultiRegions::detail::PhysTraceExtractBndCond< ExecSpace, TData >::Apply(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), BwdTransKernelLauncher(), ContractTraceNormalKernel(), Curl2DScalarSumFacKernel(), DispatchWorkSpace(), DispatchWorkSpace(), DivergenceKernelLauncher(), DivergenceKernelLauncher(), DivergenceKernelLauncher(), for(), FwdTransBC1DKernel(), FwdTransBC2DKernel(), FwdTransBCQuadKernel(), FwdTransBCSegKernel(), FwdTransBCTriKernel(), HelmholtzKernelLauncher(), HelmholtzKernelLauncher(), HelmholtzKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTDerivBaseKernelLauncher(), IProductWRTPhysNormalDerivTrace1DKernel(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTrace1DKernel(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysEdgeKernel(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), IPWRTPhysTraceEdgeN0Kernel(), IPWRTPhysTraceEdgeN1Kernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), LaplacianKernelLauncher(), LaplacianKernelLauncher(), LaplacianKernelLauncher(), Nektar::MultiRegions::detail::AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > >::Launch(), Nektar::MultiRegions::detail::AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX > > >::Launch(), Nektar::MultiRegions::detail::DerivZOpImpl< ExecSpace, TData, LAYOUT, DERIVORDER, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > >::Launch(), Nektar::MultiRegions::detail::DerivZOpImpl< ExecSpace, TData, LAYOUT, DERIVORDER, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Serial >||std::is_same_v< ExecSpace, NektarSpaces::AVX > > >::Launch(), LinAdvDiffReactionKernelLauncher(), LinAdvDiffReactionKernelLauncher(), LinAdvDiffReactionKernelLauncher(), MassKernelLauncher(), MassKernelLauncher(), MassKernelLauncher(), Nektar::MultiRegions::detail::AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > >::GraphKey::operator==(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDNormalComponent(), PhysDeriv1DKernel(), PhysDeriv2DKernel(), PhysDerivDir1DKernel(), PhysDerivDir2DKernel(), PhysDerivDir3DKernel(), PhysDerivKernelLauncher(), PhysDerivKernelLauncher(), PhysDerivKernelLauncher(), PhysExtractEdgeN0EndPtsKernel(), PhysExtractEdgeN1EndPtsKernel(), PhysInterpEdgeKernel(), PhysInterpFaceKernel(), PhysLiftProjectPointwiseKernel(), PhysTraceExtractSegKernel(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacTOPKernel(), StdAlignDerivBase1D(), StdAlignDerivBase2D(), StdAlignDerivBase3D(), StdInvMassDiagonalScaleKernel(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::v_Apply(), Nektar::MultiRegions::detail::AssmbScatrOpImpl< ExecSpace, TData, ZERODIR, SIGNCHANGE >::v_Apply(), Nektar::MultiRegions::detail::AvgAssmbScatrOpImpl< ExecSpace, TData >::v_Apply(), Nektar::MultiRegions::detail::RobBndCondOpImpl< ExecSpace, TData >::v_Apply(), Nektar::MultiRegions::detail::FwdTransBCOpImpl< ExecSpace, TData >::v_Apply(), Nektar::MultiRegions::detail::HelmholtzOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::LaplacianOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::LinAdvDiffReactionOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::AdvectionOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::AdvectionDealiasOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::CurlCurlOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::DivergenceOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::PhysDerivOpImpl< ExecSpace, TData >::v_ApplyFFT(), Nektar::MultiRegions::detail::IProductWRTDerivBaseOpImpl< ExecSpace, TFieldOut, TData >::v_ApplyFFT(), and while().
|
staticconstexpr |
The most points per element the Device SumFacTOP implementation applies the StdInvMass form of a collapsed shape through the dense projector at (PhysLiftProjectDenseTail()): 125, order 4 on the default rules (5^3 points), the highest order it was measured at, where it is still 1.6 to 1.8 times faster than the sum-factorised kernel on GH200 and MI210. It is not tied to the block size: order 5 has 6^3 = 216 points, so any cap from 125 to 215 admits the same elements. The projector's cost per element grows as nqTot^2, against about nqTot^(4/3) for sum-factorisation, so the crossover lies above order 4; the cap moves there once it is measured.
Definition at line 136 of file PhysLiftProjectBlockOp.hpp.
Referenced by PhysLiftProjectDenseTail(), and Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::WithStdInvMassSizeParameter().
| TData * Nektar::MultiRegions::detail::s_out |
Definition at line 410 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
| TData * Nektar::MultiRegions::detail::s_twoOver1 = nullptr |
Definition at line 453 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by constexpr(), constexpr(), constexpr(), DispatchWorkSpace(), and DispatchWorkSpace().
| TData * Nektar::MultiRegions::detail::s_twoOver2 = nullptr |
Definition at line 722 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by constexpr(), and DispatchWorkSpace().
Definition at line 412 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
| TData* Nektar::MultiRegions::detail::s_wsp = s_twoOver1 + (COLLAPSED ? nm1 : 0u) + elmtWspSize * wspIdx |
Definition at line 409 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
| TData* Nektar::MultiRegions::detail::s_wsp0 = s_twoOver2 + (COLLAPSED2 ? nm2 : 0u) + elmtWspSize * wspIdx |
Definition at line 643 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
| TData* Nektar::MultiRegions::detail::s_wsp1 = s_wsp0 + IProductWRTPhysTraceFaceModeBlockSize(sizeParam3D) |
Definition at line 644 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool const bool const bool const bool unsigned char * Nektar::MultiRegions::detail::shmemptr |
Definition at line 264 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), __LAUNCH_BOUNDS__(), constexpr(), DispatchWorkSpace(), and DispatchWorkSpace().
| unsigned int Nektar::MultiRegions::detail::tableSize = 0 |
Definition at line 454 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by constexpr(), DispatchWorkSpace(), and DispatchWorkSpace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis0 |
Definition at line 422 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), and PhysInterpFaceKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis00 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis01 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis1 |
Definition at line 422 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), and PhysInterpFaceKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis10 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis11 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis20 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tbasis21 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const bool const bool const bool const bool const bool const bool const bool const bool const bool const bool unsigned char const TthreadBlock & Nektar::MultiRegions::detail::threadBlock |
Definition at line 265 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), constexpr(), constexpr(), constexpr(), constexpr(), constexpr(), DispatchWorkSpace(), DispatchWorkSpace(), for(), ScaleAddCollapsedFacTOPKernel(), and while().
| const unsigned int Nektar::MultiRegions::detail::tnq00 = sizeParam2D.nq00() |
Definition at line 443 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter2D< tnm0, tnm1, tnq00, tnq10 >::nq00(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nq00(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter2D< tnm0, tnm1, tnq00, tnq10 >::nqTotTrace(), and Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nqTotTrace().
| const unsigned int Nektar::MultiRegions::detail::tnq01 = sizeParam3D.nq01() |
Definition at line 700 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nq01(), and Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nqTotTrace().
| const unsigned int Nektar::MultiRegions::detail::tnq10 = sizeParam2D.nq10() |
Definition at line 444 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter2D< tnm0, tnm1, tnq00, tnq10 >::nq10(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nq10(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter2D< tnm0, tnm1, tnq00, tnq10 >::nqTotTrace(), and Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nqTotTrace().
| const unsigned int Nektar::MultiRegions::detail::tnq11 = sizeParam3D.nq11() |
Definition at line 702 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nq11(), and Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nqTotTrace().
| const unsigned int Nektar::MultiRegions::detail::tnq20 = sizeParam3D.nq20() |
Definition at line 703 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nq20(), and Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nqTotTrace().
| const unsigned int Nektar::MultiRegions::detail::tnq21 = sizeParam3D.nq21() |
Definition at line 704 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by __LAUNCH_BOUNDS__(), DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nq21(), and Nektar::MultiRegions::detail::TemplatedTraceSizeParameter3D< tnm0, tnm1, tnm2, tnq00, tnq01, tnq10, tnq11, tnq20, tnq21 >::nqTotTrace().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int Nektar::MultiRegions::detail::traceDir0 |
Definition at line 429 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir2DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int Nektar::MultiRegions::detail::traceDir00 |
Definition at line 680 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int Nektar::MultiRegions::detail::traceDir01 |
Definition at line 681 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int Nektar::MultiRegions::detail::traceDir1 |
Definition at line 430 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir2DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int Nektar::MultiRegions::detail::traceDir10 |
Definition at line 681 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int Nektar::MultiRegions::detail::traceDir11 |
Definition at line 682 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int Nektar::MultiRegions::detail::traceDir20 |
Definition at line 682 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT const TData *NEK_RESTRICT TData *NEK_RESTRICT const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int const unsigned int Nektar::MultiRegions::detail::traceDir21 |
Definition at line 683 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw0 |
Definition at line 424 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), and IPWRTPhysTraceFaceN2Kernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw00 |
Definition at line 671 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw01 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw1 |
Definition at line 424 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), and IPWRTPhysTraceFaceN2Kernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw10 |
Definition at line 672 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), and IPWRTPhysNormalDerivTracePerDir3DKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw11 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw20 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::tw21 |
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::twoOver0 |
Definition at line 258 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::twoOver1 |
Definition at line 426 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by constexpr(), constexpr(), constexpr(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacKernel(), and ScaleAddCollapsedFacTOPKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT Nektar::MultiRegions::detail::twoOver2 |
Definition at line 677 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by constexpr(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IPWRTPhysNormalDerivTraceFaceGroupKernel(), IPWRTPhysNormalDerivTracePerDir3DKernel(), ScaleAddCollapsedFacKernel(), ScaleAddCollapsedFacKernel(), and ScaleAddCollapsedFacTOPKernel().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp Nektar::MultiRegions::detail::useSharedMemoryWsp |
Definition at line 260 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by IProductWRTPhysNormalDerivTraceSharedMemorySize(), IProductWRTPhysNormalDerivTraceSharedMemorySize(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::LaunchExtractTraceND(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::LaunchIProductWRTPhysTraceND(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorCurl3DH1(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::OperatorNDImpl(), Nektar::MultiRegions::detail::AdvectionBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::CurlCurlBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::DivergenceBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTPhysNormalDerivTraceBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysDerivBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::PhysTraceExtractBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::SharedMemorySize(), and Nektar::MultiRegions::detail::IProductWRTPhysTraceBlockOpImpl< ExecSpace, Implementation, TData >::TraceSharedMemorySize().
|
constexpr |
Definition at line 273 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by DispatchWorkSpace(), DispatchWorkSpace(), ScaleAddCollapsedFacKernel(), and while().
| NEK_DEVICE_KERNEL void const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const size_t const TElmtsPerBlock const unsigned int const unsigned int const unsigned int const size_t const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TData *NEK_RESTRICT const TUseSharedWsp TData *NEK_RESTRICT Nektar::MultiRegions::detail::wsp |
Definition at line 261 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::NeuBndCondOpImpl< ExecSpace, TData >::BuildRegions(), Curl3DH1KernelLauncher(), CurlCurlKernelLauncher(), CurlCurlKernelLauncher(), CurlCurlKernelLauncher(), Nektar::MultiRegions::detail::DirBndCondOpImpl< ExecSpace, TData >::DirBndCondOpImpl(), DispatchWorkSpace(), DispatchWorkSpace(), Nektar::MultiRegions::detail::BndCondPhysOpImpl< ExecSpace, TData >::EvaluateRegion(), IProductWRTPhysNormalDerivTraceKernelLauncher(), IProductWRTPhysTraceEdgeKernel(), IProductWRTPhysTraceFaceKernel(), IProductWRTPhysTraceKernelLauncher(), IProductWRTPhysTraceKernelLauncher(), IPWRTPhysFaceKernel(), IPWRTPhysNormalDerivTraceEdgeGroupKernel(), IPWRTPhysNormalDerivTracePerDir2DKernel(), IPWRTPhysTraceEdgeN0Kernel(), IPWRTPhysTraceEdgeN1Kernel(), IPWRTPhysTraceFaceN0Kernel(), IPWRTPhysTraceFaceN1Kernel(), IPWRTPhysTraceFaceN2Kernel(), Nektar::MultiRegions::detail::AdvectionZOpImpl< ExecSpace, TData, APPEND, std::enable_if_t< std::is_same_v< ExecSpace, NektarSpaces::Device > > >::GraphKey::operator==(), and PhysInterpFaceKernel().
| const unsigned int Nektar::MultiRegions::detail::wsp0Size |
Definition at line 716 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::AdvectionDealiasBlockOpImpl(), BwdTrans2DWorkspace(), BwdTrans3DWorkspace(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::BwdTransBlockOpImpl(), DispatchWorkSpace(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::HelmholtzBlockOpImpl(), IProduct2DWorkspace(), IProduct3DWorkspace(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::IProductWRTBaseBlockOpImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::IProductWRTDerivBaseBlockOpImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::LaplacianBlockOpImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::LinAdvDiffReactionBlockOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::MassBlockOpImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::SizeWorkspaces(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor(), and Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor().
| const unsigned int Nektar::MultiRegions::detail::wsp1Size |
Definition at line 718 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacKernels.hpp.
Referenced by Nektar::MultiRegions::detail::AdvectionDealiasBlockOpImpl< ExecSpace, Implementation, TData >::AdvectionDealiasBlockOpImpl(), BwdTrans3DWorkspace(), Nektar::MultiRegions::detail::BwdTransBlockOpImpl< ExecSpace, Implementation, TData >::BwdTransBlockOpImpl(), DispatchWorkSpace(), Nektar::MultiRegions::detail::HelmholtzBlockOpImpl< ExecSpace, Implementation, TData >::HelmholtzBlockOpImpl(), IProduct3DWorkspace(), Nektar::MultiRegions::detail::IProductWRTBaseBlockOpImpl< ExecSpace, Implementation, TData >::IProductWRTBaseBlockOpImpl(), Nektar::MultiRegions::detail::IProductWRTDerivBaseBlockOpImpl< ExecSpace, Implementation, TFieldOut, TData >::IProductWRTDerivBaseBlockOpImpl(), Nektar::MultiRegions::detail::LaplacianBlockOpImpl< ExecSpace, Implementation, TData >::LaplacianBlockOpImpl(), Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData >::LinAdvDiffReactionBlockOpImpl(), Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >::MassBlockOpImpl(), Nektar::MultiRegions::detail::PhysLiftProjectBlockOpImpl< ExecSpace, Implementation, TData >::SizeWorkspaces(), Nektar::MultiRegions::detail::PhysGalerkinProject1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor(), and Nektar::MultiRegions::detail::PhysInterp1DScaledBlockOpImpl< ExecSpace, Implementation, TData >::v_SetScaleFactor().
| const unsigned int Nektar::MultiRegions::detail::wspIdx |
Definition at line 401 of file IProductWRTPhysNormalDerivTraceBlockOpDeviceSumFacTOPKernels.hpp.