Searched refs:tp_L2 (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex43.c | 1012 PetscScalar h, p_e_L2, u_e_L2, u_e_H1, p_L2, u_L2, u_H1, tp_L2, tu_L2, tu_H1; in DMDAIntegrateErrors() local 1042 tp_L2 = tu_L2 = tu_H1 = 0.0; in DMDAIntegrateErrors() 1079 tp_L2 += p_e_L2; in DMDAIntegrateErrors() 1084 PetscCallMPI(MPIU_Allreduce(&tp_L2, &p_L2, 1, MPIU_SCALAR, MPIU_SUM, PETSC_COMM_WORLD)); in DMDAIntegrateErrors()
|
| H A D | ex42.c | 1279 PetscScalar h, p_e_L2, u_e_L2, u_e_H1, p_L2, u_L2, u_H1, tp_L2, tu_L2, tu_H1; in DMDAIntegrateErrors3D() local 1310 tp_L2 = tu_L2 = tu_H1 = 0.0; in DMDAIntegrateErrors3D() 1401 tp_L2 += p_e_L2; in DMDAIntegrateErrors3D() 1407 PetscCallMPI(MPIU_Allreduce(&tp_L2, &p_L2, 1, MPIU_SCALAR, MPIU_SUM, PETSC_COMM_WORLD)); in DMDAIntegrateErrors3D()
|