Home
last modified time | relevance | path

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

/libCEED/examples/fluids/qfunctions/
H A Dstabilization.h47 const CeedScalar body_force[5], CeedScalar stab[5][3]) { in Stabilization()
58 for (CeedInt j = 0; j < 5; j++) strong_residual[j] += U_dot[j] - body_force[j]; in Stabilization()
H A Dnewtonian.h85 CeedScalar Tau_d[3], stab[5][3], body_force[5] = {0.}, U_dot[5]; in MassFunction_Newtonian() local
88 Stabilization(context, s, Tau_d, grad_s, U_dot, body_force, stab); in MassFunction_Newtonian()
189 …const CeedScalar body_force[5] = {0, s.U.density * g[0], s.U.density * g[1], s.U.density * g[2], D… in RHSFunction_Newtonian() local
190 for (int j = 0; j < 5; j++) v[j][i] = wdetJ * body_force[j]; in RHSFunction_Newtonian()
202 Stabilization(context, s, Tau_d, grad_s, U_dot, body_force, stab); in RHSFunction_Newtonian()
262 …const CeedScalar body_force[5] = {0, s.U.density * g[0], s.U.density * g[1], s.U.density * g[2], D… in IFunction_Newtonian() local
270 for (CeedInt j = 0; j < 5; j++) v[j][i] = wdetJ * (U_dot[j] - body_force[j]); in IFunction_Newtonian()
280 Stabilization(context, s, Tau_d, grad_s, U_dot, body_force, stab); in IFunction_Newtonian()