Lines Matching refs:PetscMalloc1
95 PetscCall(PetscMalloc1(in.numberofpoints * dim, &in.pointlist)); in DMPlexGenerate_Triangle()
96 PetscCall(PetscMalloc1(in.numberofpoints, &in.pointmarkerlist)); in DMPlexGenerate_Triangle()
116 PetscCall(PetscMalloc1(in.numberofsegments * 2, &in.segmentlist)); in DMPlexGenerate_Triangle()
117 PetscCall(PetscMalloc1(in.numberofsegments, &in.segmentmarkerlist)); in DMPlexGenerate_Triangle()
140 PetscCall(PetscMalloc1(in.numberofholes*dim, &in.holelist)); in DMPlexGenerate_Triangle()
179 PetscCall(PetscMalloc1(dim * numVertices, &meshCoords)); in DMPlexGenerate_Triangle()
187 PetscCall(PetscMalloc1(numCells * numCorners, &cells)); in DMPlexGenerate_Triangle()
259 PetscCall(PetscMalloc1(in.numberofpoints * dim, &in.pointlist)); in DMPlexRefine_Triangle()
260 PetscCall(PetscMalloc1(in.numberofpoints, &in.pointmarkerlist)); in DMPlexRefine_Triangle()
285 PetscCall(PetscMalloc1(cEnd - cStart, &maxVolumes)); in DMPlexRefine_Triangle()
293 PetscCall(PetscMalloc1(in.numberoftriangles * in.numberofcorners, &in.trianglelist)); in DMPlexRefine_Triangle()
312 PetscCall(PetscMalloc1(in.numberofholes*dim, &in.holelist)); in DMPlexRefine_Triangle()
345 PetscCall(PetscMalloc1(dim * numVertices, &meshCoords)); in DMPlexRefine_Triangle()
353 PetscCall(PetscMalloc1(numCells * numCorners, &cells)); in DMPlexRefine_Triangle()