Home
last modified time | relevance | path

Searched refs:n (Results 1 – 14 of 14) sorted by relevance

/honee/qfunctions/
H A Dstg_shur14.h131 for (CeedInt n = 0; n < nmodes; n++) { in CalcSpectrum() local
132 const CeedScalar dkappa = n == 0 ? kappa[0] : kappa[n] - kappa[n - 1]; in CalcSpectrum()
133 qn[n] = Calc_qn(kappa[n], dkappa, keta, kcut, ke, 1.0); in CalcSpectrum()
134 Ektot += qn[n]; in CalcSpectrum()
138 for (CeedInt n = 0; n < nmodes; n++) qn[n] /= Ektot; in CalcSpectrum() local
162 CeedPragmaSIMD for (CeedInt n = 0; n < nmodes; n++) { in StgShur14Calc() local
163 xhat[0] = (X[0] - stg_ctx->u0 * t) * Max(2 * kappa[0] / kappa[n], 0.1); in StgShur14Calc()
165 for (CeedInt i = 0; i < 3; i++) xdotd += d[i * nmodes + n] * xhat[i]; in StgShur14Calc()
166 const CeedScalar cos_kxdp = cos(kappa[n] * xdotd + phi[n]); in StgShur14Calc()
167 vp[0] += sqrt(qn[n]) * sigma[0 * nmodes + n] * cos_kxdp; in StgShur14Calc()
[all …]
H A Ddiff_flux_projection.h19 CeedPragmaSIMD for (CeedInt n = 0; n < num_comps; n++) { in ComputeDivDiffusiveFluxGeneric() local
24 const CeedInt offset = Q * n * dim; // offset to reach nth component flux gradients in ComputeDivDiffusiveFluxGeneric()
30 v[n][i] = 0; in ComputeDivDiffusiveFluxGeneric()
31 DivergenceND(grad_qn, dXdx, dim, &v[n][i]); in ComputeDivDiffusiveFluxGeneric()
H A Dnewtonian_state.h263 CEED_QFUNCTION_HELPER StateConservative StateConservativeMult(CeedInt n, const CeedScalar a[], cons… in StateConservativeMult() argument
265 for (CeedInt i = 0; i < n; i++) { in StateConservativeMult()
/honee/doc/
H A Dtheory.md99 + \int_{\partial \Omega} \bm v \cdot \bm{F}(\bm q_N) \cdot \widehat{\bm{n}} \,dS
104 where $\bm{F}(\bm q_N) \cdot \widehat{\bm{n}}$ is typically replaced with a boundary condition.
107 …, $\bm v \cdot \bm S$ contracts over fields while $\bm F \cdot \widehat{\bm n}$ contracts over spa…
120 \bm{q}_N^{n+1} = \bm{q}_N^n + \Delta t \sum_{i=1}^{s} b_i k_i \, ,
127 k_1 &= f(t^n, \bm{q}_N^n)\\
128 k_2 &= f(t^n + c_2 \Delta t, \bm{q}_N^n + \Delta t (a_{21} k_1))\\
129 k_3 &= f(t^n + c_3 \Delta t, \bm{q}_N^n + \Delta t (a_{31} k_1 + a_{32} k_2))\\
131 k_i &= f\left(t^n + c_i \Delta t, \bm{q}_N^n + \Delta t \sum_{j=1}^s a_{ij} k_j \right)\\
138 f(t^n, \bm{q}_N^n) = - [\nabla \cdot \bm{F}(\bm{q}_N)]^n + [S(\bm{q}_N)]^n \, .
147 \bm f(\bm q_N) \equiv \bm g(t^{n+1}, \bm{q}_N, \bm{\dot{q}}_N) = 0 \, ,
[all …]
H A Dexamples.md100 $ mpiexec -n 6 build/navierstokes -options_file examples/vortexshedding.yaml
604 …F}(\bm q_N) \cdot \widehat{\bm{n}} \,dS = \int_{\partial \Omega_{inflow}} \bm v \, E_{wind} \, \bm…
611 …bm{F}(\bm q_N) \cdot \widehat{\bm{n}} \,dS = \int_{\partial \Omega_{outflow}} \bm v \, E \, \bm u …
H A Dauxiliary.md183 … \Omega} \beta v \nabla \overline \phi \cdot (\bm{D}\bm{\Delta})^2 \bm{\hat{n}} \,d\partial\Omega}…
/honee/problems/
H A Ddensitycurrent.c51 PetscInt n = dim; in NS_DENSITY_CURRENT() local
52 PetscCall(PetscOptionsRealArray("-center", "Location of bubble center", NULL, center, &n, NULL)); in NS_DENSITY_CURRENT()
53 n = dim; in NS_DENSITY_CURRENT()
57 NULL, dc_axis, &n, NULL)); in NS_DENSITY_CURRENT()
H A Deulervortex.c102 PetscInt n = dim; in NS_EULER_VORTEX() local
104 …ealArray("-mean_velocity", "Background velocity vector", NULL, mean_velocity, &n, &user_velocity)); in NS_EULER_VORTEX()
106 n = dim; in NS_EULER_VORTEX()
107 PetscCall(PetscOptionsRealArray("-center", "Location of vortex center", NULL, center, &n, NULL)); in NS_EULER_VORTEX()
H A Dadvection.c429 PetscInt n = dim; in NS_ADVECTION() local
431 …PetscCall(PetscOptionsRealArray("-wind_translation", "Constant wind vector", NULL, wind, &n, &user… in NS_ADVECTION()
/honee/examples/meshes/
H A DMakefile3 ALL = $(foreach q,1,$(foreach n,08 12 20 40,cylinder-q$(q)-n$(n).msh))
/honee/tests/createPyTorchModel/
H A Dupdate_weights.py47 m, n = model.net[layer].weight.shape
48 print('weight shape', m, n)
/honee/.gitlab/issue_templates/
H A Dbug_report.md14 $ mpiexec -n 2 ratel-quasistatic -options_file the_bad_test.yml
/honee/tests/
H A Djunit_common.py431 for n, (test_line, true_line) in enumerate(zip(test_lines, true_lines)):
442 uncommented_lines.append(n)
/honee/
H A DDoxyfile278 # "Side Effects:". Note that you cannot put \n's in the value part of an alias