Searched refs:dh (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ts/tutorials/ |
| H A D | ex42.c | 33 PetscReal a, h, da, dh, d2a, d2h; in RHSFunction() local 56 dh = alpha * a * a + rho_h - mu_h * h; in RHSFunction() 68 dxdt[2 * i + 1] = dh + D_h * d2h; in RHSFunction()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex7.c | 405 PetscScalar *dh; in TestFreeField() local 455 PetscCall(VecGetArray(DHat, &dh)); in TestFreeField() 468 for (PetscInt i = 0; i < dof; ++i) dh[off + i] += tmp[i]; in TestFreeField() 470 for (PetscInt i = 0; i < dof; ++i) dh[off + i] += (M + tmp1) * psih[off + i]; in TestFreeField() 473 PetscCall(VecRestoreArray(DHat, &dh)); in TestFreeField()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex70.c | 872 PetscReal vx[2], vy[2], max_v = 0.0, max_v_step, dh; in SolveTimeDepStokes() local 904 dh = 1.0 / (PetscReal)mx; in SolveTimeDepStokes() 975 npoints_dir_x[0] = (PetscInt)(0.9142 / (0.05 * dh)); in SolveTimeDepStokes() 976 npoints_dir_x[1] = (PetscInt)((0.25 - 0.15) / (0.05 * dh)); in SolveTimeDepStokes() 993 npoints_dir_x[0] = (PetscInt)(0.9142 / (0.25 * dh)); in SolveTimeDepStokes() 994 npoints_dir_x[1] = (PetscInt)(3.0 * dh / (0.25 * dh)); in SolveTimeDepStokes() 997 min[1] = 1.0 - 3.0 * dh; in SolveTimeDepStokes() 1018 PetscCall(PetscRandomSetInterval(r, -randomize_fac * dh, randomize_fac * dh)); in SolveTimeDepStokes() 1205 dt = 0.5 * (dh / max_v_step); in SolveTimeDepStokes()
|
| /petsc/doc/manual/ |
| H A D | ts.md | 312 where $z$ is a new constraint variable, and the Jacobian $\frac{dh}{dz}$ is non-singular everywhere… 330 &= \frac{dh}{du} \dot{u} + \frac{\partial h}{\partial t} \\ 331 &= \frac{dh}{du} f(t, u, z) + \frac{\partial h}{\partial t} 335 If the Jacobian $\frac{dh}{du} \frac{df}{dz}$ is non-singular, then we have precisely a semi-explic…
|