Searched refs:X0loc (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/tutorials/ |
| H A D | ex10.c | 241 …rays(RD rd, TS ts, Vec X, Vec Xdot, PetscReal *Theta, PetscReal *dt, Vec *X0loc, RDNode **x0, Vec … in RDGetLocalArrays() argument 246 PetscCall(DMGetLocalVector(rd->da, X0loc)); in RDGetLocalArrays() 265 …PetscCall(VecWAXPY(*X0loc, -(*Theta) * (*dt), *Xloc_t, *Xloc)); /* back out the value at the s… in RDGetLocalArrays() 266 …if (rd->endpoint) PetscCall(VecWAXPY(*Xloc, *dt, *Xloc_t, *X0loc)); /* move the abscissa to the en… in RDGetLocalArrays() 268 PetscCall(DMDAVecGetArray(rd->da, *X0loc, x0)); in RDGetLocalArrays() 274 static PetscErrorCode RDRestoreLocalArrays(RD rd, Vec *X0loc, RDNode **x0, Vec *Xloc, RDNode **x, V… in RDRestoreLocalArrays() argument 277 PetscCall(DMDAVecRestoreArray(rd->da, *X0loc, x0)); in RDRestoreLocalArrays() 280 PetscCall(DMRestoreLocalVector(rd->da, X0loc)); in RDRestoreLocalArrays() 315 Vec X0loc, Xloc, Xloc_t; in RDIFunction_FD() local 321 PetscCall(RDGetLocalArrays(rd, ts, X, Xdot, &Theta, &dt, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIFunction_FD() [all …]
|