Searched refs:Xres (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex1.c | 55 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 D | ex3.c | 1214 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 D | ex2.c | 1938 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 D | ex4.c | 2543 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 D | ex4.c | 182 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 D | ex5.c | 163 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 D | ex6.c | 599 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()
|