Lines Matching refs:nmodes
130 const CeedInt nmodes = stg_ctx->nmodes; in CalcSpectrum() local
136 for (CeedInt n = 0; n < nmodes; n++) { in CalcSpectrum()
143 for (CeedInt n = 0; n < nmodes; n++) qn[n] /= Ektot; in CalcSpectrum()
159 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc() local
167 CeedPragmaSIMD for (CeedInt n = 0; n < nmodes; n++) { in StgShur14Calc()
170 for (CeedInt i = 0; i < 3; i++) xdotd += d[i * nmodes + n] * xhat[i]; in StgShur14Calc()
172 vp[0] += sqrt(qn[n]) * sigma[0 * nmodes + n] * cos_kxdp; in StgShur14Calc()
173 vp[1] += sqrt(qn[n]) * sigma[1 * nmodes + n] * cos_kxdp; in StgShur14Calc()
174 vp[2] += sqrt(qn[n]) * sigma[2 * nmodes + n] * cos_kxdp; in StgShur14Calc()
202 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc_PrecompEktot() local
212 CeedPragmaSIMD for (CeedInt n = 0; n < nmodes; n++) { in StgShur14Calc_PrecompEktot()
215 for (CeedInt i = 0; i < 3; i++) xdotd += d[i * nmodes + n] * xhat[i]; in StgShur14Calc_PrecompEktot()
219 vp[0] += sqrt(qn) * sigma[0 * nmodes + n] * cos_kxdp; in StgShur14Calc_PrecompEktot()
220 vp[1] += sqrt(qn) * sigma[1 * nmodes + n] * cos_kxdp; in StgShur14Calc_PrecompEktot()
221 vp[2] += sqrt(qn) * sigma[2 * nmodes + n] * cos_kxdp; in StgShur14Calc_PrecompEktot()
249 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Preprocess() local
270 CeedPragmaSIMD for (CeedInt n = 0; n < nmodes; n++) { in StgShur14Preprocess()