Searched refs:nmodes (Results 1 – 3 of 3) sorted by relevance
128 …CeedScalar(*d)[stg_ctx->nmodes] = (CeedScalar(*)[stg_ctx->nmodes]) & stg_ctx->data[stg_ctx->of… in ReadStgRand()129 …CeedScalar(*sigma)[stg_ctx->nmodes] = (CeedScalar(*)[stg_ctx->nmodes]) & stg_ctx->data[stg_ctx->of… in ReadStgRand()131 for (PetscInt i = 0; i < stg_ctx->nmodes; i++) { in ReadStgRand()164 PetscInt nmodes = 0, nprofs; in GetStgContextData() local170 PetscCall(PhastaDatFileGetNRows(comm, stg_rand_path, &nmodes)); in GetStgContextData()171 PetscCheck(nmodes < STG_NMODES_MAX, comm, PETSC_ERR_SUP, in GetStgContextData()173 stg_rand_path, nmodes, STG_NMODES_MAX); in GetStgContextData()180 temp_ctx->nmodes = nmodes; in GetStgContextData()184 temp_ctx->offsets.d = nmodes * 3; in GetStgContextData()185 temp_ctx->offsets.phi = temp_ctx->offsets.d + nmodes * 3; in GetStgContextData()[all …]
125 const CeedInt nmodes = stg_ctx->nmodes; in CalcSpectrum() local131 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() local162 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[all …]
14 CeedInt nmodes; // !< Number of wavemodes member