Home
last modified time | relevance | path

Searched refs:PetscMalloc4 (Results 1 – 25 of 88) sorted by relevance

1234

/petsc/src/vec/is/sf/interface/
H A Dsftype.c138 …PetscCall(PetscMalloc4(aintcount, &aints, aaddrcount, &aaddrs, acountcount, &acounts, atypecount, … in MPIPetsc_Type_compare()
139 …PetscCall(PetscMalloc4(bintcount, &bints, baddrcount, &baddrs, bcountcount, &bcounts, btypecount, … in MPIPetsc_Type_compare()
200 …PetscCall(PetscMalloc4(aintcount, &aints, aaddrcount, &aaddrs, acountcount, &acounts, atypecount, … in MPIPetsc_Type_compare_contig()
/petsc/src/dm/impls/plex/adaptors/mmg/
H A Dmmgadapt.c207 …PetscCall(PetscMalloc4(2 * numVerticesNew, &verticesNew, numVerticesNew, &verTagsNew, numVerticesN… in DMAdaptMetric_Mmg_Plex()
209 …PetscCall(PetscMalloc4(2 * numFacesNew, &facesNew, numFacesNew, &faceTagsNew, numFacesNew, &ridges… in DMAdaptMetric_Mmg_Plex()
217 …PetscCall(PetscMalloc4(3 * numVerticesNew, &verticesNew, numVerticesNew, &verTagsNew, numVerticesN… in DMAdaptMetric_Mmg_Plex()
219 …PetscCall(PetscMalloc4(3 * numFacesNew, &facesNew, numFacesNew, &faceTagsNew, numFacesNew, &ridges… in DMAdaptMetric_Mmg_Plex()
/petsc/src/mat/graphops/order/
H A Dspnd.c21 PetscCall(PetscMalloc4(nrow, &mask, nrow, &perm, nrow + 1, &xls, nrow, &ls)); in MatGetOrdering_ND()
H A Dspectral.c143 PetscCall(PetscMalloc4(n, &realpart, n, &imagpart, n * n, &eigvec, lwork, &work)); in MatGetOrdering_Spectral()
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrcohesive.c154 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Point()
172 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Point()
202 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment()
269 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment()
339 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment()
380 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Triangle()
468 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Triangle()
521 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Quadrilateral()
631 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Quadrilateral()
683 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Tetrahedron()
[all …]
H A Dplextrextrude.c155 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Point()
187 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Segment()
265 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Triangle()
357 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Quadrilateral()
/petsc/src/mat/tests/
H A Dex260.c20 PetscCall(PetscMalloc4(n + 1, &ii, n * nzr, &jd, n * nzr, &jo, n * nzr, &a)); in main()
H A Dmmloader.c28 PetscCall(PetscMalloc4(nz, &ia, nz, &ja, nz, &val, M, &rownz)); in MatCreateFromMTX()
H A Dex116.c138 …PetscCall(PetscMalloc4(m * minMN, &arrayU, m * minMN, &arrayVT, m * minMN, &arrayErr, lwork, &work… in main()
/petsc/src/mat/graphops/order/metisnd/
H A Dmetisnd.c45 PetscCall(PetscMalloc4(nrow + 1, &xadj, ia[nrow], &adjncy, nrow, &perm, nrow, &iperm)); in MatGetOrdering_METISND()
/petsc/src/sys/classes/draw/interface/
H A Ddviewp.c183 PetscCall(PetscMalloc4(n * n, &xl, n * n, &xr, n * n, &yl, n * n, &yr)); in PetscDrawViewPortsCreate()
266 PetscCall(PetscMalloc4(n, &xl, n, &xr, n, &yl, n, &yr)); in PetscDrawViewPortsCreateRect()
/petsc/src/vec/is/ao/impls/mapping/
H A Daomapping.c284 PetscCall(PetscMalloc4(N, &allapp, N, &appPerm, N, &allpetsc, N, &petscPerm)); in AOCreateMapping()
290 …PetscCall(PetscMalloc4(N, &aomap->app, N, &aomap->appPerm, N, &aomap->petsc, N, &aomap->petscPerm)… in AOCreateMapping()
/petsc/src/dm/dt/tests/
H A Dex5.c60 PetscCall(PetscMalloc4(dim - 1, &testSub, dim, &testFull, Nc, &outSub, Nc, &outFull)); in main()
/petsc/src/ksp/ksp/impls/fcg/pipefcg/
H A Dpipefcg.c66 …PetscCall(PetscMalloc4(pipefcg->mmax + 1, &pipefcg->Pvecs, pipefcg->mmax + 1, &pipefcg->pPvecs, pi… in KSPSetUp_PIPEFCG()
67 …PetscCall(PetscMalloc4(pipefcg->mmax + 1, &pipefcg->Qvecs, pipefcg->mmax + 1, &pipefcg->pQvecs, pi… in KSPSetUp_PIPEFCG()
68 …PetscCall(PetscMalloc4(pipefcg->mmax + 1, &pipefcg->Pold, pipefcg->mmax + 1, &pipefcg->Sold, pipef… in KSPSetUp_PIPEFCG()
/petsc/src/vec/is/sf/tests/
H A Dex24.c14 PetscCall(PetscMalloc4(nroots, &roota, nroots, &rootb, maxleaf + 1, &leafa, maxleaf + 1, &leafb)); in testOverlappingCommunication()
/petsc/src/dm/impls/plex/transform/impls/refine/bl/
H A Dplexrefbl.c115 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL()
149 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL()
219 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL()
305 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL()
/petsc/src/mat/impls/aij/seq/essl/
H A Dessl.c100 …PetscCall(PetscMalloc4(essl->lna, &essl->a, essl->naux, &essl->aux, essl->lna, &essl->ia, essl->ln… in MatLUFactorSymbolic_Essl()
/petsc/src/vec/is/sf/impls/basic/alltoall/
H A Dsfalltoall.c140 …PetscCall(PetscMalloc4(nleaves, &esf->ranks, nleaves + 1, &esf->roffset, nleaves, &esf->rmine, nle… in PetscSFCreateEmbeddedRootSF_Alltoall()
/petsc/src/ksp/ksp/impls/cg/cgne/
H A Dcgne.c33 PetscCall(PetscMalloc4(maxit, &cgP->e, maxit, &cgP->d, maxit, &cgP->ee, maxit, &cgP->dd)); in KSPSetUp_CGNE()
/petsc/src/sys/utils/
H A Dmpimesg.c250 …PetscCall(PetscMalloc4(nrecvs + nsends, &r_waits, 2 * nrecvs, &buf_r, 2 * nsends, &buf_s, nrecvs +… in PetscGatherMessageLengths2()
/petsc/src/dm/partitioner/impls/parmetis/
H A Dpartparmetis.c105 …PetscCall(PetscMalloc4(size + 1, &vtxdist, nparts * ncon, &tpwgts, ncon, &ubvec, nvtxs, &assignmen… in PetscPartitionerPartition_ParMetis()
/petsc/src/dm/impls/plex/adaptors/parmmg/
H A Dparmmgadapt.c382 …PetscCall(PetscMalloc4(dim * numVerticesNew, &verticesNew, numVerticesNew, &verTagsNew, numVertice… in DMAdaptMetric_ParMmg_Plex()
384 …PetscCall(PetscMalloc4(dim * numFacesNew, &facesNew, numFacesNew, &faceTagsNew, numFacesNew, &ridg… in DMAdaptMetric_ParMmg_Plex()
/petsc/src/mat/impls/shell/
H A Dshellcnv.c30 PetscCall(PetscMalloc4(mbs, &dnnz, mbs, &onnz, mbs, &dnnzu, mbs, &onnzu)); in MatConvert_Shell()
/petsc/src/mat/graphops/coarsen/impls/mis/
H A Dmis.c57 PetscCall(PetscMalloc4(nloc, &lid_gid, nloc, &lid_cprowID, nloc, &lid_removed, nloc, &lid_state)); in MatCoarsenApply_MIS_private()
/petsc/src/dm/dt/fe/impls/opencl/
H A Dfeopencl.c601 …PetscCall(PetscMalloc4(Ne * N_bt, &f_coeff, Ne, &f_coeffAux, Ne * dim * dim, &f_invJ, Ne, &f_detJ)… in PetscFEIntegrateResidual_OpenCL()
622 …PetscCall(PetscMalloc4(Ne * N_bt, &d_coeff, Ne, &d_coeffAux, Ne * dim * dim, &d_invJ, Ne, &d_detJ)… in PetscFEIntegrateResidual_OpenCL()

1234