| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex13.c | 52 PetscCall(PetscMalloc2(2, &sizes, 8, &points)); in CreateMesh() 61 PetscCall(PetscMalloc2(2, &sizes, 8, &points)); in CreateMesh() 73 PetscCall(PetscMalloc2(3, &sizes, 8, &points)); in CreateMesh() 80 PetscCall(PetscMalloc2(2, &sizes, 4, &points)); in CreateMesh()
|
| H A D | ex4.c | 608 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() 622 PetscCall(PetscMalloc2(2, &sizes, 3, &points)); in CreateMesh() 636 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() 650 PetscCall(PetscMalloc2(2, &sizes, 3, &points)); in CreateMesh() 664 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() 673 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() 687 PetscCall(PetscMalloc2(2, &sizes, 3, &points)); in CreateMesh() 696 PetscCall(PetscMalloc2(2, &sizes, 7, &points)); in CreateMesh() 710 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() 724 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() [all …]
|
| H A D | ex5.c | 881 PetscCall(PetscMalloc2(2, &sizes, 3, &points)); in CreateMesh() 890 PetscCall(PetscMalloc2(2, &sizes, 6, &points)); in CreateMesh() 904 PetscCall(PetscMalloc2(6, &sizes, 6, &points)); in CreateMesh() 918 PetscCall(PetscMalloc2(2, &sizes, 3, &points)); in CreateMesh() 927 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() 936 PetscCall(PetscMalloc2(2, &sizes, 2, &points)); in CreateMesh() 950 PetscCall(PetscMalloc2(2, &sizes, 3, &points)); in CreateMesh() 964 PetscCall(PetscMalloc2(2, &sizes, 3, &points)); in CreateMesh()
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | lg.c | 32 …PetscCall(PetscMalloc2(lg->len + lg->dim * PETSC_DRAW_LG_CHUNK_SIZE, &tmpx, lg->len + lg->dim * PE… in PetscDrawLGAddCommonPoint() 83 …PetscCall(PetscMalloc2(lg->len + lg->dim * PETSC_DRAW_LG_CHUNK_SIZE, &tmpx, lg->len + lg->dim * PE… in PetscDrawLGAddPoint() 145 PetscCall(PetscMalloc2(lg->len + lg->dim * chunk, &tmpx, lg->len + lg->dim * chunk, &tmpy)); in PetscDrawLGAddPoints()
|
| /petsc/src/vec/is/sf/tutorials/ |
| H A D | ex1.c | 175 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main() 200 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main() 239 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main() 259 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main() 283 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main() 337 PetscCall(PetscMalloc2(nrootsalloc, &rootdata, nleavesalloc, &leafdata)); in main() 418 PetscCall(PetscMalloc2(inedges, &indata, nleavesalloc, &outdata)); in main() 434 PetscCall(PetscMalloc2(inedges, &indata, nleavesalloc, &outdata)); in main()
|
| /petsc/src/sys/utils/ |
| H A D | mpimesg.c | 41 PetscCall(PetscMalloc2(size, &recv_buf, size, &iflags_localm)); in PetscGatherNumberOfMessages() 102 PetscCall(PetscMalloc2(nrecvs + nsends, &r_waits, nrecvs + nsends, &w_status)); in PetscGatherMessageLengths() 147 PetscCall(PetscMalloc2(size, &recv_buf, size, &iflags_localm)); in PetscGatherNumberOfMessages_Private() 180 PetscCall(PetscMalloc2(nrecvs + nsends, &r_waits, nrecvs + nsends, &w_status)); in PetscGatherMessageLengths_Private()
|
| H A D | mathfit.c | 32 PetscCall(PetscMalloc2(n * 2, &X, n * 2, &Y)); in PetscLinearRegression()
|
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex15.c | 49 PetscCall(PetscMalloc2(n, &ix, n, &iy)); in main() 119 PetscCall(PetscMalloc2(n, &ix, n, &iy)); in main() 177 PetscCall(PetscMalloc2(n / 2, &ix, n / 2, &iy)); in main()
|
| H A D | ex4k.kokkos.cxx | 74 PetscCall(PetscMalloc2(maxn, &rootdata, maxn, &leafdata)); in main() 79 PetscCall(PetscMalloc2(maxn, &pbuf, maxn, &ebuf)); in main()
|
| H A D | ex20.c | 20 PetscCall(PetscMalloc2(nroots * dim, &rootcoords, nleaves * dim, &leafcoords)); in main()
|
| /petsc/src/dm/dt/tests/ |
| H A D | ex11.c | 21 PetscCall(PetscMalloc2(dim * numFaces, &dx, dim * numFaces, &grad)); in main()
|
| H A D | ex1.c | 57 PetscCall(PetscMalloc2(npoints, &Pi, npoints, &Pj)); in CheckQuadrature() 103 PetscCall(PetscMalloc2(npoints, &x, npoints, &w)); in CheckJacobiQuadrature() 116 PetscCall(PetscMalloc2(npoints, &x2, npoints, &w2)); in CheckJacobiQuadrature()
|
| /petsc/src/mat/utils/ |
| H A D | compressedrow.c | 53 PetscCall(PetscMalloc2(nrows + 1, &cpi, nrows, &ridx)); in MatCheckCompressedRow()
|
| /petsc/src/vec/is/ao/tests/ |
| H A D | ex2.c | 21 PetscCall(PetscMalloc2(n, &ispetsc, n, &isapp)); in main()
|
| /petsc/src/mat/graphops/order/ |
| H A D | spqmd.c | 19 PetscCall(PetscMalloc2(nrow, &qsize, nrow, &qlink)); in MatGetOrdering_QMD()
|
| H A D | spectral.c | 34 PetscCall(PetscMalloc2(m, &dnnz, m, &onnz)); in MatCreateLaplacian() 64 PetscCall(PetscMalloc2(colMax, &newCols, colMax, &newVals)); in MatCreateLaplacian()
|
| /petsc/src/mat/tutorials/ |
| H A D | ex4.c | 18 PetscCall(PetscMalloc2(m, &dnnz, m, &onnz)); in main()
|
| /petsc/src/vec/is/ao/impls/memscalable/ |
| H A D | aomemscalable.c | 42 PetscCall(PetscMalloc2(map->N, &app, map->N, &petsc)); in AOView_MemoryScalable() 146 PetscCall(PetscMalloc2(nreceives * nmax, &rindices, nreceives, &recv_waits)); in AOMap_MemoryScalable_private() 147 PetscCall(PetscMalloc2(nsends * nmax, &rindices2, nsends, &recv_waits2)); in AOMap_MemoryScalable_private() 318 PetscCall(PetscMalloc2(nreceives * nmax, &rindices, nreceives, &recv_waits)); in AOCreateMemoryScalable_private() 407 PetscCall(PetscMalloc2(size, &lens, size, &disp)); in AOCreate_MemoryScalable()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vecstash.c | 193 PetscCall(PetscMalloc2(bs * newnmax, &n_array, newnmax, &n_idx)); in VecStashExpand_Private() 261 PetscCall(PetscMalloc2(nreceives * nmax * bs, &rvalues, nreceives * nmax, &rindices)); in VecStashScatterBegin_Private() 272 PetscCall(PetscMalloc2(stash->n * bs, &svalues, stash->n, &sindices)); in VecStashScatterBegin_Private() 406 PetscCall(PetscMalloc2(stash->n, &perm, stash->n * bs, &arr)); in VecStashSortCompress_Private()
|
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfcoord.c | 144 PetscCall(PetscMalloc2(size, &ranks_needed, size + 1, &root_starts)); in PetscSFSetGraphFromCoordinates() 190 PetscCall(PetscMalloc2(nleaves, &indices, nleaves, &distances)); in PetscSFSetGraphFromCoordinates()
|
| /petsc/src/vec/vec/tutorials/ |
| H A D | ex44.c | 29 PetscCall(PetscMalloc2(x_size, &idx, x_size, &vals)); in main() 46 PetscCall(PetscMalloc2(y_size, &idx, y_size, &vals)); in main()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaijfact4.c | 21 PetscCall(PetscMalloc2(mbs, &il, mbs, &jl)); in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering() 25 PetscCall(PetscMalloc2(9, &dk, 9, &uik)); in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
|
| /petsc/src/ksp/ksp/interface/saws/ |
| H A D | kspsaws.c | 89 PetscCall(PetscMalloc2(n, &mon->eigr, n, &mon->eigi)); in KSPMonitorSAWs()
|
| /petsc/src/mat/graphops/color/impls/minpack/ |
| H A D | color.c | 62 PetscCall(PetscMalloc2(n, &list, 4 * n, &work)); in MatColoringApply_SL() 162 PetscCall(PetscMalloc2(n, &list, 4 * n, &work)); in MatColoringApply_LF() 265 PetscCall(PetscMalloc2(n, &list, 4 * n, &work)); in MatColoringApply_ID()
|
| /petsc/src/sys/tests/ |
| H A D | ex8.c | 97 PetscCall(PetscMalloc2(nto, &todata, nto, &toranks)); in main() 135 PetscCall(PetscMalloc2(nfrom, &iranks, nfrom, &iperm)); in main()
|