Searched refs:h0 (Results 1 – 5 of 5) sorted by relevance
82 PetscScalar h0; member
17 …flow_pump = PetscSign(hf - ht + pump->h0) * PetscPowScalar(PetscAbsScalar(hf - ht + pump->h0) / pu… in Flow_Pump()
71 pump->h0 = x[0]; in SetPumpHeadCurveParams()
1029 PetscScalar tmp, res, res0 = 0, h0, h = 0.5 * (L.h + R.h); /* initial guess */ in PhysicsRiemann_Shallow_Exact() local1030 h0 = h; in PhysicsRiemann_Shallow_Exact()1039 if (PetscAbsScalar(res) < 1e-8 || (i > 0 && PetscAbsScalar(h - h0) < 1e-8)) { in PhysicsRiemann_Shallow_Exact()1044 h = 0.8 * h0 + 0.2 * h; in PhysicsRiemann_Shallow_Exact()1049 h0 = h; in PhysicsRiemann_Shallow_Exact()
176 PetscScalar tmp, res, res0 = 0, h0, h = 0.5 * (L.h + R.h); /* initial guess */ in PhysicsRiemann_Shallow_Exact() local177 h0 = h; in PhysicsRiemann_Shallow_Exact()186 …if (PetscAbsScalar(res) < PETSC_SQRT_MACHINE_EPSILON || (i > 0 && PetscAbsScalar(h - h0) < PETSC_S… in PhysicsRiemann_Shallow_Exact()191 h = 0.8 * h0 + 0.2 * h; in PhysicsRiemann_Shallow_Exact()196 h0 = h; in PhysicsRiemann_Shallow_Exact()