Searched refs:n_weights (Results 1 – 1 of 1) sorted by relevance
9 PetscReal *la_nodes, *la_weights, *n_nodes, *n_weights; in main() local18 PetscCall(PetscMalloc1(n, &n_weights)); in main()24 …etscDTGaussLobattoLegendreQuadrature(n, PETSCGAUSSLOBATTOLEGENDRE_VIA_NEWTON, n_nodes, n_weights)); in main()27 PetscCall(PetscRealView(n, n_weights, PETSC_VIEWER_STDOUT_SELF)); in main()31 la_weights[i] -= n_weights[i]; in main()40 PetscCall(PetscFree(n_weights)); in main()