| /petsc/src/ts/tutorials/ |
| H A D | ex29.c | 43 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 D | ex30.c | 1252 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 D | mimex.c | 21 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 D | ex4.c | 443 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 D | ex2.c | 358 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 D | ex3.c | 268 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 D | eimex.c | 209 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 D | 33.md | 193 - Added DMGetNamedGlobalVector() for storing persistent 207 evaluation context to obtain the grid. DMGetNamedGlobalVector(),
|
| /petsc/src/ts/impls/implicit/discgrad/ |
| H A D | tsdiscgrad.c | 35 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 D | bdf.c | 61 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 D | rosw.c | 1322 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 D | dmget.c | 411 PetscErrorCode DMGetNamedGlobalVector(DM dm, const char *name, Vec *X) in DMGetNamedGlobalVector() function
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdm.pxi | 107 PetscErrorCode DMGetNamedGlobalVector(PetscDM, const char[], PetscVec*)
|
| H A D | DM.pyx | 879 restoreGlobalVec, petsc.DMGetGlobalVector, petsc.DMGetNamedGlobalVector 886 CHKERR(DMGetNamedGlobalVector(self.dm, cname, &vg.vec))
|
| /petsc/src/ts/impls/implicit/glle/ |
| H A D | glle.c | 38 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 D | theta.c | 51 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 D | irk.c | 435 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSIRK_U", U)); in TSIRKGetVecs()
|
| /petsc/include/ |
| H A D | petscdm.h | 76 PETSC_EXTERN PetscErrorCode DMGetNamedGlobalVector(DM, const char *, Vec *);
|
| /petsc/src/ts/impls/glee/ |
| H A D | glee.c | 650 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSGLEE_Ydot", Ydot)); in TSGLEEGetVecs()
|
| /petsc/src/snes/interface/ |
| H A D | snes.c | 663 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 D | arkimex.c | 1795 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()
|