Searched refs:sol (Results 1 – 1 of 1) sorted by relevance
| /honee/problems/ |
| H A D | blasius.c | 75 Vec sol, res; in ComputeChebyshevCoefficients() local 88 PetscCall(VecCreate(PETSC_COMM_SELF, &sol)); in ComputeChebyshevCoefficients() 89 PetscCall(VecSetSizes(sol, PETSC_DECIDE, 2 * N - 1)); in ComputeChebyshevCoefficients() 90 PetscCall(VecSetFromOptions(sol)); in ComputeChebyshevCoefficients() 92 PetscCall(VecSetValue(sol, N, 1., INSERT_VALUES)); in ComputeChebyshevCoefficients() 93 PetscCall(VecDuplicate(sol, &res)); in ComputeChebyshevCoefficients() 97 PetscCall(SNESSolve(snes, NULL, sol)); in ComputeChebyshevCoefficients() 102 PetscCall(VecGetArrayRead(sol, &cheb_coefs)); in ComputeChebyshevCoefficients() 108 PetscCall(VecDestroy(&sol)); in ComputeChebyshevCoefficients()
|