Home
last modified time | relevance | path

Searched refs:Xres (Results 1 – 7 of 7) sorted by relevance

/petsc/src/ts/tutorials/hamiltonian/
H A Dex1.c55 static PetscErrorCode RHSFunction1(TS ts, PetscReal t, Vec V, Vec Xres, PetscCtx ctx) in RHSFunction1() argument
61 PetscCall(VecGetArray(Xres, &xres)); in RHSFunction1()
65 PetscCall(VecRestoreArray(Xres, &xres)); in RHSFunction1()
H A Dex3.c1214 static PetscErrorCode RHSFunctionX(TS ts, PetscReal t, Vec V, Vec Xres, void *ctx) in RHSFunctionX() argument
1226 PetscCall(VecGetLocalSize(Xres, &Np)); in RHSFunctionX()
1228 PetscCall(VecGetArray(Xres, &xres)); in RHSFunctionX()
1234 PetscCall(VecRestoreArray(Xres, &xres)); in RHSFunctionX()
H A Dex2.c1938 static PetscErrorCode RHSFunctionX(TS ts, PetscReal t, Vec V, Vec Xres, void *Ctx) in RHSFunctionX() argument
1950 PetscCall(VecGetLocalSize(Xres, &Np)); in RHSFunctionX()
1952 PetscCall(VecGetArray(Xres, &xres)); in RHSFunctionX()
1958 PetscCall(VecRestoreArray(Xres, &xres)); in RHSFunctionX()
H A Dex4.c2543 static PetscErrorCode RHSFunctionX(TS ts, PetscReal t, Vec V, Vec Xres, void *Ctx) in RHSFunctionX() argument
2555 PetscCall(VecGetLocalSize(Xres, &Np)); in RHSFunctionX()
2557 PetscCall(VecGetArray(Xres, &xres)); in RHSFunctionX()
2563 PetscCall(VecRestoreArray(Xres, &xres)); in RHSFunctionX()
/petsc/src/dm/impls/swarm/tests/
H A Dex4.c182 static PetscErrorCode RHSFunctionX(TS ts, PetscReal t, Vec V, Vec Xres, PetscCtx ctx) in RHSFunctionX() argument
189 PetscCall(VecGetLocalSize(Xres, &Np)); in RHSFunctionX()
191 PetscCall(VecGetArray(Xres, &xres)); in RHSFunctionX()
194 PetscCall(VecRestoreArray(Xres, &xres)); in RHSFunctionX()
H A Dex5.c163 static PetscErrorCode RHSFunctionX(TS ts, PetscReal t, Vec V, Vec Xres, PetscCtx ctx) in RHSFunctionX() argument
173 PetscCall(VecGetLocalSize(Xres, &Np)); in RHSFunctionX()
175 PetscCall(VecGetArray(Xres, &xres)); in RHSFunctionX()
180 PetscCall(VecRestoreArray(Xres, &xres)); in RHSFunctionX()
H A Dex6.c599 static PetscErrorCode RHSFunctionX(TS ts, PetscReal t, Vec V, Vec Xres, PetscCtx ctx) in RHSFunctionX() argument
609 PetscCall(VecGetLocalSize(Xres, &Np)); in RHSFunctionX()
612 PetscCall(VecGetArray(Xres, &xres)); in RHSFunctionX()
617 PetscCall(VecRestoreArray(Xres, &xres)); in RHSFunctionX()