Home
last modified time | relevance | path

Searched refs:stg_ctx (Results 1 – 2 of 2) sorted by relevance

/libCEED/examples/fluids/qfunctions/
H A Dstg_shur14.h42 const StgShur14Context stg_ctx) { in InterpolateProfile() argument
43 const CeedInt nprofs = stg_ctx->nprofs; in InterpolateProfile()
44 const CeedScalar *prof_wd = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in InterpolateProfile()
45 const CeedScalar *prof_eps = &stg_ctx->data[stg_ctx->offsets.eps]; in InterpolateProfile()
46 const CeedScalar *prof_lt = &stg_ctx->data[stg_ctx->offsets.lt]; in InterpolateProfile()
47 const CeedScalar *prof_ubar = &stg_ctx->data[stg_ctx->offsets.ubar]; in InterpolateProfile()
48 const CeedScalar *prof_cij = &stg_ctx->data[stg_ctx->offsets.cij]; in InterpolateProfile()
129 … const CeedScalar nu, CeedScalar qn[], const StgShur14Context stg_ctx) { in CalcSpectrum() argument
130 const CeedInt nmodes = stg_ctx->nmodes; in CalcSpectrum()
131 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in CalcSpectrum()
[all …]
/libCEED/examples/fluids/problems/
H A Dstg_shur14.c63 …ReadStgInflow(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], StgShur14Context stg_ctx) { in ReadStgInflow() argument
74 CeedScalar rij[6][stg_ctx->nprofs]; in ReadStgInflow()
75 CeedScalar *wall_dist = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in ReadStgInflow()
76 CeedScalar *eps = &stg_ctx->data[stg_ctx->offsets.eps]; in ReadStgInflow()
77 CeedScalar *lt = &stg_ctx->data[stg_ctx->offsets.lt]; in ReadStgInflow()
78 …CeedScalar(*ubar)[stg_ctx->nprofs] = (CeedScalar(*)[stg_ctx->nprofs]) & stg_ctx->data[stg_ctx->off… in ReadStgInflow()
80 for (PetscInt i = 0; i < stg_ctx->nprofs; i++) { in ReadStgInflow()
104 …CeedScalar(*cij)[stg_ctx->nprofs] = (CeedScalar(*)[stg_ctx->nprofs]) & stg_ctx->data[stg_ctx->offs… in ReadStgInflow()
105 PetscCall(CalcCholeskyDecomp(comm, stg_ctx->nprofs, rij, cij)); in ReadStgInflow()
120 …e ReadStgRand(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], StgShur14Context stg_ctx) { in ReadStgRand() argument
[all …]