Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex1.c40 static PetscErrorCode RHSFunction2(TS ts, PetscReal t, Vec X, Vec Vres, PetscCtx ctx) in RHSFunction2() argument
48 PetscCall(VecGetArray(Vres, &vres)); in RHSFunction2()
50 PetscCall(VecRestoreArray(Vres, &vres)); in RHSFunction2()
H A Dex3.c1239 static PetscErrorCode RHSFunctionV(TS ts, PetscReal t, Vec X, Vec Vres, void *ctx) in RHSFunctionV() argument
1260 PetscCall(VecGetLocalSize(Vres, &Np)); in RHSFunctionV()
1262 PetscCall(VecGetArray(Vres, &vres)); in RHSFunctionV()
1284 PetscCall(VecRestoreArray(Vres, &vres)); in RHSFunctionV()
H A Dex2.c1963 static PetscErrorCode RHSFunctionV(TS ts, PetscReal t, Vec X, Vec Vres, void *Ctx) in RHSFunctionV() argument
1984 PetscCall(VecGetLocalSize(Vres, &Np)); in RHSFunctionV()
1986 PetscCall(VecGetArray(Vres, &vres)); in RHSFunctionV()
2008 PetscCall(VecRestoreArray(Vres, &vres)); in RHSFunctionV()
H A Dex4.c2568 static PetscErrorCode RHSFunctionV(TS ts, PetscReal t, Vec X, Vec Vres, void *Ctx) in RHSFunctionV() argument
2589 PetscCall(VecGetLocalSize(Vres, &Np)); in RHSFunctionV()
2591 PetscCall(VecGetArray(Vres, &vres)); in RHSFunctionV()
2613 PetscCall(VecRestoreArray(Vres, &vres)); in RHSFunctionV()
/petsc/src/dm/impls/swarm/tests/
H A Dex4.c198 static PetscErrorCode RHSFunctionV(TS ts, PetscReal t, Vec X, Vec Vres, PetscCtx ctx) in RHSFunctionV() argument
206 PetscCall(VecGetArray(Vres, &vres)); in RHSFunctionV()
208 PetscCall(VecGetLocalSize(Vres, &Np)); in RHSFunctionV()
211 PetscCall(VecRestoreArray(Vres, &vres)); in RHSFunctionV()
H A Dex5.c184 static PetscErrorCode RHSFunctionV(TS ts, PetscReal t, Vec X, Vec Vres, PetscCtx ctx) in RHSFunctionV() argument
197 PetscCall(VecGetLocalSize(Vres, &Np)); in RHSFunctionV()
199 PetscCall(VecGetArray(Vres, &vres)); in RHSFunctionV()
210 PetscCall(VecRestoreArray(Vres, &vres)); in RHSFunctionV()
H A Dex6.c621 static PetscErrorCode RHSFunctionV(TS ts, PetscReal t, Vec X, Vec Vres, PetscCtx ctx) in RHSFunctionV() argument
637 PetscCall(VecGetLocalSize(Vres, &Np)); in RHSFunctionV()
639 PetscCall(VecGetArray(Vres, &vres)); in RHSFunctionV()
653 PetscCall(VecRestoreArray(Vres, &vres)); in RHSFunctionV()