Home
last modified time | relevance | path

Searched refs:DMRestoreNamedGlobalVector (Results 1 – 20 of 20) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex29.c57 PetscCall(DMRestoreNamedGlobalVector(cdm, "coefficient", &c)); in CoefficientCoarsenHook()
58 PetscCall(DMRestoreNamedGlobalVector(cdmc, "coefficient", &cc)); in CoefficientCoarsenHook()
97 PetscCall(DMRestoreNamedGlobalVector(cdm, "coefficient", &c)); in CoefficientSubDomainRestrictHook()
142 PetscCall(DMRestoreNamedGlobalVector(cda, "coefficient", &c)); in main()
H A Dex30.c1255 PetscCall(DMRestoreNamedGlobalVector(dm, "solution_", &u)); in LoadFromFile()
1420 else PetscCall(DMRestoreNamedGlobalVector(dm, "lumped_mass", lumped_mass)); in DMRestoreLumpedMass()
1642 PetscCall(DMRestoreNamedGlobalVector(*dm, "solution_", &u)); in CreateMesh()
1643 PetscCall(DMRestoreNamedGlobalVector(dmr, "solution_", &ur)); in CreateMesh()
2337 PetscCall(DMRestoreNamedGlobalVector(dm, "solution_", &ru)); in Run()
/petsc/src/ts/impls/mimex/
H A Dmimex.c35 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSMimex_X0", X0)); in TSMimexRestoreX0AndXdot()
37 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSMimex_Xdot", Xdot)); in TSMimexRestoreX0AndXdot()
52 PetscCall(DMRestoreNamedGlobalVector(dm, "TSMimex_Xstar", Xstar)); in TSMimexRestoreXstarAndG()
53 PetscCall(DMRestoreNamedGlobalVector(dm, "TSMimex_G", G)); in TSMimexRestoreXstarAndG()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex4.c445 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rho", &rho)); in SetupContext()
454 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
466 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
475 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "phi", &phi)); in SetupContext()
489 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "n", &n)); in SetupContext()
498 PetscCall(DMRestoreNamedGlobalVector(ctx->dmP, "p", &p)); in SetupContext()
507 PetscCall(DMRestoreNamedGlobalVector(ctx->dmE, "e", &e)); in SetupContext()
527 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "nres", &nres)); in SetupContext()
536 PetscCall(DMRestoreNamedGlobalVector(ctx->dmP, "pres", &pres)); in SetupContext()
545 PetscCall(DMRestoreNamedGlobalVector(ctx->dmE, "eres", &eres)); in SetupContext()
[all …]
H A Dex2.c360 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rho", &rho)); in SetupContext()
369 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
381 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
390 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "phi", &phi)); in SetupContext()
556 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "phi", &phi)); in MonitorEField()
856 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rho", &rho)); in MonitorPoisson()
857 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in MonitorPoisson()
861 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "phi", &phi)); in MonitorPoisson()
1626 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "rho", &rho)); in ComputeFieldAtParticles_Primal()
1638 PetscCall(DMRestoreNamedGlobalVector(ctx->dmPot, "phi", &phi)); in ComputeFieldAtParticles_Primal()
[all …]
H A Dex3.c272 PetscCall(DMRestoreNamedGlobalVector(user->dmPot, "phi", &phi)); in MonitorEField()
1041 PetscCall(DMRestoreNamedGlobalVector(user->dmPot, "rho", &rho)); in ComputeFieldAtParticles_Primal()
1053 PetscCall(DMRestoreNamedGlobalVector(user->dmPot, "phi", &phi)); in ComputeFieldAtParticles_Primal()
1331 PetscCall(DMRestoreNamedGlobalVector(user->dmPot, "phi", &phi)); in RHSObjectiveF()
/petsc/src/ts/impls/eimex/
H A Deimex.c231 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSEIMEX_Z", Z)); in TSEIMEXRestoreVecs()
234 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSEIMEX_Ydot", Ydot)); in TSEIMEXRestoreVecs()
237 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSEIMEX_YdotI", YdotI)); in TSEIMEXRestoreVecs()
240 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSEIMEX_YdotRHS", YdotRHS)); in TSEIMEXRestoreVecs()
/petsc/src/ts/impls/implicit/discgrad/
H A Dtsdiscgrad.c49 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSDiscGrad_X0", X0)); in TSDiscGradRestoreX0AndXdot()
52 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSDiscGrad_Xdot", Xdot)); in TSDiscGradRestoreX0AndXdot()
/petsc/src/ts/impls/bdf/
H A Dbdf.c76 PetscCall(DMRestoreNamedGlobalVector(dm, "TSBDF_Vec_Xdot", Xdot)); in TSBDF_RestoreVecs()
77 PetscCall(DMRestoreNamedGlobalVector(dm, "TSBDF_Vec_Ydot", Ydot)); in TSBDF_RestoreVecs()
/petsc/src/ts/impls/rosw/
H A Drosw.c1344 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSRosW_Ydot", Ydot)); in TSRosWRestoreVecs()
1347 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSRosW_Zdot", Zdot)); in TSRosWRestoreVecs()
1350 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSRosW_Ystage", Ystage)); in TSRosWRestoreVecs()
1353 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSRosW_Zstage", Zstage)); in TSRosWRestoreVecs()
/petsc/src/dm/interface/
H A Ddmget.c461 PetscErrorCode DMRestoreNamedGlobalVector(DM dm, const char *name, Vec *X) in DMRestoreNamedGlobalVector() function
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdm.pxi108 PetscErrorCode DMRestoreNamedGlobalVector(PetscDM, const char[], PetscVec*)
H A DDM.pyx906 getGlobalVec, petsc.DMRestoreGlobalVector, petsc.DMRestoreNamedGlobalVector
913 CHKERR(DMRestoreNamedGlobalVector(self.dm, cname, &vg.vec))
/petsc/src/ts/impls/implicit/glle/
H A Dglle.c52 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSGLLE_Z", Z)); in TSGLLERestoreVecs()
55 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSGLLE_Ydot", Ydotstage)); in TSGLLERestoreVecs()
/petsc/src/ts/impls/implicit/theta/
H A Dtheta.c65 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSTheta_X0", X0)); in TSThetaRestoreX0AndXdot()
68 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSTheta_Xdot", Xdot)); in TSThetaRestoreX0AndXdot()
/petsc/src/ts/impls/implicit/irk/
H A Dirk.c445 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSIRK_U", U)); in TSIRKRestoreVecs()
/petsc/include/
H A Dpetscdm.h77 PETSC_EXTERN PetscErrorCode DMRestoreNamedGlobalVector(DM, const char *, Vec *);
/petsc/src/ts/impls/glee/
H A Dglee.c660 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSGLEE_Ydot", Ydot)); in TSGLEERestoreVecs()
/petsc/src/snes/interface/
H A Dsnes.c673 PetscCall(DMRestoreNamedGlobalVector(dmcoarse, "SNESVecSol", &Xcoarse)); in DMRestrictHook_SNESVecSol()
674 if (Xfine_named) PetscCall(DMRestoreNamedGlobalVector(dmfine, "SNESVecSol", &Xfine_named)); in DMRestrictHook_SNESVecSol()
734 if (Xnamed) PetscCall(DMRestoreNamedGlobalVector(snes->dm, "SNESVecSol", &Xnamed)); in KSPComputeOperators_SNES()
/petsc/src/ts/impls/arkimex/
H A Darkimex.c1809 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSARKIMEX_Z", Z)); in TSARKIMEXRestoreVecs()
1812 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSARKIMEX_Ydot", Ydot)); in TSARKIMEXRestoreVecs()