Lines Matching refs:xdot
172 const RDNode *x, *xdot, *f; in RDStateView() local
179 PetscCall(DMDAVecGetArrayRead(rd->da, Xdot, (void *)&xdot)); in RDStateView()
182 …E), (double)PetscRealPart(x[i].T), (double)PetscRealPart(xdot[i].E), (double)PetscRealPart(xdot[i]… in RDStateView()
186 PetscCall(DMDAVecRestoreArrayRead(rd->da, Xdot, (void *)&xdot)); in RDStateView()
241 … *Theta, PetscReal *dt, Vec *X0loc, RDNode **x0, Vec *Xloc, RDNode **x, Vec *Xloc_t, RDNode **xdot) in RDGetLocalArrays() argument
270 PetscCall(DMDAVecGetArray(rd->da, *Xloc_t, xdot)); in RDGetLocalArrays()
274 …storeLocalArrays(RD rd, Vec *X0loc, RDNode **x0, Vec *Xloc, RDNode **x, Vec *Xloc_t, RDNode **xdot) in RDRestoreLocalArrays() argument
279 PetscCall(DMDAVecRestoreArray(rd->da, *Xloc_t, xdot)); in RDRestoreLocalArrays()
314 RDNode *x, *x0, *xdot, *f; in RDIFunction_FD() local
321 PetscCall(RDGetLocalArrays(rd, ts, X, Xdot, &Theta, &dt, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIFunction_FD()
341 Em_t = dEm.E * xdot[i].E + dEm.T * xdot[i].T; in RDIFunction_FD()
370 f[i].E = hx * (xdot[i].E - diff - rad); in RDIFunction_FD()
373 PetscCall(RDRestoreLocalArrays(rd, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIFunction_FD()
382 RDNode *x, *x0, *xdot; in RDIJacobian_FD() local
389 PetscCall(RDGetLocalArrays(rd, ts, X, Xdot, &Theta, &dt, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIJacobian_FD()
426 dEm_t.T = dEm.T * a + Em_TT * xdot[i].T; in RDIJacobian_FD()
477 PetscCall(RDRestoreLocalArrays(rd, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIJacobian_FD()
630 RDNode *x, *x0, *xdot, *f; in RDIFunction_FE() local
637 PetscCall(RDGetLocalArrays(rd, ts, X, Xdot, &Theta, &dt, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIFunction_FE()
655 RDEvaluate(interp, deriv, q, xdot, i, &nt, &ntx); in RDIFunction_FE()
702 PetscCall(RDRestoreLocalArrays(rd, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIFunction_FE()
716 RDNode *x, *x0, *xdot; in RDIJacobian_FE() local
724 PetscCall(RDGetLocalArrays(rd, ts, X, Xdot, &Theta, &dt, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIJacobian_FE()
740 RDEvaluate(interp, deriv, q, xdot, i, &nt, &ntx); in RDIJacobian_FE()
779 PetscCall(RDRestoreLocalArrays(rd, &X0loc, &x0, &Xloc, &x, &Xloc_t, &xdot)); in RDIJacobian_FE()