Home
last modified time | relevance | path

Searched refs:DMGetNamedGlobalVector (Results 1 – 21 of 21) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex29.c43 PetscCall(DMGetNamedGlobalVector(cdm, "coefficient", &c)); in CoefficientCoarsenHook()
44 PetscCall(DMGetNamedGlobalVector(cdmc, "coefficient", &cc)); in CoefficientCoarsenHook()
82 PetscCall(DMGetNamedGlobalVector(cdm, "coefficient", &c)); in CoefficientSubDomainRestrictHook()
133 PetscCall(DMGetNamedGlobalVector(cda, "coefficient", &c)); in main()
H A Dex30.c1252 PetscCall(DMGetNamedGlobalVector(dm, "solution_", &u)); in LoadFromFile()
1385 PetscCall(DMGetNamedGlobalVector(dm, "lumped_mass", lumped_mass)); in DMGetLumpedMass()
1639 PetscCall(DMGetNamedGlobalVector(*dm, "solution_", &u)); in CreateMesh()
1640 PetscCall(DMGetNamedGlobalVector(dmr, "solution_", &ur)); in CreateMesh()
2335 PetscCall(DMGetNamedGlobalVector(dm, "solution_", &ru)); in Run()
/petsc/src/ts/impls/mimex/
H A Dmimex.c21 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSMimex_X0", X0)); in TSMimexGetX0AndXdot()
25 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSMimex_Xdot", Xdot)); in TSMimexGetX0AndXdot()
44 PetscCall(DMGetNamedGlobalVector(dm, "TSMimex_Xstar", Xstar)); in TSMimexGetXstarAndG()
45 PetscCall(DMGetNamedGlobalVector(dm, "TSMimex_G", G)); in TSMimexGetXstarAndG()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex4.c443 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rho", &rho)); in SetupContext()
451 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
464 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
473 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "phi", &phi)); in SetupContext()
487 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "n", &n)); in SetupContext()
496 PetscCall(DMGetNamedGlobalVector(ctx->dmP, "p", &p)); in SetupContext()
505 PetscCall(DMGetNamedGlobalVector(ctx->dmE, "e", &e)); in SetupContext()
525 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "nres", &nres)); in SetupContext()
534 PetscCall(DMGetNamedGlobalVector(ctx->dmP, "pres", &pres)); in SetupContext()
543 PetscCall(DMGetNamedGlobalVector(ctx->dmE, "eres", &eres)); in SetupContext()
[all …]
H A Dex2.c358 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rho", &rho)); in SetupContext()
366 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
379 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in SetupContext()
388 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "phi", &phi)); in SetupContext()
552 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "phi", &phi)); in MonitorEField()
845 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rho", &rho)); in MonitorPoisson()
846 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rhohat", &rhohat)); in MonitorPoisson()
859 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "phi", &phi)); in MonitorPoisson()
1583 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "rho", &rho)); in ComputeFieldAtParticles_Primal()
1629 PetscCall(DMGetNamedGlobalVector(ctx->dmPot, "phi", &phi)); in ComputeFieldAtParticles_Primal()
[all …]
H A Dex3.c268 PetscCall(DMGetNamedGlobalVector(user->dmPot, "phi", &phi)); in MonitorEField()
999 PetscCall(DMGetNamedGlobalVector(user->dmPot, "rho", &rho)); in ComputeFieldAtParticles_Primal()
1044 PetscCall(DMGetNamedGlobalVector(user->dmPot, "phi", &phi)); in ComputeFieldAtParticles_Primal()
1328 PetscCall(DMGetNamedGlobalVector(user->dmPot, "phi", &phi)); in RHSObjectiveF()
/petsc/src/ts/impls/eimex/
H A Deimex.c209 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSEIMEX_Z", Z)); in TSEIMEXGetVecs()
213 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSEIMEX_Ydot", Ydot)); in TSEIMEXGetVecs()
217 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSEIMEX_YdotI", YdotI)); in TSEIMEXGetVecs()
221 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSEIMEX_YdotRHS", YdotRHS)); in TSEIMEXGetVecs()
/petsc/doc/changes/
H A D33.md193 - Added DMGetNamedGlobalVector() for storing persistent
207 evaluation context to obtain the grid. DMGetNamedGlobalVector(),
/petsc/src/ts/impls/implicit/discgrad/
H A Dtsdiscgrad.c35 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSDiscGrad_X0", X0)); in TSDiscGradGetX0AndXdot()
39 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSDiscGrad_Xdot", Xdot)); in TSDiscGradGetX0AndXdot()
/petsc/src/ts/impls/bdf/
H A Dbdf.c61 PetscCall(DMGetNamedGlobalVector(dm, "TSBDF_Vec_Xdot", Xdot)); in TSBDF_GetVecs()
62 PetscCall(DMGetNamedGlobalVector(dm, "TSBDF_Vec_Ydot", Ydot)); in TSBDF_GetVecs()
/petsc/src/ts/impls/rosw/
H A Drosw.c1322 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSRosW_Ydot", Ydot)); in TSRosWGetVecs()
1326 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSRosW_Zdot", Zdot)); in TSRosWGetVecs()
1330 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSRosW_Ystage", Ystage)); in TSRosWGetVecs()
1334 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSRosW_Zstage", Zstage)); in TSRosWGetVecs()
/petsc/src/dm/interface/
H A Ddmget.c411 PetscErrorCode DMGetNamedGlobalVector(DM dm, const char *name, Vec *X) in DMGetNamedGlobalVector() function
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdm.pxi107 PetscErrorCode DMGetNamedGlobalVector(PetscDM, const char[], PetscVec*)
H A DDM.pyx879 restoreGlobalVec, petsc.DMGetGlobalVector, petsc.DMGetNamedGlobalVector
886 CHKERR(DMGetNamedGlobalVector(self.dm, cname, &vg.vec))
/petsc/src/ts/impls/implicit/glle/
H A Dglle.c38 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSGLLE_Z", Z)); in TSGLLEGetVecs()
42 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSGLLE_Ydot", Ydotstage)); in TSGLLEGetVecs()
/petsc/src/ts/impls/implicit/theta/
H A Dtheta.c51 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSTheta_X0", X0)); in TSThetaGetX0AndXdot()
55 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSTheta_Xdot", Xdot)); in TSThetaGetX0AndXdot()
/petsc/src/ts/impls/implicit/irk/
H A Dirk.c435 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSIRK_U", U)); in TSIRKGetVecs()
/petsc/include/
H A Dpetscdm.h76 PETSC_EXTERN PetscErrorCode DMGetNamedGlobalVector(DM, const char *, Vec *);
/petsc/src/ts/impls/glee/
H A Dglee.c650 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSGLEE_Ydot", Ydot)); in TSGLEEGetVecs()
/petsc/src/snes/interface/
H A Dsnes.c663 PetscCall(DMGetNamedGlobalVector(dmfine, "SNESVecSol", &Xfine_named)); in DMRestrictHook_SNESVecSol()
666 PetscCall(DMGetNamedGlobalVector(dmcoarse, "SNESVecSol", &Xcoarse)); in DMRestrictHook_SNESVecSol()
706 PetscCall(DMGetNamedGlobalVector(snes->dm, "SNESVecSol", &Xnamed)); in KSPComputeOperators_SNES()
/petsc/src/ts/impls/arkimex/
H A Darkimex.c1795 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSARKIMEX_Z", Z)); in TSARKIMEXGetVecs()
1799 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSARKIMEX_Ydot", Ydot)); in TSARKIMEXGetVecs()