Home
last modified time | relevance | path

Searched defs:X (Results 1 – 25 of 492) sorted by relevance

12345678910>>...20

/petsc/src/sys/utils/
H A Dsorti.c68 #define TwoWayPartition1(X, pivot, t1, lo, hi, l, r) \ argument
101 #define TwoWayPartitionReverse1(X, pivot, t1, lo, hi, l, r) \ argument
118 #define TwoWayPartition2(X, Y, pivot, t1, t2, lo, hi, l, r) \ argument
135 #define TwoWayPartition3(X, Y, Z, pivot, t1, t2, t3, lo, hi, l, r) \ argument
153 #define QuickSort1(FuncName, X, n, pivot, t1) \ argument
176 #define QuickSortReverse1(FuncName, X, n, pivot, t1) \ argument
198 #define QuickSort2(FuncName, X, Y, n, pivot, t1, t2) \ argument
220 #define QuickSort3(FuncName, X, Y, Z, n, pivot, t1, t2, t3) \ argument
258 PetscErrorCode PetscSortedInt(PetscCount n, const PetscInt X[], PetscBool *sorted) in PetscSortedInt()
283 PetscErrorCode PetscSortedInt64(PetscCount n, const PetscInt64 X[], PetscBool *sorted) in PetscSortedInt64()
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dex14f.F9087 subroutine FormInitialGuess(X, ierr) argument
144 subroutine ComputeFunction(X, F, ierr) argument
227 subroutine ComputeJacobian(X, jac, ierr) argument
/petsc/src/tao/unconstrained/tutorials/
H A Drosenbrock1f.F9032 subroutine FormFunctionGradient(ta, X, f, G, dummy, ierr) argument
34 type(tVec) X, G local
91 subroutine FormHessian(ta, X, H, PrecH, dummy, ierr) argument
95 type(tVec) X local
H A Deptorsion2f.F90104 subroutine FormFunctionGradient(ta, X, f, G, dummy, ierr) argument
107 type(tVec) X, G local
258 subroutine ComputeHessian(ta, X, H, Hpre, dummy, ierr) argument
260 type(tVec) X local
/petsc/src/ksp/ksp/utils/lmvm/brdn/
H A Dbrdn.c47 PETSC_INTERN PetscErrorCode BroydenKernel_Recursive(Mat B, MatLMVMMode mode, Vec X, Vec BX) in BroydenKernel_Recursive()
107 …N PetscErrorCode BroydenKernelHermitianTranspose_Recursive(Mat B, MatLMVMMode mode, Vec X, Vec BHX) in BroydenKernelHermitianTranspose_Recursive()
153 PETSC_INTERN PetscErrorCode BroydenKernel_CompactDense(Mat B, MatLMVMMode mode, Vec X, Vec BX) in BroydenKernel_CompactDense()
184 …etscErrorCode BroydenKernelHermitianTranspose_CompactDense(Mat B, MatLMVMMode mode, Vec X, Vec BHX) in BroydenKernelHermitianTranspose_CompactDense()
219 PETSC_INTERN PetscErrorCode BroydenKernel_Dense(Mat B, MatLMVMMode mode, Vec X, Vec BX) in BroydenKernel_Dense()
264 PETSC_INTERN PetscErrorCode BroydenKernelHermitianTranspose_Dense(Mat B, MatLMVMMode mode, Vec X, V… in BroydenKernelHermitianTranspose_Dense()
294 static PetscErrorCode MatMult_LMVMBrdn_Recursive(Mat B, Vec X, Vec Z) in MatMult_LMVMBrdn_Recursive()
301 static PetscErrorCode MatMultHermitianTranspose_LMVMBrdn_Recursive(Mat B, Vec X, Vec Z) in MatMultHermitianTranspose_LMVMBrdn_Recursive()
308 static PetscErrorCode MatMult_LMVMBrdn_CompactDense(Mat B, Vec X, Vec Z) in MatMult_LMVMBrdn_CompactDense()
315 static PetscErrorCode MatMultHermitianTranspose_LMVMBrdn_CompactDense(Mat B, Vec X, Vec Z) in MatMultHermitianTranspose_LMVMBrdn_CompactDense()
[all …]
/petsc/src/binding/petsc4py/demo/legacy/wrap-swig/
H A Drun_demo.py15 def formInitGuess(self, X): argument
19 def formFunction(self, snes, X, F): argument
23 def formJacobian(self, snes, X, J, P): argument
47 X = da.createGlobalVec() variable
/petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/
H A Drun_demo.py14 def formInitGuess(self, snes, X): argument
21 def formFunction(self, snes, X, F): argument
29 def formJacobian(self, snes, X, J, P): argument
57 X = da.createGlobalVec() variable
/petsc/src/ksp/ksp/utils/lmvm/dfp/
H A Ddfp.c13 PETSC_INTERN PetscErrorCode DFPKernel_Recursive(Mat B, MatLMVMMode mode, Vec X, Vec BX) in DFPKernel_Recursive()
68 PETSC_INTERN PetscErrorCode DFPKernel_CompactDense(Mat B, MatLMVMMode mode, Vec X, Vec BX) in DFPKernel_CompactDense()
119 PETSC_INTERN PetscErrorCode DFPKernel_Dense(Mat B, MatLMVMMode mode, Vec X, Vec BX) in DFPKernel_Dense()
159 static PetscErrorCode MatMult_LMVMDFP_Recursive(Mat B, Vec X, Vec BX) in MatMult_LMVMDFP_Recursive()
166 static PetscErrorCode MatMult_LMVMDFP_CompactDense(Mat B, Vec X, Vec BX) in MatMult_LMVMDFP_CompactDense()
173 static PetscErrorCode MatMult_LMVMDFP_Dense(Mat B, Vec X, Vec BX) in MatMult_LMVMDFP_Dense()
180 static PetscErrorCode MatSolve_LMVMDFP_Recursive(Mat B, Vec X, Vec HX) in MatSolve_LMVMDFP_Recursive()
187 static PetscErrorCode MatSolve_LMVMDFP_CompactDense(Mat B, Vec X, Vec HX) in MatSolve_LMVMDFP_CompactDense()
/petsc/src/snes/tutorials/
H A Dex5f90t.F9069 subroutine FormFunction(snesIn, X, F, ctx, ierr) argument
72 type(tVec) X, F local
130 subroutine FormInitialGuess(mysnes, X, ierr) argument
134 type(tVec) X local
302 subroutine FormJacobian(mysnes, X, jac, jac_prec, ctx, ierr) argument
305 type(tVec) X local
H A Dex5f90.F9069 subroutine FormFunction(snes, X, F, ctx, ierr) argument
136 subroutine FormInitialGuess(snes, X, ierr) argument
310 subroutine FormJacobian(snes, X, jac, jac_prec, ctx, ierr) argument
/petsc/src/ts/tutorials/
H A Dex1f.F9027 subroutine FormFunction(ts, t, X, F, user, ierr) argument
80 subroutine FormJacobian(ts, ctime, X, JJ, B, user, ierr) argument
144 subroutine FormInitialGuess(X, user, ierr) argument
H A Dex22f_mf.F90197 subroutine FormIFunction(ts, t, X, Xdot, F, ctx, ierr) argument
279 subroutine FormRHSFunction(ts, t, X, F, ctx, ierr) argument
319 subroutine FormIJacobian(ts, t, X, Xdot, shift, J, Jpre, ctx, ierr) argument
383 subroutine FormInitialSolution(ts, X, ctx, ierr) argument
412 subroutine FormIJacobianMF(ts, t, X, Xdot, shift, J, Jpre, ctx, ierr) argument
437 subroutine MyMult(A, X, F, ierr) argument
486 subroutine SaveSolutionToDisk(da, X, gdof, xs, xe) argument
H A Dex8.c31 static PetscErrorCode RoberFunction(TS ts, PetscReal t, Vec X, Vec Xdot, Vec F, PetscCtx ctx) in RoberFunction()
49 static PetscErrorCode RoberJacobian(TS ts, PetscReal t, Vec X, Vec Xdot, PetscReal a, Mat A, Mat B,… in RoberJacobian()
80 static PetscErrorCode RoberSolution(PetscReal t, Vec X, PetscCtx ctx) in RoberSolution()
121 static PetscErrorCode CEFunction(TS ts, PetscReal t, Vec X, Vec Xdot, Vec F, PetscCtx ctx) in CEFunction()
141 static PetscErrorCode CEJacobian(TS ts, PetscReal t, Vec X, Vec Xdot, PetscReal a, Mat A, Mat B, Pe… in CEJacobian()
165 static PetscErrorCode CESolution(PetscReal t, Vec X, PetscCtx ctx) in CESolution()
205 static PetscErrorCode OregoFunction(TS ts, PetscReal t, Vec X, Vec Xdot, Vec F, PetscCtx ctx) in OregoFunction()
223 static PetscErrorCode OregoJacobian(TS ts, PetscReal t, Vec X, Vec Xdot, PetscReal a, Mat A, Mat B,… in OregoJacobian()
254 static PetscErrorCode OregoSolution(PetscReal t, Vec X, PetscCtx ctx) in OregoSolution()
H A Dex22.c44 Vec X; /* solution, residual vectors */ in main() local
142 static PetscErrorCode FormIFunction(TS ts, PetscReal t, Vec X, Vec Xdot, Vec F, void *ptr) in FormIFunction()
173 static PetscErrorCode FormRHSFunction(TS ts, PetscReal t, Vec X, Vec F, void *ptr) in FormRHSFunction()
229 PetscErrorCode FormIJacobian(TS ts, PetscReal t, Vec X, Vec Xdot, PetscReal a, Mat J, Mat Jpre, voi… in FormIJacobian()
270 PetscErrorCode FormInitialSolution(TS ts, Vec X, PetscCtx ctx) in FormInitialSolution()
/petsc/src/binding/petsc4py/demo/legacy/bratu3d/
H A Dbratu3d.py37 def formInitGuess(self, snes, X): argument
62 def formFunction(self, snes, X, F): argument
97 def formJacobian(self, snes, X, J, P): argument
172 X = da.createGlobalVec() variable
/petsc/src/binding/petsc4py/demo/legacy/taosolve/
H A Dchwirut.py37 def formInitialGuess(self, X): argument
42 def formResidual(self, tao, X, F): argument
47 def plotSolution(self, X): argument
/petsc/src/ksp/ksp/utils/lmvm/symbrdn/
H A Dsymbadbrdn.c3 static PetscErrorCode MatMult_LMVMSymBadBrdn_Recursive(Mat B, Vec X, Vec Y) in MatMult_LMVMSymBadBrdn_Recursive()
20 static PetscErrorCode MatSolve_LMVMSymBadBrdn_Recursive(Mat B, Vec X, Vec Y) in MatSolve_LMVMSymBadBrdn_Recursive()
37 static PetscErrorCode MatMult_LMVMSymBadBrdn_CompactDense(Mat B, Vec X, Vec Y) in MatMult_LMVMSymBadBrdn_CompactDense()
54 static PetscErrorCode MatSolve_LMVMSymBadBrdn_CompactDense(Mat B, Vec X, Vec Y) in MatSolve_LMVMSymBadBrdn_CompactDense()
/petsc/src/mat/tests/
H A Dex88.c20 static PetscErrorCode MatMult_User(Mat A, Vec X, Vec Y) in MatMult_User()
30 static PetscErrorCode MatMultTranspose_User(Mat A, Vec X, Vec Y) in MatMultTranspose_User()
40 static PetscErrorCode MatGetDiagonal_User(Mat A, Vec X) in MatGetDiagonal_User()
50 static PetscErrorCode TestMatrix(Mat A, Vec X, Vec Y, Vec Z) in TestMatrix()
196 Vec X, Y, Z; in main() local
/petsc/src/ts/tutorials/autodiff/
H A Dex16adj.cxx33 static PetscErrorCode RHSFunctionPassive(TS ts, PetscReal t, Vec X, Vec F, PetscCtx ctx) in RHSFunctionPassive()
53 static PetscErrorCode RHSFunctionActive(TS ts, PetscReal t, Vec X, Vec F, PetscCtx ctx) in RHSFunctionActive()
86 static PetscErrorCode RHSFunctionActiveP(TS ts, PetscReal t, Vec X, Vec F, PetscCtx ctx) in RHSFunctionActiveP()
119 static PetscErrorCode RHSJacobian(TS ts, PetscReal t, Vec X, Mat A, Mat B, PetscCtx ctx) in RHSJacobian()
134 static PetscErrorCode RHSJacobianP(TS ts, PetscReal t, Vec X, Mat A, PetscCtx ctx) in RHSJacobianP()
149 static PetscErrorCode Monitor(TS ts, PetscInt step, PetscReal t, Vec X, PetscCtx ctx) in Monitor()
/petsc/src/ksp/ksp/utils/lmvm/bfgs/
H A Dbfgs.c15 …BFGSKernel_Recursive_Inner(Mat B, MatLMVMMode mode, PetscInt oldest, PetscInt next, Vec X, Vec B0X) in BFGSKernel_Recursive_Inner()
99 PETSC_INTERN PetscErrorCode BFGSKernel_Recursive(Mat B, MatLMVMMode mode, Vec X, Vec Y) in BFGSKernel_Recursive()
173 PETSC_INTERN PetscErrorCode BFGSKernel_CompactDense(Mat B, MatLMVMMode mode, Vec X, Vec BX) in BFGSKernel_CompactDense()
228 static PetscErrorCode MatMult_LMVMBFGS_Recursive(Mat B, Vec X, Vec Y) in MatMult_LMVMBFGS_Recursive()
235 static PetscErrorCode MatMult_LMVMBFGS_CompactDense(Mat B, Vec X, Vec Y) in MatMult_LMVMBFGS_CompactDense()
242 static PetscErrorCode MatSolve_LMVMBFGS_Recursive(Mat B, Vec X, Vec HX) in MatSolve_LMVMBFGS_Recursive()
249 static PetscErrorCode MatSolve_LMVMBFGS_CompactDense(Mat B, Vec X, Vec HX) in MatSolve_LMVMBFGS_CompactDense()
256 static PetscErrorCode MatSolve_LMVMBFGS_Dense(Mat B, Vec X, Vec HX) in MatSolve_LMVMBFGS_Dense()
/petsc/src/ts/tests/
H A Dex14.c5 static PetscErrorCode RHSFunction(TS ts, PetscReal t, Vec X, Vec F, PetscCtx ctx) in RHSFunction()
24 PetscErrorCode TestCheckStage(TSAdapt adapt, TS ts, PetscReal t, Vec X, PetscBool *accept) in TestCheckStage()
38 Vec U, X, Y; in TestExplicitTS() local
133 Vec X; in main() local
/petsc/src/tao/leastsquares/tutorials/
H A Dtomography.c136 PetscErrorCode EvaluateResidual(Tao tao, Vec X, Vec F, void *ptr) in EvaluateResidual()
149 PetscErrorCode EvaluateJacobian(Tao tao, Vec X, Mat J, Mat Jpre, void *ptr) in EvaluateJacobian()
157 PetscErrorCode EvaluateRegularizerObjectiveAndGradient(Tao tao, Vec X, PetscReal *f_reg, Vec G_reg,… in EvaluateRegularizerObjectiveAndGradient()
176 PetscErrorCode EvaluateRegularizerHessian(Tao tao, Vec X, Mat Hreg, void *ptr) in EvaluateRegularizerHessian()
184 PetscErrorCode FormStartingPoint(Vec X, AppCtx *user) in FormStartingPoint()
/petsc/src/tao/snes/
H A Dtaosnes.c33 static PetscErrorCode TAOSNESObj(SNES snes, Vec X, PetscReal *f, PetscCtx ctx) in TAOSNESObj()
42 static PetscErrorCode TAOSNESFunc(SNES snes, Vec X, Vec F, PetscCtx ctx) in TAOSNESFunc()
51 static PetscErrorCode TAOSNESJac(SNES snes, Vec X, Mat A, Mat P, PetscCtx ctx) in TAOSNESJac()
64 Vec X; in TAOSNESMonitor() local
/petsc/src/tao/pde_constrained/tutorials/
H A Dhyperbolic.c217 PetscErrorCode FormFunction(Tao tao, Vec X, PetscReal *f, void *ptr) in FormFunction()
241 PetscErrorCode FormGradient(Tao tao, Vec X, Vec G, void *ptr) in FormGradient()
265 PetscErrorCode FormFunctionGradient(Tao tao, Vec X, PetscReal *f, Vec G, void *ptr) in FormFunctionGradient()
299 PetscErrorCode FormJacobianState(Tao tao, Vec X, Mat J, Mat JPre, Mat JInv, void *ptr) in FormJacobianState()
323 PetscErrorCode FormJacobianDesign(Tao tao, Vec X, Mat J, void *ptr) in FormJacobianDesign()
332 PetscErrorCode StateMatMult(Mat J_shell, Vec X, Vec Y) in StateMatMult()
353 PetscErrorCode StateMatMultTranspose(Mat J_shell, Vec X, Vec Y) in StateMatMultTranspose()
376 PetscErrorCode StateMatBlockMult(Mat J_shell, Vec X, Vec Y) in StateMatBlockMult()
392 PetscErrorCode StateMatBlockMultTranspose(Mat J_shell, Vec X, Vec Y) in StateMatBlockMultTranspose()
409 PetscErrorCode DesignMatMult(Mat J_shell, Vec X, Vec Y) in DesignMatMult()
[all …]
/petsc/src/snes/tests/
H A Dex1f.F9077 subroutine FormInitialGuess(X, ierr) argument
176 subroutine FormFunction(snes, X, F, fdcoloring, ierr) argument
306 subroutine FormJacobian(snes, X, jac, jac_prec, dummy, ierr) argument

12345678910>>...20