| /petsc/src/ts/tutorials/ |
| H A D | ex34.c | 52 const PetscScalar hx = i + 1 == info.xs + info.xm ? x[i] - x[i - 1] : x[i + 1] - x[i]; in FormRHSFunction() local 88 const PetscScalar hx = x[i + 1] - x[i]; in FormIFunction() local 93 const PetscScalar hx = x[i] - x[i - 1]; in FormIFunction() local 98 const PetscScalar hx = x[i + 1] - x[i]; in FormIFunction() local 133 const PetscScalar hx = x[i + 1] - x[i]; in FormIJacobian() local 144 const PetscScalar hx = x[i + 1] - x[i]; in FormIJacobian() local 155 const PetscScalar hx = x[i + 1] - x[i]; in FormIJacobian() local 214 PetscReal ftime, hx, dt; in main() local
|
| H A D | ex25.c | 45 PetscReal ftime, hx, dt; in main() local 142 PetscReal hx; in FormIFunction() local 193 PetscReal hx; in FormRHSFunction() local 227 PetscReal hx; in FormIJacobian() local 280 PetscReal hx; in FormInitialSolution() local
|
| H A D | ex13.c | 121 PetscReal two = 2.0, hx, hy, sx, sy; in RHSFunction() local 193 PetscReal hx, hy, sx, sy; in RHSJacobian() local 248 PetscReal hx, hy, x, y, r; in FormInitialSolution() local
|
| H A D | ex35.cxx | 97 PetscReal hx, dt, ftime; in main() local 199 PetscReal hx; in FormIJacobian() local 254 PetscReal hx; in FormRHSFunction() local 293 PetscReal hx; in FormIFunction() local
|
| H A D | ex17.c | 161 PetscReal hx, sx; in FormIFunction() local 217 PetscReal hx, sx; in FormIJacobian() local 278 PetscReal hx, x, r; in FormInitialSolution() local
|
| H A D | ex1.c | 183 PetscReal temp1, temp, hx, hy; in FormInitialGuess() local 217 PetscReal hx, hy, hxdhy, hydhx; in FormFunction() local 271 PetscReal hx, hy, hxdhy, hydhx; in FormJacobian() local
|
| H A D | ex15.c | 160 PetscReal hx, hy, sx, sy; in FormIFunction() local 252 PetscScalar vals[5], hx, hy, sx, sy; in FormIJacobian() local 343 PetscReal hx, hy, x, y, r; in FormInitialSolution() local
|
| /petsc/src/ts/tests/ |
| H A D | ex25.c | 63 PetscReal ftime, hx, dt, xmax, xmin; in Brusselator() local 164 PetscReal hx; in FormIFunction() local 215 PetscReal hx; in FormRHSFunction() local 249 PetscReal hx; in FormIJacobian() local 302 PetscReal hx; in FormInitialSolution() local
|
| H A D | ex21.c | 37 PetscReal lambda, hx, hy; in FormIFunctionLocal() local 78 PetscScalar v[5], lambda, hx, hy; in FormIJacobianLocal() local
|
| /petsc/src/snes/tutorials/ |
| H A D | ex28.c | 40 PetscReal hx = 1. / info->mx; in FormFunctionLocal_U() local 54 PetscReal hx = 1. / info->mx; in FormFunctionLocal_K() local 124 PetscReal hx = 1. / info->mx; in FormJacobianLocal_U() local 145 PetscReal hx = 1. / info->mx; in FormJacobianLocal_K() local 159 PetscReal hx = 1. / info->mx; in FormJacobianLocal_UK() local 181 PetscReal hx = 1. / (info->mx - 1); in FormJacobianLocal_KU() local 282 PetscScalar *u, *k, hx; in FormInitial_Coupled() local
|
| H A D | ex47cu.cu | 79 PetscScalar *xx, *ff, hx; in ComputeFunction() local 154 PetscScalar hx, *xx; in ComputeJacobian() local
|
| H A D | ex55.c | 35 PetscReal lambda, temp1, temp, hx, hy; in FormInitialGuess() local 196 PetscReal lambda, hx, hy, hxdhy, hydhx; in FormFunctionLocal() local 263 PetscReal lambda, hx, hy, hxdhy, hydhx, sc, lobj = 0; in FormObjectiveLocal() local 316 PetscScalar lambda, v[5], hx, hy, hxdhy, hydhx, sc; in FormJacobianLocal() local 411 PetscReal lambda, hx, hy; in FormFunctionMatlab() local 462 PetscReal lambda, hx, hy, hxdhy, hydhx, sc; in NonlinearGS() local
|
| H A D | ex55k.kokkos.cxx | 40 PetscReal lambda, hx, hy, hxdhy, hydhx; in FormFunctionLocalVec() local 119 PetscReal lambda, hx, hy, hxdhy, hydhx, sc, lobj = 0; in FormObjectiveLocalVec() local 178 PetscScalar lambda, hx, hy, hxdhy, hydhx, sc; in FormJacobianLocalVec() local
|
| H A D | ex35.c | 170 PetscScalar v[5], hx, hy, hxdhy, hydhx; in FormMatrix() local 248 PetscReal hx, hy, hxdhy, hydhx; in NonlinearGS() local
|
| /petsc/src/ts/tutorials/advection-diffusion-reaction/ |
| H A D | ex5opt_ic.c | 84 PetscReal hx, hy, x, y; in InitialConditions() local 116 PetscReal hx, hy, x, y; in PerturbedInitialConditions() local 148 PetscReal hx, hy, x, y; in PerturbedInitialConditions2() local 181 PetscReal hx, hy, x, y; in PerturbedInitialConditions3() local
|
| H A D | reaction_diffusion.c | 32 PetscReal hx, hy, sx, sy; in RHSFunction() local 97 PetscReal hx, hy, sx, sy; in RHSJacobian() local 240 PetscReal hx, hy, sx, sy; in IFunction() local 307 PetscReal hx, hy, sx, sy; in IJacobian() local
|
| /petsc/src/binding/petsc4py/demo/legacy/kspsolve/ |
| H A D | petsc-mat.py | 8 hx = 1.0/(m-1) variable
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-swig/ |
| H A D | Bratu3D.c | 25 PetscReal lambda,temp1,hx,hy,hz,tempk,tempj; in FormInitGuess() local 85 PetscReal two = 2.0,lambda,hx,hy,hz,hxhzdhy,hyhzdhx,hxhydhz,sc; in FormFunction() local 162 PetscReal lambda,hx,hy,hz,hxhzdhy,hyhzdhx,hxhydhz,sc; in FormJacobian() local
|
| /petsc/src/ts/tutorials/phasefield/ |
| H A D | heat.c | 154 PetscReal hx, sx; in FormFunction() local 210 PetscReal hx, x, r; in FormInitialSolution() local 280 PetscReal x, y, hx, pause, sx, len, max, xx[2], yy[2]; in MyMonitor() local
|
| H A D | potentials.c | 11 PetscReal x, hx = .1 / Mx, pause, xx[3], yy[3]; in main() local
|
| H A D | biharmonic.c | 201 PetscReal hx, sx; in FormFunction() local 308 PetscReal hx, sx; in FormJacobian() local 398 PetscReal r, hx, x; in FormInitialSolution() local 462 …PetscReal x, y, hx, pause, sx, len, max, xx[4], yy[4], xx_netforce, yy_netforce, yup, ydown, y2… in MyMonitor() local
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-cython/ |
| H A D | Bratu3Dimpl.c | 25 PetscReal lambda,temp1,hx,hy,hz,tempk,tempj; in FormInitGuess() local 86 PetscReal two = 2.0,lambda,hx,hy,hz,hxhzdhy,hyhzdhx,hxhydhz,sc; in FormFunction() local 166 PetscReal lambda,hx,hy,hz,hxhzdhy,hyhzdhx,hxhydhz,sc; in FormJacobian() local
|
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | eptorsion3.c | 51 PetscReal hx, hy; /* mesh spacing in x- and y-directions */ member 205 PetscReal hx = user->hx, hy = user->hy, temp; in FormInitialGuess() local 260 PetscReal hx = user->hx, hy = user->hy, area, three = 3.0, p5 = 0.5; in FormFunction() local 332 PetscReal hx = user->hx, hy = user->hy; in FormGradient() local 535 PetscReal p5 = 0.5, zero = 0.0, one = 1.0, hx, hy, val, area; in HessianProduct() local
|
| H A D | eptorsion1.c | 51 PetscReal hx, hy; /* mesh spacing in x- and y-directions */ member 189 PetscReal hx = user->hx, hy = user->hy, temp; in FormInitialGuess() local 244 PetscReal hx = user->hx, hy = user->hy, area, three = 3.0, p5 = 0.5; in FormFunction() local 316 PetscReal hx = user->hx, hy = user->hy; in FormGradient() local 519 PetscReal p5 = 0.5, zero = 0.0, one = 1.0, hx, hy, val, area; in HessianProduct() local
|
| /petsc/src/ts/tutorials/autodiff/ |
| H A D | adr_ex5adj.cxx | 298 PetscReal hx, hy, x, y; in InitialConditions() local 364 PetscReal hx, hy, sx, sy; in IFunctionLocalPassive() local 404 PetscReal hx, hy, sx, sy; in IFunctionActive() local 531 PetscReal hx, hy, sx, sy; in RHSFunctionPassive() local 611 PetscReal hx, hy, sx, sy; in RHSFunctionActive() local 791 PetscReal hx, hy, sx, sy; in IJacobianByHand() local 921 PetscReal hx, hy, sx, sy; in RHSJacobianByHand() local
|