Searched refs:Vres (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex1.c | 40 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 D | ex3.c | 1239 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 D | ex2.c | 1963 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 D | ex4.c | 2568 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 D | ex4.c | 198 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 D | ex5.c | 184 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 D | ex6.c | 621 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()
|