Searched refs:stokes_e (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex42.c | 1270 StokesDOF stokes_analytic_e[NODES_PER_EL], stokes_e[NODES_PER_EL]; in DMDAIntegrateErrors3D() local 1320 PetscCall(StokesDAGetNodalFields3D(stokes, ei, ej, ek, stokes_e)); in DMDAIntegrateErrors3D() 1332 tint_p = tint_p + fac * Ni_p[i] * stokes_e[i].p_dof; in DMDAIntegrateErrors3D() 1371 PetscCall(StokesDAGetNodalFields3D(stokes, ei, ej, ek, stokes_e)); in DMDAIntegrateErrors3D() 1387 …p_e_L2 = p_e_L2 + fac * Ni_p[i] * (stokes_e[i].p_dof - stokes_analytic_e[i].p_dof) * (stokes_e[i].… in DMDAIntegrateErrors3D() 1389 u_error = stokes_e[i].u_dof - stokes_analytic_e[i].u_dof; in DMDAIntegrateErrors3D() 1390 v_error = stokes_e[i].v_dof - stokes_analytic_e[i].v_dof; in DMDAIntegrateErrors3D() 1391 w_error = stokes_e[i].w_dof - stokes_analytic_e[i].w_dof; in DMDAIntegrateErrors3D()
|
| H A D | ex43.c | 1003 StokesDOF stokes_analytic_e[4], stokes_e[4]; in DMDAIntegrateErrors() local 1050 PetscCall(StokesDAGetNodalFields(stokes, ei, ej, stokes_e)); in DMDAIntegrateErrors() 1066 …p_e_L2 = p_e_L2 + fac * Ni_p[i] * (stokes_e[i].p_dof - stokes_analytic_e[i].p_dof) * (stokes_e[i].… in DMDAIntegrateErrors() 1068 u_error = stokes_e[i].u_dof - stokes_analytic_e[i].u_dof; in DMDAIntegrateErrors() 1069 v_error = stokes_e[i].v_dof - stokes_analytic_e[i].v_dof; in DMDAIntegrateErrors()
|