Lines Matching refs:nmodes
125 const CeedInt nmodes = stg_ctx->nmodes; in CalcSpectrum() local
131 for (CeedInt n = 0; n < nmodes; n++) { in CalcSpectrum()
138 for (CeedInt n = 0; n < nmodes; n++) qn[n] /= Ektot; in CalcSpectrum()
154 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc() local
162 CeedPragmaSIMD for (CeedInt n = 0; n < nmodes; n++) { in StgShur14Calc()
165 for (CeedInt i = 0; i < 3; i++) xdotd += d[i * nmodes + n] * xhat[i]; in StgShur14Calc()
167 vp[0] += sqrt(qn[n]) * sigma[0 * nmodes + n] * cos_kxdp; in StgShur14Calc()
168 vp[1] += sqrt(qn[n]) * sigma[1 * nmodes + n] * cos_kxdp; in StgShur14Calc()
169 vp[2] += sqrt(qn[n]) * sigma[2 * nmodes + n] * cos_kxdp; in StgShur14Calc()
197 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc_PrecompEktot() local
207 CeedPragmaSIMD for (CeedInt n = 0; n < nmodes; n++) { in StgShur14Calc_PrecompEktot()
210 for (CeedInt i = 0; i < 3; i++) xdotd += d[i * nmodes + n] * xhat[i]; in StgShur14Calc_PrecompEktot()
214 vp[0] += sqrt(qn) * sigma[0 * nmodes + n] * cos_kxdp; in StgShur14Calc_PrecompEktot()
215 vp[1] += sqrt(qn) * sigma[1 * nmodes + n] * cos_kxdp; in StgShur14Calc_PrecompEktot()
216 vp[2] += sqrt(qn) * sigma[2 * nmodes + n] * cos_kxdp; in StgShur14Calc_PrecompEktot()
257 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Preprocess() local
272 CeedPragmaSIMD for (CeedInt n = 0; n < nmodes; n++) { in StgShur14Preprocess()