Home
last modified time | relevance | path

Searched defs:hx (Results 1 – 25 of 86) sorted by relevance

1234

/petsc/src/ts/tutorials/
H A Dex34.c52 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 Dex25.c45 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 Dex13.c121 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 Dex35.cxx97 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 Dex17.c161 PetscReal hx, sx; in FormIFunction() local
217 PetscReal hx, sx; in FormIJacobian() local
278 PetscReal hx, x, r; in FormInitialSolution() local
H A Dex1.c183 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 Dex15.c160 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 Dex25.c63 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 Dex21.c37 PetscReal lambda, hx, hy; in FormIFunctionLocal() local
78 PetscScalar v[5], lambda, hx, hy; in FormIJacobianLocal() local
/petsc/src/snes/tutorials/
H A Dex28.c40 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 Dex47cu.cu79 PetscScalar *xx, *ff, hx; in ComputeFunction() local
154 PetscScalar hx, *xx; in ComputeJacobian() local
H A Dex55.c35 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 Dex55k.kokkos.cxx40 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 Dex35.c170 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 Dex5opt_ic.c84 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 Dreaction_diffusion.c32 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 Dpetsc-mat.py8 hx = 1.0/(m-1) variable
/petsc/src/binding/petsc4py/demo/legacy/wrap-swig/
H A DBratu3D.c25 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 Dheat.c154 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 Dpotentials.c11 PetscReal x, hx = .1 / Mx, pause, xx[3], yy[3]; in main() local
H A Dbiharmonic.c201 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 DBratu3Dimpl.c25 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 Deptorsion3.c51 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 Deptorsion1.c51 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 Dadr_ex5adj.cxx298 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

1234