Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 5 of 5) sorted by relevance

/honee/qfunctions/
H A Dchannel.h90 CeedScalar wdetJb, norm[3]; in Channel_Inflow() local
91 QdataBoundaryUnpack_3D(Q, i, q_data_sur, &wdetJb, NULL, norm); in Channel_Inflow()
122 const CeedScalar u_normal = Dot3(norm, s_exact.Y.velocity); in Channel_Inflow()
129 …= 0; j < 3; j++) v[j + 1][i] -= wdetJb * (rho_in * u_normal * s_exact.Y.velocity[j] + norm[j] * P); in Channel_Inflow()
149 CeedScalar wdetJb, norm[3]; in Channel_Outflow() local
150 QdataBoundaryUnpack_3D(Q, i, q_data_sur, &wdetJb, NULL, norm); in Channel_Outflow()
163 const CeedScalar u_normal = Dot3(norm, u); // Normal velocity in Channel_Outflow()
169 for (CeedInt j = 0; j < 3; j++) v[j + 1][i] -= wdetJb * (rho * u_normal * u[j] + norm[j] * P); in Channel_Outflow()
/honee/problems/
H A Ddensitycurrent.c59 …PetscReal norm = PetscSqrtReal(PetscSqr(dc_axis[0]) + PetscSqr(dc_axis[1]) + PetscSqr(dc_axis[2])); in NS_DENSITY_CURRENT() local
60 if (norm > 0) { in NS_DENSITY_CURRENT()
61 for (PetscInt i = 0; i < dim; i++) dc_axis[i] /= norm; in NS_DENSITY_CURRENT()
/honee/src/
H A Dsetupts.c311 PetscReal norm; in TSPostStep_CheckStep() local
320 PetscCall(VecNorm(Q, NORM_1, &norm)); in TSPostStep_CheckStep()
321 if (PetscIsInfOrNanReal(norm)) { in TSPostStep_CheckStep()
/honee/doc/
H A Dexamples.md397 …d using the `-reference_{velocity,pressure,temperature}` flags (Euclidean norm of `-reference_velo…
H A Dtheory.md284 … \cdot \nabla_{\bm x} \bm{X}$ is the metric tensor and $\Vert \cdot \Vert_F$ is the Frobenius norm.