Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex9.c1029 PetscScalar tmp, res, res0 = 0, h0, h = 0.5 * (L.h + R.h); /* initial guess */ in PhysicsRiemann_Shallow_Exact() local
1043 } else if (i > 0 && PetscAbsScalar(res) >= PetscAbsScalar(res0)) { /* Line search */ in PhysicsRiemann_Shallow_Exact()
1048 res0 = res; in PhysicsRiemann_Shallow_Exact()
/petsc/src/ts/tutorials/multirate/
H A Dex4.c176 PetscScalar tmp, res, res0 = 0, h0, h = 0.5 * (L.h + R.h); /* initial guess */ in PhysicsRiemann_Shallow_Exact() local
190 } else if (i > 0 && PetscAbsScalar(res) >= PetscAbsScalar(res0)) { /* Line search */ in PhysicsRiemann_Shallow_Exact()
195 res0 = res; in PhysicsRiemann_Shallow_Exact()