Home
last modified time | relevance | path

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

/libCEED/examples/fluids/qfunctions/
H A Deulervortex.h556 …const CeedScalar face_normal = norm[0] * mean_velocity[0] + norm[1] * mean_velocity[1] + norm[2] *… in TravelingVortex_Inflow() local
562 if (face_normal > 0) { in TravelingVortex_Inflow()
571 v[0][i] -= wdetJb * rho_inlet * face_normal; in TravelingVortex_Inflow()
574 …for (CeedInt j = 0; j < 3; j++) v[j + 1][i] -= wdetJb * (rho_inlet * face_normal * mean_velocity[j… in TravelingVortex_Inflow()
577 v[4][i] -= wdetJb * face_normal * (E_inlet + P_inlet); in TravelingVortex_Inflow()
612 …const CeedScalar face_normal = norm[0] * mean_velocity[0] + norm[1] * mean_velocity[1] + norm[2] *… in Euler_Outflow() local
618 if (face_normal > 0) { // outflow in Euler_Outflow()