Lines Matching refs:nmodes
132 …CeedScalar(*d)[stg_ctx->nmodes] = (CeedScalar(*)[stg_ctx->nmodes]) & stg_ctx->data[stg_ctx->of… in ReadStgRand()
133 …CeedScalar(*sigma)[stg_ctx->nmodes] = (CeedScalar(*)[stg_ctx->nmodes]) & stg_ctx->data[stg_ctx->of… in ReadStgRand()
135 for (PetscInt i = 0; i < stg_ctx->nmodes; i++) { in ReadStgRand()
168 PetscInt nmodes, nprofs; in GetStgContextData() local
171 PetscCall(PhastaDatFileGetNRows(comm, stg_rand_path, &nmodes)); in GetStgContextData()
173 PetscCheck(nmodes < STG_NMODES_MAX, comm, PETSC_ERR_SUP, in GetStgContextData()
175 nmodes, STG_NMODES_MAX); in GetStgContextData()
181 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()
186 temp_ctx->offsets.kappa = temp_ctx->offsets.phi + nmodes; in GetStgContextData()
187 temp_ctx->offsets.wall_dist = temp_ctx->offsets.kappa + nmodes; in GetStgContextData()
215 …CeedPragmaSIMD for (PetscInt i = 0; i < (*stg_ctx)->nmodes; i++) { kappa[i] = kmin * pow((*stg_ctx… in GetStgContextData()