Home
last modified time | relevance | path

Searched refs:DMKSP (Results 1 – 10 of 10) sorted by relevance

/petsc/src/ksp/ksp/interface/
H A Ddmksp.c5 static PetscErrorCode DMKSPDestroy(DMKSP *kdm) in DMKSPDestroy()
19 static PetscErrorCode DMKSPCreate(MPI_Comm comm, DMKSP *kdm) in DMKSPCreate()
60 static PetscErrorCode DMKSPCopy(DMKSP kdm, DMKSP nkdm) in DMKSPCopy()
104 PetscErrorCode DMGetDMKSP(DM dm, DMKSP *kspdm) in DMGetDMKSP()
108 *kspdm = (DMKSP)dm->dmksp; in DMGetDMKSP()
135 PetscErrorCode DMGetDMKSPWrite(DM dm, DMKSP *kspdm) in DMGetDMKSPWrite()
137 DMKSP kdm; in DMGetDMKSPWrite()
144 DMKSP oldkdm = kdm; in DMGetDMKSPWrite()
148 PetscCall(DMKSPDestroy((DMKSP *)&dm->dmksp)); in DMGetDMKSPWrite()
177 PetscCall(DMKSPDestroy((DMKSP *)&dmdest->dmksp)); in DMCopyDMKSP()
[all …]
H A Diterativ.c1972 DMKSP kdm; in KSPSetDM()
H A Ditfunc.c366 DMKSP kdm; in KSPSetUp()
/petsc/doc/developers/
H A Dcallbacks.md24 Three levels of KSP/DM share the same DMKSP
28 objects share a common `DMKSP` object. The code to access the inner
29 `DMKSP` object is
33 DMKSP dmksp;
38 To obtain a new DMKSP object for which you can change the callback
39 functions (or their contexts) without affecting the original DMKSP, call
43 DMKSP dmksp;
53 Two levels of KSP/DM share the same DMKSP; one has its own private copy
56 The `DMKSP` object is essentially the list of callback functions and
60 typedef struct _p_DMKSP *DMKSP;
[all …]
/petsc/src/ksp/ksp/interface/ftn-custom/
H A Dzdmkspf.c17 DMKSP kdm; in ourkspcomputerhs()
27 DMKSP kdm; in ourkspcomputeinitialguess()
37 DMKSP kdm; in ourkspcomputeoperators()
51 DMKSP kdm; in dmkspsetcomputerhs_()
61 DMKSP kdm; in dmkspsetcomputeinitialguess_()
72 DMKSP kdm; in dmkspsetcomputeoperators_()
/petsc/include/petsc/private/
H A Dkspimpl.h284 typedef struct _p_DMKSP *DMKSP; typedef
290 PetscErrorCode (*destroy)(DMKSP *);
291 PetscErrorCode (*duplicate)(DMKSP, DMKSP);
338 PETSC_EXTERN PetscErrorCode DMGetDMKSP(DM, DMKSP *);
339 PETSC_EXTERN PetscErrorCode DMGetDMKSPWrite(DM, DMKSP *);
/petsc/src/snes/tutorials/output/
H A Dex19_tut_6.out111 DMKSP interface 1 1 656 0.
H A Dex19_tut_4.out108 DMKSP interface 1 1 656 0.
H A Dex19_tut_5.out116 DMKSP interface 6 6 3936 0.
H A Dex19_tut_7.out123 DMKSP interface 6 6 3936 0.