Searched refs:dx_deta (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/snes/tutorials/ |
| H A D | ex31.c | 33 PetscReal dx_deta; member 67 blasius->dx_deta = 2 / L; /* this helps to map [-1,1] to [0,L] */ in main() 129 static void ChebyshevEval(PetscInt N, const PetscScalar *Tf, PetscReal x, PetscReal dx_deta, PetscS… in ChebyshevEval() argument 145 for (int j = 0; j < i; j++) f[i] *= dx_deta; /* Here happens the physics of the problem */ in ChebyshevEval() 181 ChebyshevEval(N, Tf, -1., blasius->dx_deta, f); in FormFunction() 184 ChebyshevEval(N, Tf, 1., blasius->dx_deta, f); in FormFunction() 187 ChebyshevEval(N, Tf, blasius->x[i], blasius->dx_deta, f); in FormFunction() 189 ChebyshevEval(N - 1, Th, blasius->x[i], blasius->dx_deta, h); in FormFunction() 192 ChebyshevEval(N - 1, Th, -1., blasius->dx_deta, h); in FormFunction() 194 ChebyshevEval(N - 1, Th, 1., blasius->dx_deta, h); in FormFunction()
|