Home
last modified time | relevance | path

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

/petsc/src/vec/vec/tutorials/
H A Dex19.c13 PetscInt i, n = 6, n_timesteps = 5; in main() local
23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n_timesteps", &n_timesteps, NULL)); in main()
24 PetscCheck(n_timesteps >= 0, comm, PETSC_ERR_USER_INPUT, "-n_timesteps must be nonnegative"); in main()
51 PetscCall(VecDuplicateVecs(x1, n_timesteps, &x3ts)); in main()
52 for (i = 0; i < n_timesteps; i++) { in main()
60 PetscCall(VecDuplicateVecs(x2, n_timesteps, &x4ts)); in main()
61 for (i = 0; i < n_timesteps; i++) { in main()
105 for (i = 0; i < n_timesteps; i++) { in main()
120 for (i = 0; i < n_timesteps; i++) { in main()
139 PetscCall(VecDestroyVecs(n_timesteps, &x3ts)); in main()
[all …]