| /libCEED/examples/petsc/src/ |
| H A D | petscutils.c | 66 static double right(const double eps, const double x) { return (x <= 0.5) ? (2 - eps) * x : 1 + eps… in right() argument 69 static double left(const double eps, const double x) { return 1 - right(eps, 1 - x); } in left() argument 74 PetscErrorCode Kershaw(DM dm_orig, PetscScalar eps) { in Kershaw() argument 92 c[i + 1] = left(eps, y); in Kershaw() 93 c[i + 2] = left(eps, z); in Kershaw() 97 c[i + 1] = step(left(eps, y), right(eps, y), lambda); in Kershaw() 98 c[i + 2] = step(left(eps, z), right(eps, z), lambda); in Kershaw() 101 c[i + 1] = step(right(eps, y), left(eps, y), lambda / 2); in Kershaw() 102 c[i + 2] = step(right(eps, z), left(eps, z), lambda / 2); in Kershaw() 105 c[i + 1] = step(right(eps, y), left(eps, y), (1 + lambda) / 2); in Kershaw() [all …]
|
| /libCEED/examples/fluids/qfunctions/ |
| H A D | stg_shur14.h | 41 …const CeedScalar wall_dist, CeedScalar ubar[3], CeedScalar cij[6], CeedScalar *eps, CeedScalar *lt, in InterpolateProfile() argument 45 const CeedScalar *prof_eps = &stg_ctx->data[stg_ctx->offsets.eps]; in InterpolateProfile() 70 *eps = prof_eps[idx - 1] + coeff * (prof_eps[idx] - prof_eps[idx - 1]); in InterpolateProfile() 82 *eps = prof_eps[nprofs - 1]; in InterpolateProfile() 107 CEED_QFUNCTION_HELPER void SpectrumConstants(const CeedScalar wall_dist, const CeedScalar eps, cons… in SpectrumConstants() argument 111 *keta = 2 * M_PI * pow(Cube(nu) / eps, -0.25); in SpectrumConstants() 128 CEED_QFUNCTION_HELPER void CalcSpectrum(const CeedScalar wall_dist, const CeedScalar eps, const Cee… in CalcSpectrum() argument 134 SpectrumConstants(wall_dist, eps, lt, h_node_sep, nu, &hmax, &ke, &keta, &kcut); in CalcSpectrum() 200 … const CeedScalar eps, const CeedScalar lt, const CeedScalar nu, CeedScalar u[3], in StgShur14Calc_PrecompEktot() argument 208 SpectrumConstants(wall_dist, eps, lt, h_node_sep, nu, &hmax, &ke, &keta, &kcut); in StgShur14Calc_PrecompEktot() [all …]
|
| H A D | stg_shur14_type.h | 42 size_t eps; // !< Turbulent Disspation [nprof, 6] member
|
| /libCEED/examples/fluids/problems/ |
| H A D | bc_freestream.c | 259 CeedScalar eps = 4e-7; // Finite difference step in TestRiemannHLL_fwd() local 299 Y1_left[i] *= 1 + eps; in TestRiemannHLL_fwd() 301 Y1_right[i % 5] *= 1 + eps; in TestRiemannHLL_fwd() 310 for (int j = 0; j < 5; j++) dFlux_fd[j] = (Flux1[j] - Flux0[j]) / eps; in TestRiemannHLL_fwd() 321 CeedScalar eps = 4e-7; // Finite difference step in TestRiemannHLLC_fwd() local 361 Y1_left[i] *= 1 + eps; in TestRiemannHLLC_fwd() 363 Y1_right[i % 5] *= 1 + eps; in TestRiemannHLLC_fwd() 372 for (int j = 0; j < 5; j++) dFlux_fd[j] = (Flux1[j] - Flux0[j]) / eps; in TestRiemannHLLC_fwd() 383 CeedScalar eps = 4e-7; // Finite difference step in TestComputeHLLSpeeds_Roe_fwd() local 426 Y1_left[i] *= 1 + eps; in TestComputeHLLSpeeds_Roe_fwd() [all …]
|
| H A D | stg_shur14.c | 76 CeedScalar *eps = &stg_ctx->data[stg_ctx->offsets.eps]; in ReadStgInflow() local 97 eps[i] = (CeedScalar)atof(array[13]); in ReadStgInflow() 101 …PetscCheck(eps[i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Turbulent dissipation in %s cannot be ne… in ReadStgInflow() 190 temp_ctx->offsets.eps = temp_ctx->offsets.cij + nprofs * 6; in GetStgContextData() 191 temp_ctx->offsets.lt = temp_ctx->offsets.eps + nprofs; in GetStgContextData()
|
| H A D | newtonian.c | 74 CeedScalar eps = 4e-7; // Finite difference step in TestState_fwd() local 96 for (int j = 0; j < 5; j++) A1[j] = (1 + eps * (i == j)) * A0[j]; in TestState_fwd() 100 for (int j = 0; j < 5; j++) dB_fd[j] = (B1[j] - B0[j]) / eps; in TestState_fwd()
|
| /libCEED/examples/petsc/ |
| H A D | multigrid.c | 54 PetscScalar eps = 1.0; in main() local 93 …OptionsScalar("-eps", "Epsilon parameter for Kershaw mesh transformation", NULL, eps, &eps, NULL)); in main() 94 …if (eps > 1 || eps <= 0) SETERRQ(PETSC_COMM_WORLD, PETSC_ERR_ARG_OUTOFRANGE, "-eps %g must be (0,1… in main() 144 PetscCall(Kershaw(dm_orig, eps)); in main()
|
| /libCEED/examples/petsc/include/ |
| H A D | petscutils.h | 22 PetscErrorCode Kershaw(DM dm_orig, PetscScalar eps);
|
| /libCEED/examples/fluids/ |
| H A D | index.md | 787 eps 815 epsC[eps] 820 eps --Copy--> epsC; 836 [d_w] [u_1] [u_2] [u_3] [R_11] [R_22] [R_33] [R_12] [R_13] [R_23] [sclr_1] [sclr_2] [l_t] [eps] 858 | $\varepsilon$ | eps | Yes | No |
|