Searched refs:stokes_analytic_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 1321 PetscCall(StokesDAGetNodalFields3D(stokes_analytic, ei, ej, ek, stokes_analytic_e)); in DMDAIntegrateErrors3D() 1331 tint_p_ms = tint_p_ms + fac * Ni_p[i] * stokes_analytic_e[i].p_dof; in DMDAIntegrateErrors3D() 1372 PetscCall(StokesDAGetNodalFields3D(stokes_analytic, ei, ej, ek, stokes_analytic_e)); in DMDAIntegrateErrors3D() 1387 …L2 + fac * Ni_p[i] * (stokes_e[i].p_dof - stokes_analytic_e[i].p_dof) * (stokes_e[i].p_dof - stoke… 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 1051 PetscCall(StokesDAGetNodalFields(stokes_analytic, ei, ej, stokes_analytic_e)); in DMDAIntegrateErrors() 1066 …L2 + fac * Ni_p[i] * (stokes_e[i].p_dof - stokes_analytic_e[i].p_dof) * (stokes_e[i].p_dof - stoke… 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()
|