Searched refs:glln (Results 1 – 1 of 1) sorted by relevance
3189 const PetscInt glln = n; in PetscGaussLobattoLegendreElementAdvectionCreate() local3194 for (i = 0; i < glln; i++) { in PetscGaussLobattoLegendreElementAdvectionCreate()3195 for (j = 0; j < glln; j++) D[i][j] = gllweights[i] * D[i][j]; in PetscGaussLobattoLegendreElementAdvectionCreate()3229 const PetscInt glln = n; in PetscGaussLobattoLegendreElementMassCreate() local3233 PetscCall(PetscMalloc1(glln, &A)); in PetscGaussLobattoLegendreElementMassCreate()3234 PetscCall(PetscMalloc1(glln * glln, &A[0])); in PetscGaussLobattoLegendreElementMassCreate()3235 for (i = 1; i < glln; i++) A[i] = A[i - 1] + glln; in PetscGaussLobattoLegendreElementMassCreate()3236 if (glln == 1) A[0][0] = 0.; in PetscGaussLobattoLegendreElementMassCreate()3237 for (i = 0; i < glln; i++) { in PetscGaussLobattoLegendreElementMassCreate()3238 for (j = 0; j < glln; j++) { in PetscGaussLobattoLegendreElementMassCreate()