Searched refs:VEL (Results 1 – 1 of 1) sorted by relevance
58 const PetscInt VEL = 0; variable740 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 …for (d = 0; d < dim; ++d) f0[0] -= p_th / (u[uOff[TEMP]] * u[uOff[TEMP]]) * u[uOff[VEL] + d] * u_x… in f0_conduct_q()757 f0[c] += u_t[uOff[VEL] + c]; in f0_v()759 for (d = 0; d < dim; ++d) f0[c] += u[uOff[VEL] + d] * u_x[uOff_x[VEL] + c * dim + d]; in f0_v()775 for (d = 0; d < dim; ++d) f0[d] = rho * S * u_t[uOff[VEL] + d]; in f0_conduct_v()779 for (d = 0; d < dim; ++d) f0[c] += rho * u[uOff[VEL] + d] * u_x[uOff_x[VEL] + c * dim + d]; in f0_conduct_v()814 for (c = 0; c < Nc; ++c) u_div += PetscRealPart(u_x[uOff_x[VEL] + c * dim + c]); in f1_conduct_v()818 … = 0; d < dim; ++d) f1[c * dim + d] += coef * (u_x[uOff_x[VEL] + c * dim + d] + u_x[uOff_x[VEL] + … in f1_conduct_v()835 for (d = 0; d < dim; ++d) f0[0] += u[uOff[VEL] + d] * u_x[uOff_x[TEMP] + d]; in f0_w()[all …]