Lines Matching refs:nmodes
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() local
170 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()
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()
214 …CeedPragmaSIMD for (PetscInt i = 0; i < (*stg_ctx)->nmodes; i++) kappa[i] = kmin * pow((*stg_ctx)-… in GetStgContextData()