Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex76.c60 const PetscInt TEMP = 2; variable
737 f0[0] += -u_t[uOff[TEMP]] * S * p_th / PetscSqr(u[uOff[TEMP]]); in f0_conduct_q()
740 for (d = 0; d < dim; ++d) f0[0] += p_th / u[uOff[TEMP]] * u_x[uOff_x[VEL] + d * dim + d]; in f0_conduct_q()
743 …(d = 0; d < dim; ++d) f0[0] -= p_th / (u[uOff[TEMP]] * u[uOff[TEMP]]) * u[uOff[VEL] + d] * u_x[uOf… in f0_conduct_q()
769 const PetscReal rho = p_th / PetscRealPart(u[uOff[TEMP]]); in f0_conduct_v()
833 f0[0] += u_t[uOff[TEMP]]; in f0_w()
835 for (d = 0; d < dim; ++d) f0[0] += u[uOff[VEL] + d] * u_x[uOff_x[TEMP] + d]; in f0_w()
847 f0[0] = c_p * S * p_th / u[uOff[TEMP]] * u_t[uOff[TEMP]]; in f0_conduct_w()
850 …for (d = 0; d < dim; ++d) f0[0] += c_p * p_th / u[uOff[TEMP]] * u[uOff[VEL] + d] * u_x[uOff_x[TEMP in f0_conduct_w()
872 for (d = 0; d < dim; ++d) f1[d] = k / Pe * u_x[uOff_x[TEMP] + d]; in f1_conduct_w()
[all …]