Home
last modified time | relevance | path

Searched defs:Vec (Results 1 – 25 of 74) sorted by relevance

123

/petsc/src/binding/petsc4py/demo/python_types/
H A Dmatpython_protocol.py14 def mult(self, A: Mat, x: Vec, y: Vec) -> None:
18 def multAdd(self, A: Mat, x: Vec, y: Vec, z: Vec) -> None:
22 def multTranspose(self, A: Mat, x: Vec, y: Vec) -> None:
26 def multTransposeAdd(self, A: Mat, x: Vec, y: Vec, z: Vec) -> None:
30 def multHermitian(self, A: Mat, x: Vec, y: Vec) -> None:
34 def multHermitianAdd(self, A: Mat, x: Vec, y: Vec, z: Vec) -> None:
46 def multDiagonalBlock(self, A: Mat, x: Vec, y: Vec) -> None:
70 def zeroRowsColumns(self, A: Mat, r: IS, diag: Scalar, x: Vec, b: Vec) -> None:
78 def getDiagonal(self, A: Mat, d: Vec) -> None:
82 def setDiagonal(self, A: Mat, d: Vec, im: InsertMode) -> None:
[all …]
H A Dpcpython_protocol.py12 def apply(self, pc: PC, b: Vec, x: Vec) -> None:
16 def applySymmetricLeft(self, pc: PC, b: Vec, x: Vec) -> None:
20 def applySymmetricRight(self, pc: PC, b: Vec, x: Vec) -> None:
24 def applyTranspose(self, pc: PC, b: Vec, x: Vec) -> None:
32 def preSolve(self, pc: PC, ksp: KSP, b: Vec, x: Vec) -> None:
40 def postSolve(self, pc: PC, ksp: KSP, b: Vec, x: Vec) -> None:
H A Dksppython_protocol.py10 def solve(self, ksp: KSP, b: Vec, x: Vec) -> None:
14 def solveTranspose(self, ksp: KSP, b: Vec, x: Vec) -> None:
30 def buildSolution(self, ksp: KSP, x: Vec) -> None:
34 def buildResidual(self, ksp: KSP, t: Vec, r: Vec) -> None:
H A Dtaopython_protocol.py26 def step(self, tao: TAO, x: Vec, g: Vec, s: Vec):
/petsc/src/ksp/pc/impls/shell/ftn-custom/
H A Dzshellpcf.c114 PETSC_EXTERN void pcshellsetapply_(PC *pc, void (*apply)(void *, Vec *, Vec *, PetscErrorCode *), P… in pcshellsetapply_() argument
122 PETSC_EXTERN void pcshellsetapplysymmetricleft_(PC *pc, void (*apply)(void *, Vec *, Vec *, PetscEr… in pcshellsetapplysymmetricleft_() argument
130 PETSC_EXTERN void pcshellsetapplysymmetricright_(PC *pc, void (*apply)(void *, Vec *, Vec *, PetscE… in pcshellsetapplysymmetricright_() argument
138 PETSC_EXTERN void pcshellsetapplyctx_(PC *pc, void (*apply)(void *, void *, Vec *, Vec *, PetscErro… in pcshellsetapplyctx_() argument
146 PETSC_EXTERN void pcshellsetapplyba_(PC *pc, void (*apply)(void *, PCSide *, Vec *, Vec *, Vec *, P… in pcshellsetapplyba_() argument
154 PETSC_EXTERN void pcshellsetapplyrichardson_(PC *pc, void (*apply)(void *, Vec *, Vec *, Vec *, Pet… in pcshellsetapplyrichardson_() argument
161 PETSC_EXTERN void pcshellsetapplytranspose_(PC *pc, void (*applytranspose)(void *, Vec *, Vec *, Pe… in pcshellsetapplytranspose_() argument
193 PETSC_EXTERN void pcshellsetpresolve_(PC *pc, void (*presolve)(void *, void *, Vec *, Vec *, PetscE… in pcshellsetpresolve_() argument
201 PETSC_EXTERN void pcshellsetpostsolve_(PC *pc, void (*postsolve)(void *, void *, Vec *, Vec *, Pets… in pcshellsetpostsolve_() argument
/petsc/src/ts/utils/
H A Ddmlocalts.c217 PetscErrorCode DMTSSetBoundaryLocal(DM dm, PetscErrorCode (*func)(DM, PetscReal, Vec, Vec, void *),… in DMTSSetBoundaryLocal() argument
250 PetscErrorCode DMTSGetIFunctionLocal(DM dm, PetscErrorCode (**func)(DM, PetscReal, Vec, Vec, Vec, v… in DMTSGetIFunctionLocal() argument
286 PetscErrorCode DMTSSetIFunctionLocal(DM dm, PetscErrorCode (*func)(DM, PetscReal, Vec, Vec, Vec, vo… in DMTSSetIFunctionLocal() argument
322 PetscErrorCode DMTSGetIJacobianLocal(DM dm, PetscErrorCode (**func)(DM, PetscReal, Vec, Vec, PetscR… in DMTSGetIJacobianLocal() argument
356 PetscErrorCode DMTSSetIJacobianLocal(DM dm, PetscErrorCode (*func)(DM, PetscReal, Vec, Vec, PetscRe… in DMTSSetIJacobianLocal() argument
391 PetscErrorCode DMTSGetRHSFunctionLocal(DM dm, PetscErrorCode (**func)(DM, PetscReal, Vec, Vec, void… in DMTSGetRHSFunctionLocal() argument
427 PetscErrorCode DMTSSetRHSFunctionLocal(DM dm, PetscErrorCode (*func)(DM, PetscReal, Vec, Vec, void … in DMTSSetRHSFunctionLocal() argument
/petsc/src/dm/impls/shell/ftn-custom/
H A Dzdmshellf.c97 PETSC_EXTERN void dmshellsetcreateglobalvector_(DM *dm, void (*func)(DM *, Vec *, PetscErrorCode *)… in dmshellsetcreateglobalvector_() argument
104 PETSC_EXTERN void dmshellsetcreatelocalvector_(DM *dm, void (*func)(DM *, Vec *, PetscErrorCode *),… in dmshellsetcreatelocalvector_() argument
111 PETSC_EXTERN void dmshellsetglobaltolocal_(DM *dm, void (*begin)(DM *, Vec *, InsertMode *, Vec *, … in dmshellsetglobaltolocal_() argument
120 PETSC_EXTERN void dmshellsetlocaltoglobal_(DM *dm, void (*begin)(DM *, Vec *, InsertMode *, Vec *, … in dmshellsetlocaltoglobal_() argument
129 PETSC_EXTERN void dmshellsetlocaltolocal_(DM *dm, void (*begin)(DM *, Vec *, InsertMode *, Vec *, P… in dmshellsetlocaltolocal_() argument
/petsc/src/snes/linesearch/interface/ftn-custom/
H A Dzlinesearchf.c32 …chsetprecheck_(SNESLineSearch *linesearch, void (*func)(SNESLineSearch *, Vec *, Vec *, PetscBool … in sneslinesearchsetprecheck_() argument
40 …hsetpostcheck_(SNESLineSearch *linesearch, void (*func)(SNESLineSearch *, Vec *, Vec *, Vec *, Pet… in sneslinesearchsetpostcheck_() argument
/petsc/src/tao/linesearch/interface/ftn-custom/
H A Dztaolinesearchf.c46 …archsetobjectiveroutine_(TaoLineSearch *ls, void (*func)(TaoLineSearch *, Vec *, PetscReal *, void… in taolinesearchsetobjectiveroutine_() argument
57 …earchsetgradientroutine_(TaoLineSearch *ls, void (*func)(TaoLineSearch *, Vec *, Vec *, void *, Pe… in taolinesearchsetgradientroutine_() argument
68 …ctiveandgradientroutine_(TaoLineSearch *ls, void (*func)(TaoLineSearch *, Vec *, PetscReal *, Vec … in taolinesearchsetobjectiveandgradientroutine_() argument
79 …tobjectiveandgtsroutine_(TaoLineSearch *ls, void (*func)(TaoLineSearch *, Vec *, Vec *, PetscReal … in taolinesearchsetobjectiveandgtsroutine_() argument
/petsc/src/snes/interface/ftn-custom/
H A Dzsnesf.c95 PETSC_EXTERN void snesnewtontrsetprecheck_(SNES *snes, void (*func)(SNES, Vec, Vec, PetscBool *, vo… in snesnewtontrsetprecheck_() argument
106 PETSC_EXTERN void snesnewtontrdcsetprecheck_(SNES *snes, void (*func)(SNES, Vec, Vec, PetscBool *, … in snesnewtontrdcsetprecheck_() argument
126 PETSC_EXTERN void snesnewtontrsetpostcheck_(SNES *snes, void (*func)(SNES, Vec, Vec, Vec, PetscBool… in snesnewtontrsetpostcheck_() argument
137 PETSC_EXTERN void snesnewtontrdcsetpostcheck_(SNES *snes, void (*func)(SNES, Vec, Vec, Vec, PetscBo… in snesnewtontrdcsetpostcheck_() argument
203 PETSC_EXTERN void snessetjacobian_(SNES *snes, Mat *A, Mat *B, void (*func)(SNES *, Vec *, Mat *, M… in snessetjacobian_() argument
222 …ssetjacobiannointerface_(SNES *snes, Mat *A, Mat *B, void (*func)(SNES *, Vec *, Mat *, Mat *, voi… in snessetjacobiannointerface_() argument
259 PETSC_EXTERN void snessetpicard_(SNES *snes, Vec *r, void (*func)(SNES, Vec, Vec, void *, PetscErro… in snessetpicard_() argument
270 PETSC_EXTERN void snessetpicardnointerface_(SNES *snes, Vec *r, void (*func)(SNES, Vec, Vec, void *… in snessetpicardnointerface_() argument
275 PETSC_EXTERN void snessetfunction_(SNES *snes, Vec *r, void (*func)(SNES, Vec, Vec, void *, PetscEr… in snessetfunction_() argument
286 PETSC_EXTERN void snessetfunctionnointerface_(SNES *snes, Vec *r, void (*func)(SNES, Vec, Vec, void… in snessetfunctionnointerface_() argument
[all …]
/petsc/src/vec/vec/impls/mpi/
H A Dpvecimpl.h98 …n, PetscInt nv, const Vec y[], PetscScalar *z, PetscErrorCode (*VecMXDot_SeqFn)(Vec, PetscInt, con… in VecMXDot_MPI_Default()
106 …inline PetscErrorCode VecXDot_MPI_Default(Vec xin, Vec yin, PetscScalar *z, PetscErrorCode (*VecXD… in VecXDot_MPI_Default() argument
114 …cMinMax_MPI_Default(Vec xin, PetscInt *idx, PetscReal *z, PetscErrorCode (*VecMinMax_SeqFn)(Vec, P… in VecMinMax_MPI_Default()
137 …rrorCode VecDotNorm2_MPI_Default(Vec s, Vec t, PetscScalar *dp, PetscScalar *nm, PetscErrorCode (*… in VecDotNorm2_MPI_Default() argument
151 … VecNorm_MPI_Default(Vec xin, NormType type, PetscReal *z, PetscErrorCode (*VecNorm_SeqFn)(Vec, No… in VecNorm_MPI_Default()
179Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, Pet… in VecErrorWeightedNorms_MPI_Default() argument
/petsc/include/
H A Dpetsctao_deprecations.h13 …line PetscErrorCode TaoSetObjectiveRoutine(Tao t, PetscErrorCode (*f)(Tao, Vec, PetscReal *, void … in TaoSetObjectiveRoutine() argument
21 …nline PetscErrorCode TaoSetGradientRoutine(Tao t, PetscErrorCode (*f)(Tao, Vec, Vec, void *), void… in TaoSetGradientRoutine() argument
25 …rrorCode TaoSetObjectiveAndGradientRoutine(Tao t, PetscErrorCode (*f)(Tao, Vec, PetscReal *, Vec, … in TaoSetObjectiveAndGradientRoutine() argument
29 …rorCode TaoSetHessianRoutine(Tao t, Mat H, Mat P, PetscErrorCode (*f)(Tao, Vec, Mat, Mat, void *),… in TaoSetHessianRoutine() argument
33 …", ) static inline PetscErrorCode TaoSetSeparableObjectiveRoutine(Tao tao, Vec res, PetscErrorCode… in TaoSetSeparableObjectiveRoutine() argument
/petsc/src/ts/interface/sensitivity/
H A Dtssen.c469 PetscErrorCode TSSetIHessianProduct(TS ts, Vec *ihp1, PetscErrorCode (*ihessianproductfunc1)(TS ts,… in TSSetIHessianProduct() argument
700 …de TSSetRHSHessianProduct(TS ts, Vec rhshp1[], PetscErrorCode (*rhshessianproductfunc1)(TS ts, Pet… in TSSetRHSHessianProduct() argument
1164 PetscErrorCode TSAdjointSetRHSJacobian(TS ts, Mat Amat, PetscErrorCode (*func)(TS, PetscReal, Vec, … in TSAdjointSetRHSJacobian() argument
1272 …char manual[], PetscErrorCode (*monitor)(TS, PetscInt, PetscReal, Vec, PetscInt, Vec *, Vec *, Pet… in TSAdjointMonitorSetFromOptions() argument
/petsc/src/ksp/pc/impls/mg/ftn-custom/
H A Dzmgfuncf.c22 PETSC_EXTERN void pcmgsetresidual_(PC *pc, PetscInt *l, void (*residual)(Mat *, Vec *, Vec *, Vec *… in pcmgsetresidual_() argument
/petsc/src/tao/interface/ftn-custom/
H A Dztaosolverf.c166 PETSC_EXTERN void taosetobjective_(Tao *tao, void (*func)(Tao *, Vec *, PetscReal *, void *, PetscE… in taosetobjective_() argument
173 PETSC_EXTERN void taosetgradient_(Tao *tao, Vec *g, void (*func)(Tao *, Vec *, Vec *, void *, Petsc… in taosetgradient_() argument
180 PETSC_EXTERN void taosetobjectiveandgradient_(Tao *tao, Vec *g, void (*func)(Tao *, Vec *, PetscRea… in taosetobjectiveandgradient_() argument
187 PETSC_EXTERN void taosethessian_(Tao *tao, Mat *J, Mat *Jp, void (*func)(Tao *, Vec *, Mat *, Mat *… in taosethessian_() argument
194 PETSC_EXTERN void taosetresidualroutine_(Tao *tao, Vec *F, void (*func)(Tao *, Vec *, Vec *, void *… in taosetresidualroutine_() argument
201 …jacobianresidualroutine_(Tao *tao, Mat *J, Mat *Jpre, void (*func)(Tao *, Vec *, Mat *, Mat *, voi… in taosetjacobianresidualroutine_() argument
208 PETSC_EXTERN void taosetjacobianroutine_(Tao *tao, Mat *J, Mat *Jp, void (*func)(Tao *, Vec *, Mat … in taosetjacobianroutine_() argument
215 …anstateroutine_(Tao *tao, Mat *J, Mat *Jp, Mat *Jinv, void (*func)(Tao *, Vec *, Mat *, Mat *, Mat… in taosetjacobianstateroutine_() argument
222 PETSC_EXTERN void taosetjacobiandesignroutine_(Tao *tao, Mat *J, void (*func)(Tao *, Vec *, Mat *, … in taosetjacobiandesignroutine_() argument
229 PETSC_EXTERN void taosetvariableboundsroutine_(Tao *tao, void (*func)(Tao *, Vec *, Vec *, void *, … in taosetvariableboundsroutine_() argument
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMShell.pyx142 begin: Callable[[DM, Vec, InsertMode, Vec], None] | None, argument
208 begin: Callable[[DM, Vec, InsertMode, Vec], None] | None, argument
272 begin: Callable[[DM, Vec, InsertMode, Vec], None] | None, argument
/petsc/src/snes/impls/ntrdc/
H A Dntrdc.c125 PetscErrorCode SNESNewtonTRDCSetPreCheck(SNES snes, PetscErrorCode (*func)(SNES, Vec, Vec, PetscBoo… in SNESNewtonTRDCSetPreCheck() argument
152 PetscErrorCode SNESNewtonTRDCGetPreCheck(SNES snes, PetscErrorCode (**func)(SNES, Vec, Vec, PetscBo… in SNESNewtonTRDCGetPreCheck() argument
182 PetscErrorCode SNESNewtonTRDCSetPostCheck(SNES snes, PetscErrorCode (*func)(SNES, Vec, Vec, Vec, Pe… in SNESNewtonTRDCSetPostCheck() argument
209 PetscErrorCode SNESNewtonTRDCGetPostCheck(SNES snes, PetscErrorCode (**func)(SNES, Vec, Vec, Vec, P… in SNESNewtonTRDCGetPostCheck() argument
/petsc/src/dm/impls/shell/
H A Ddmshell.c465 PetscErrorCode DMShellSetCreateGlobalVector(DM dm, PetscErrorCode (*func)(DM, Vec *)) in DMShellSetCreateGlobalVector() argument
530 PetscErrorCode DMShellSetCreateLocalVector(DM dm, PetscErrorCode (*func)(DM, Vec *)) in DMShellSetCreateLocalVector() argument
556 PetscErrorCode DMShellSetGlobalToLocal(DM dm, PetscErrorCode (*begin)(DM, Vec, InsertMode, Vec), Pe… in DMShellSetGlobalToLocal() argument
583 PetscErrorCode DMShellSetLocalToGlobal(DM dm, PetscErrorCode (*begin)(DM, Vec, InsertMode, Vec), Pe… in DMShellSetLocalToGlobal() argument
610 PetscErrorCode DMShellSetLocalToLocal(DM dm, PetscErrorCode (*begin)(DM, Vec, InsertMode, Vec), Pet… in DMShellSetLocalToLocal() argument
814 PetscErrorCode DMShellSetCreateInterpolation(DM dm, PetscErrorCode (*interp)(DM, DM, Mat *, Vec *)) in DMShellSetCreateInterpolation() argument
841 PetscErrorCode DMShellGetCreateInterpolation(DM dm, PetscErrorCode (**interp)(DM, DM, Mat *, Vec *)) in DMShellGetCreateInterpolation() argument
/petsc/src/tao/constrained/impls/admm/ftn-custom/
H A Dzadmmf.c59 PETSC_EXTERN void taoadmmsetmisfitobjectiveandgradientroutine_(Tao *tao, void (*func)(Tao *, Vec *,… in taoadmmsetmisfitobjectiveandgradientroutine_() argument
66 …setmisfithessianroutine_(Tao *tao, Mat *H, Mat *Hpre, void (*func)(Tao *, Vec *, Mat *, Mat *, voi… in taoadmmsetmisfithessianroutine_() argument
73 …isfitconstraintjacobian_(Tao *tao, Mat *J, Mat *Jpre, void (*func)(Tao *, Vec *, Mat *, Mat *, voi… in taoadmmsetmisfitconstraintjacobian_() argument
80 …msetregularizerobjectiveandgradientroutine_(Tao *tao, void (*func)(Tao *, Vec *, PetscReal *, Vec … in taoadmmsetregularizerobjectiveandgradientroutine_() argument
87 …gularizerhessianroutine_(Tao *tao, Mat *H, Mat *Hpre, void (*func)(Tao *, Vec *, Mat *, Mat *, voi… in taoadmmsetregularizerhessianroutine_() argument
94 …rizerconstraintjacobian_(Tao *tao, Mat *J, Mat *Jpre, void (*func)(Tao *, Vec *, Mat *, Mat *, voi… in taoadmmsetregularizerconstraintjacobian_() argument
/petsc/src/mat/matfd/ftn-custom/
H A Dzfdmatrixf.c56 PETSC_EXTERN void matfdcoloringsetfunctionts_(MatFDColoring *fd, void (*f)(TS *, double *, Vec *, V… in matfdcoloringsetfunctionts_() argument
64 PETSC_EXTERN void matfdcoloringsetfunction_(MatFDColoring *fd, void (*f)(SNES *, Vec *, Vec *, void… in matfdcoloringsetfunction_() argument
/petsc/src/ksp/pc/impls/hpddm/ftn-custom/
H A Dzpchpddmf.c10 …iliarymat_(PC *pc, IS *is, Mat *A, PetscErrorCode (*setup)(Mat, PetscReal, Vec, Vec, PetscReal, IS… in pchpddmsetauxiliarymat_() argument
/petsc/src/mat/impls/mffd/ftn-custom/
H A Dzmffdf.c19 PETSC_EXTERN void matmffdsetfunction_(Mat *mat, void (*func)(void *, Vec *, Vec *, PetscErrorCode *… in matmffdsetfunction_() argument
/petsc/src/ts/interface/ftn-custom/
H A Dztsf.c155 PETSC_EXTERN void tsmonitorlgsettransform_(TS *ts, void (*f)(void *, Vec *, Vec *, PetscErrorCode *… in tsmonitorlgsettransform_() argument
178 PETSC_EXTERN void tssetrhsfunction_(TS *ts, Vec *r, void (*f)(TS *, PetscReal *, Vec *, Vec *, void… in tssetrhsfunction_() argument
200 PETSC_EXTERN void tssetifunction_(TS *ts, Vec *r, void (*f)(TS *, PetscReal *, Vec *, Vec *, Vec *,… in tssetifunction_() argument
222 PETSC_EXTERN void tssetrhsjacobian_(TS *ts, Mat *A, Mat *B, void (*f)(TS *, PetscReal *, Vec *, Mat… in tssetrhsjacobian_() argument
235 PETSC_EXTERN void tssetijacobian_(TS *ts, Mat *A, Mat *B, void (*f)(TS *, PetscReal *, Vec *, Vec *… in tssetijacobian_() argument
252 PETSC_EXTERN void tssetijacobianp_(TS *ts, Mat *A, void (*f)(TS *, PetscReal *, Vec *, Vec *, Petsc… in tssetijacobianp_() argument
264 PETSC_EXTERN void tssetrhsjacobianp_(TS *ts, Mat *A, void (*f)(TS *, PetscReal *, Vec *, Mat *, voi… in tssetrhsjacobianp_() argument
281 PETSC_EXTERN void tsmonitorset_(TS *ts, void (*func)(TS *, PetscInt *, PetscReal *, Vec *, void *, … in tsmonitorset_() argument
/petsc/src/ksp/pc/impls/shell/
H A Dshellpc.c312 static PetscErrorCode PCShellSetApply_Shell(PC pc, PetscErrorCode (*apply)(PC, Vec, Vec)) in PCShellSetApply_Shell() argument
332 static PetscErrorCode PCShellSetApplySymmetricLeft_Shell(PC pc, PetscErrorCode (*apply)(PC, Vec, Ve… in PCShellSetApplySymmetricLeft_Shell() argument
341 static PetscErrorCode PCShellSetApplySymmetricRight_Shell(PC pc, PetscErrorCode (*apply)(PC, Vec, V… in PCShellSetApplySymmetricRight_Shell() argument
350 static PetscErrorCode PCShellSetApplyBA_Shell(PC pc, PetscErrorCode (*applyBA)(PC, PCSide, Vec, Vec… in PCShellSetApplyBA_Shell() argument
397 …etscErrorCode PCShellSetApplyTranspose_Shell(PC pc, PetscErrorCode (*applytranspose)(PC, Vec, Vec)) in PCShellSetApplyTranspose_Shell() argument
419 static PetscErrorCode PCShellSetApplyRichardson_Shell(PC pc, PetscErrorCode (*applyrich)(PC, Vec, V… in PCShellSetApplyRichardson_Shell() argument
/petsc/src/tao/leastsquares/impls/brgn/ftn-custom/
H A Dzbrgnf.c27 …nsetregularizerobjectiveandgradientroutine_(Tao *tao, void (*func)(Tao *, Vec *, PetscReal *, Vec … in taobrgnsetregularizerobjectiveandgradientroutine_() argument
34 PETSC_EXTERN void taobrgnsetregularizerhessianroutine_(Tao *tao, Mat *H, void (*func)(Tao *, Vec *,… in taobrgnsetregularizerhessianroutine_() argument

123