Home
last modified time | relevance | path

Searched refs:inject (Results 1 – 25 of 28) sorted by relevance

12

/petsc/src/dm/tests/
H A Dex21.c45 Mat inject; in test1_DAInjection3d() local
56 PetscCall(DMCreateInjection(cdac, cdaf, &inject)); in test1_DAInjection3d()
57 PetscCall(MatScatterGetVecScatter(inject, &vscat)); in test1_DAInjection3d()
60 PetscCall(MatDestroy(&inject)); in test1_DAInjection3d()
/petsc/src/snes/impls/fas/
H A Dfasimpls.h21 Mat inject; /* injection operator (unscaled) */ member
H A Dfas.c13 PetscCall(MatDestroy(&fas->inject)); in SNESReset_FAS()
129 if (!fas->inject) { in SNESSetUp_FAS()
131 if (hasCreateInjection) PetscCall(DMCreateInjection(next->dm, snes->dm, &fas->inject)); in SNESSetUp_FAS()
471 if (fas->inject) { in SNESFASRestrict()
472 PetscCall(MatRestrict(fas->inject, Xfine, Xcoarse)); in SNESFASRestrict()
860 PetscCall(DMRestrict(dm, ffas->restrct, ffas->rscale, ffas->inject, dmcoarse)); in SNESSolve_FAS()
970 fas->inject = NULL; in SNESCreate_FAS()
H A Dfasfunc.c673 *mat = fas->inject; in SNESFASCycleGetInjection()
895 PetscCall(MatDestroy(&fas->inject)); in SNESFASSetInjection()
897 fas->inject = mat; in SNESFASSetInjection()
926 *mat = fas->inject; in SNESFASGetInjection()
/petsc/src/dm/impls/da/
H A Ddainterp.c1052 static PetscErrorCode DMCreateInjection_DA_1D(DM dac, DM daf, VecScatter *inject) in DMCreateInjection_DA_1D() argument
1101 PetscCall(VecScatterCreate(vecf, isf, vecc, NULL, inject)); in DMCreateInjection_DA_1D()
1108 static PetscErrorCode DMCreateInjection_DA_2D(DM dac, DM daf, VecScatter *inject) in DMCreateInjection_DA_2D() argument
1167 PetscCall(VecScatterCreate(vecf, isf, vecc, NULL, inject)); in DMCreateInjection_DA_2D()
1174 static PetscErrorCode DMCreateInjection_DA_3D(DM dac, DM daf, VecScatter *inject) in DMCreateInjection_DA_3D() argument
1257 PetscCall(VecScatterCreate(vecf, isf, vecc, NULL, inject)); in DMCreateInjection_DA_3D()
1269 VecScatter inject = NULL; in DMCreateInjection_DA() local
1288 PetscCall(DMCreateInjection_DA_1D(dac, daf, &inject)); in DMCreateInjection_DA()
1290 PetscCall(DMCreateInjection_DA_2D(dac, daf, &inject)); in DMCreateInjection_DA()
1292 PetscCall(DMCreateInjection_DA_3D(dac, daf, &inject)); in DMCreateInjection_DA()
[all …]
H A Dda.c1286 Mat inject; in DMCoarsen_DA() local
1295 PetscCall(DMCreateInjection(cdac, cdaf, &inject)); in DMCoarsen_DA()
1296 PetscCall(MatScatterGetVecScatter(inject, &vscat)); in DMCoarsen_DA()
1299 PetscCall(MatDestroy(&inject)); in DMCoarsen_DA()
/petsc/include/petsc/private/
H A Dpcmgimpl.h42 Mat inject; /* Used for moving state if provided. */ member
/petsc/src/dm/impls/shell/
H A Ddmshell.c918 PetscErrorCode DMShellSetCreateInjection(DM dm, PetscErrorCode (*inject)(DM, DM, Mat *)) in DMShellSetCreateInjection()
926 dm->ops->createinjection = inject; in DMShellSetCreateInjection()
945 PetscErrorCode DMShellGetCreateInjection(DM dm, PetscErrorCode (**inject)(DM, DM, Mat *)) in DMShellGetCreateInjection()
953 *inject = dm->ops->createinjection; in DMShellGetCreateInjection()
/petsc/src/ksp/pc/impls/mg/
H A Dmgfunc.c480 PetscCall(MatDestroy(&mglevels[l]->inject)); in PCMGSetInjection()
482 mglevels[l]->inject = mat; in PCMGSetInjection()
513 if (mat) *mat = mglevels[l]->inject; in PCMGGetInjection()
H A Dmg.c219 PetscCall(MatDestroy(&mglevels[i + 1]->inject)); in PCReset_MG()
1030 if (dmhasinject && !mglevels[i + 1]->inject) { in PCSetUp_MG()
/petsc/src/snes/impls/vi/rs/
H A Dvirs.c97 Mat inject; in DMCoarsen_SNESVI() local
132 PetscCall(DMCreateInjection(*dm2, dm1, &inject)); in DMCoarsen_SNESVI()
133 PetscCall(MatRestrict(inject, finemarked, coarsemarked)); in DMCoarsen_SNESVI()
134 PetscCall(MatDestroy(&inject)); in DMCoarsen_SNESVI()
/petsc/src/dm/interface/
H A Ddmcoordinates.c10 Mat inject; in DMRestrictHook_Coordinates() local
20 PetscCall(DMCreateInjection(dmc_coord, dm_coord, &inject)); in DMRestrictHook_Coordinates()
21 PetscCall(MatRestrict(inject, coords, ccoords)); in DMRestrictHook_Coordinates()
22 PetscCall(MatDestroy(&inject)); in DMRestrictHook_Coordinates()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdm.pxi299 PetscMat inject, argument
307 cdef Mat Inject = ref_Mat(inject)
H A DDM.pyx1554 cdef Mat inject = Mat()
1555 CHKERR(DMCreateInjection(self.dm, dm.dm, &inject.mat))
1556 return inject
/petsc/src/ts/impls/symplectic/basicsymplectic/
H A Dbasicsymplectic.c261 static PetscErrorCode DMRestrictHook_BasicSymplectic(DM fine, Mat restrct, Vec rscale, Mat inject, … in DMRestrictHook_BasicSymplectic() argument
/petsc/src/ts/impls/eimex/
H A Deimex.c301 static PetscErrorCode DMRestrictHook_TSEIMEX(DM fine, Mat restrct, Vec rscale, Mat inject, DM coars… in DMRestrictHook_TSEIMEX() argument
/petsc/src/ts/impls/implicit/discgrad/
H A Dtsdiscgrad.c63 static PetscErrorCode DMRestrictHook_TSDiscGrad(DM fine, Mat restrct, Vec rscale, Mat inject, DM co… in DMRestrictHook_TSDiscGrad() argument
/petsc/src/ts/impls/bdf/
H A Dbdf.c93 static PetscErrorCode DMRestrictHook_TSBDF(DM fine, Mat restrct, Vec rscale, Mat inject, DM coarse,… in DMRestrictHook_TSBDF() argument
/petsc/src/ts/impls/implicit/irk/
H A Dirk.c529 static PetscErrorCode DMRestrictHook_TSIRK(DM fine, Mat restrct, Vec rscale, Mat inject, DM coarse,… in DMRestrictHook_TSIRK() argument
/petsc/src/ts/impls/glee/
H A Dglee.c718 static PetscErrorCode DMRestrictHook_TSGLEE(DM fine, Mat restrct, Vec rscale, Mat inject, DM coarse… in DMRestrictHook_TSGLEE() argument
/petsc/src/ts/impls/rosw/
H A Drosw.c1364 static PetscErrorCode DMRestrictHook_TSRosW(DM fine, Mat restrct, Vec rscale, Mat inject, DM coarse… in DMRestrictHook_TSRosW() argument
/petsc/src/ts/impls/implicit/glle/
H A Dglle.c66 static PetscErrorCode DMRestrictHook_TSGLLE(DM fine, Mat restrct, Vec rscale, Mat inject, DM coarse… in DMRestrictHook_TSGLLE() argument
/petsc/src/ts/impls/multirate/
H A Dmprk.c945 static PetscErrorCode DMRestrictHook_TSMPRK(DM fine, Mat restrct, Vec rscale, Mat inject, DM coarse… in DMRestrictHook_TSMPRK() argument
/petsc/src/ts/impls/explicit/rk/
H A Drk.c1113 static PetscErrorCode DMRestrictHook_TSRK(DM fine, Mat restrct, Vec rscale, Mat inject, DM coarse, … in DMRestrictHook_TSRK() argument
/petsc/src/ts/impls/implicit/theta/
H A Dtheta.c79 static PetscErrorCode DMRestrictHook_TSTheta(DM fine, Mat restrct, Vec rscale, Mat inject, DM coars… in DMRestrictHook_TSTheta() argument

12