Home
last modified time | relevance | path

Searched refs:wall_dist (Results 1 – 3 of 3) sorted by relevance

/honee/qfunctions/
H A Dstg_shur14.h36 CEED_QFUNCTION_HELPER void InterpolateProfile(const CeedScalar wall_dist, CeedScalar ubar[3], CeedS… in InterpolateProfile() argument
39 const CeedScalar *prof_wd = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in InterpolateProfile()
47 if (wall_dist < prof_wd[i]) { in InterpolateProfile()
54 CeedScalar coeff = (wall_dist - prof_wd[idx - 1]) / (prof_wd[idx] - prof_wd[idx - 1]); in InterpolateProfile()
102 CEED_QFUNCTION_HELPER void SpectrumConstants(const CeedScalar wall_dist, const CeedScalar eps, cons… in SpectrumConstants() argument
105 *ke = wall_dist == 0 ? 1e16 : 2 * M_PI / Min(2 * wall_dist, 3 * lt); in SpectrumConstants()
107 *kcut = M_PI / Min(Max(Max(hNodSep[1], hNodSep[2]), 0.3 * (*hmax)) + 0.1 * wall_dist, *hmax); in SpectrumConstants()
123 CEED_QFUNCTION_HELPER void CalcSpectrum(const CeedScalar wall_dist, const CeedScalar eps, const Cee… in CalcSpectrum() argument
129 SpectrumConstants(wall_dist, eps, lt, h_node_sep, nu, &hmax, &ke, &keta, &kcut); in CalcSpectrum()
194 … const CeedScalar Ektot, const CeedScalar h_node_sep[3], const CeedScalar wall_dist, in StgShur14Calc_PrecompEktot() argument
[all …]
H A Dstg_shur14_type.h32 size_t wall_dist; // !< Distance to wall for Inflow Profie, [nprof] member
/honee/problems/
H A Dstg_shur14.c71 CeedScalar *wall_dist = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in ReadStgInflow() local
82 wall_dist[i] = (CeedScalar)atof(array[0]); in ReadStgInflow()
95 …PetscCheck(wall_dist[i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Distance to wall in %s cannot be n… in ReadStgInflow()
187 temp_ctx->offsets.wall_dist = temp_ctx->offsets.kappa + nmodes; in GetStgContextData()
188 temp_ctx->offsets.ubar = temp_ctx->offsets.wall_dist + nprofs; in GetStgContextData()
204 CeedScalar *wall_dist = &(*stg_ctx)->data[(*stg_ctx)->offsets.wall_dist]; in GetStgContextData() local
209 le = PetscMin(2 * wall_dist[i], 3 * lt[i]); in GetStgContextData()