Lines Matching refs:totpoints
1914 …PetscInt totpoints = dim > 1 ? dim > 2 ? npoints * PetscSqr(npoints) : PetscSqr(npoints) : n… in PetscDTGaussTensorQuadrature() local
1918 PetscCall(PetscMalloc1(totpoints * dim, &x)); in PetscDTGaussTensorQuadrature()
1919 PetscCall(PetscMalloc1(totpoints * Nc, &w)); in PetscDTGaussTensorQuadrature()
1928 totpoints = 1; in PetscDTGaussTensorQuadrature()
1975 PetscCall(PetscQuadratureSetData(*q, dim, Nc, totpoints, x, w)); in PetscDTGaussTensorQuadrature()
2005 PetscInt totpoints; in PetscDTStroudConicalQuadrature() local
2027 totpoints = 1; in PetscDTStroudConicalQuadrature()
2028 for (PetscInt i = 0; i < dim; ++i) totpoints *= npoints; in PetscDTStroudConicalQuadrature()
2029 PetscCall(PetscMalloc1(totpoints * dim, &x)); in PetscDTStroudConicalQuadrature()
2030 PetscCall(PetscMalloc1(totpoints * Nc, &w)); in PetscDTStroudConicalQuadrature()
2032 for (PetscInt i = 0; i < totpoints * Nc; ++i) w[i] = 1.; in PetscDTStroudConicalQuadrature()
2033 for (PetscInt i = 0, totprev = 1, totrem = totpoints / npoints; i < dim; ++i) { in PetscDTStroudConicalQuadrature()
2054 PetscCall(PetscQuadratureSetData(*q, dim, Nc, totpoints, x, w)); in PetscDTStroudConicalQuadrature()