Searched refs:nsrc_points (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/dt/tests/ |
| H A D | ex2.c | 8 PetscInt i, j, degrees[1000], ndegrees, nsrc_points, ntarget_points; in main() local 23 nsrc_points = 1000; in main() 27 …", "list of points defining intervals on which to integrate", "", src_points, &nsrc_points, &flg)); in main() 28 if (!flg) nsrc_points = 3; in main() 39 PetscCall(PetscMalloc1((nsrc_points - 1) * (ntarget_points - 1), &R)); in main() 41 …PetscCall(PetscDTReconstructPoly(degrees[i], nsrc_points - 1, src_points, ntarget_points - 1, targ… in main() 42 …for (j = 0; j < (ntarget_points - 1) * (nsrc_points - 1); j++) { /* Truncate to zero for nicer out… in main() 47 … PetscCall(PetscRealView(nsrc_points - 1, R + j * (nsrc_points - 1), PETSC_VIEWER_STDOUT_WORLD)); in main()
|