Searched refs:res0 (Results 1 – 2 of 2) sorted by relevance
1029 PetscScalar tmp, res, res0 = 0, h0, h = 0.5 * (L.h + R.h); /* initial guess */ in PhysicsRiemann_Shallow_Exact() local1043 } else if (i > 0 && PetscAbsScalar(res) >= PetscAbsScalar(res0)) { /* Line search */ in PhysicsRiemann_Shallow_Exact()1048 res0 = res; in PhysicsRiemann_Shallow_Exact()
176 PetscScalar tmp, res, res0 = 0, h0, h = 0.5 * (L.h + R.h); /* initial guess */ in PhysicsRiemann_Shallow_Exact() local190 } else if (i > 0 && PetscAbsScalar(res) >= PetscAbsScalar(res0)) { /* Line search */ in PhysicsRiemann_Shallow_Exact()195 res0 = res; in PhysicsRiemann_Shallow_Exact()