Home
last modified time | relevance | path

Searched refs:PetscCalloc4 (Results 1 – 22 of 22) sorted by relevance

/petsc/src/mat/impls/preallocator/
H A Dmatpreallocator.c41 PetscCall(PetscCalloc4(mbs, &p->dnz, mbs, &p->onz, mbs, &p->dnzu, mbs, &p->onzu)); in MatSetUp_Preallocator()
/petsc/src/vec/is/sf/tests/
H A Dex5.c33 … PetscCall(PetscCalloc4(bs * ldr, &rdata, bs * ldl, &ldata, bs * ldr, &rdatav, bs * ldl, &ldatav)); in TestVector()
/petsc/src/ksp/ksp/impls/gmres/agmres/
H A Dagmres.c45 …PetscCall(PetscCalloc4(max_k, &agmres->Rshift, max_k, &agmres->Ishift, hes, &agmres->Rloc, (N + 1)… in KSPSetUp_AGMRES()
47 …PetscCall(PetscCalloc4(N + 1, &agmres->Scale, N + 1, &agmres->sgn, N + 1, &agmres->tloc, N + 1, &a… in KSPSetUp_AGMRES()
/petsc/src/snes/impls/ngmres/
H A Dsnesngmres.c62 …PetscCall(PetscCalloc4(hsize, &ngmres->h, msize, &ngmres->beta, msize, &ngmres->xi, hsize, &ngmres… in SNESSetUp_NGMRES()
/petsc/src/ksp/ksp/guess/impls/fischer/
H A Dfischer.c219 PetscCall(PetscCalloc4(m * m, &corr, m, &s_values, blas_lwork, &work, m, &scratch_vec)); in KSPGuessFormGuess_Fischer_3()
/petsc/src/dm/impls/plex/
H A Dplexreorder.c101 …PetscCall(PetscCalloc4(numCells, &sperm, numValues, &values, numValues, &vsize, numValues + 1, &vo… in DMPlexGetOrdering()
H A Dplexorient.c559 PetscCall(PetscCalloc4(size, &recvcounts, size + 1, &displs, size, &Nc, size + 1, &Noff)); in DMPlexOrient()
938 PetscCall(PetscCalloc4(size, &recvcounts, size + 1, &displs, size, &Nc, size + 1, &Noff)); in DMPlexOrientCells_Internal()
H A Dplexpartition.c1309 PetscCall(PetscCalloc4(size, &scounts, size, &sdispls, size, &rcounts, size, &rdispls)); in DMPlexPartitionLabelInvert()
H A Dplexcreate.c2244 PetscCall(PetscCalloc4(dim, &procs, dim, &lrank, dim, &rrank, 2 * dim, &supp)); in DMPlexCreateHypercubicMesh_Internal()
H A Dplexfem.c5677 PetscCall(PetscCalloc4(Nf, &quadsF, Nf, &geomsF, Nf, &quadsN, Nf, &geomsN)); in DMPlexComputeResidualHybridByKey()
H A Dplex.c3008 …PetscCall(PetscCalloc4(localSize / bs, &dnz, localSize / bs, &onz, localSize / bs, &dnzu, localSiz… in DMCreateMatrix_Plex()
/petsc/src/mat/impls/baij/mpi/
H A Dbaijov.c89 PetscCall(PetscCalloc4(size, &w1, size, &w2, size, &w3, size, &w4)); in MatIncreaseOverlap_MPIBAIJ_Once()
755 …PetscCall(PetscCalloc4(size, &w1, size, &w2, size, &w3, size, &w4)); /* mesg size, initialize work…
/petsc/src/mat/impls/adj/mpi/
H A Dmpiadj.c40 …PetscCall(PetscCalloc4(nlrows_mat, &ncols_send, nlrows_is, &xadj_recv, nlrows_is + 1, &ncols_recv_… in MatCreateSubMatrix_MPIAdj_data()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiov.c532 PetscCall(PetscCalloc4(size, &w1, size, &w2, size, &w3, size, &w4)); in MatIncreaseOverlap_MPIAIJ_Once()
615 PetscCall(PetscCalloc4(imax, &table, imax, &data, imax, &isz, M_BPB_imax, &t_p)); in MatIncreaseOverlap_MPIAIJ_Once()
2158 …PetscCall(PetscCalloc4(size, &w1, size, &w2, size, &w3, size, &w4)); /* mesg size, initialize work… in MatCreateSubMatrices_MPIAIJ_Local()
H A Dmpiptap.c728 PetscCall(PetscCalloc4(cmaxr, &apindices, cmaxr, &apvalues, cmaxr, &apvaluestmp, pon, &c_rmtc)); in MatPtAPNumeric_MPIAIJ_MPIXAIJ_allatonce()
887 PetscCall(PetscCalloc4(cmaxr, &apindices, cmaxr, &apvalues, cmaxr, &apvaluestmp, pon, &c_rmtc)); in MatPtAPNumeric_MPIAIJ_MPIXAIJ_allatonce_merged()
H A Dmpiaij.c1543 PetscCall(PetscCalloc4(m, &dnnz, m, &onnz, m, &tdnnz, m, &tonnz)); in MatPermute_MPIAIJ()
/petsc/src/dm/dt/interface/
H A Ddtds.c581 …PetscCall(PetscCalloc4(NfNew, &tmpexactSol, NfNew, &tmpexactCtx, NfNew, &tmpexactSol_t, NfNew, &tm… in PetscDSEnlarge_Static()
582 …PetscCall(PetscCalloc4(NfNew, &tmplowerBound, NfNew, &tmplowerCtx, NfNew, &tmpupperBound, NfNew, &… in PetscDSEnlarge_Static()
/petsc/src/tao/interface/
H A Dtaosolver.c2585 PetscCall(PetscCalloc4(na, &obj, na, &resid, na, &cnorm, na, &lits)); in TaoSetConvergenceHistory()
/petsc/include/
H A Dpetscsys.h799 #define PetscCalloc4(m1, r1, m2, r2, m3, r3, m4, r4) \ macro
/petsc/src/mat/impls/nest/
H A Dmatnest.c1807 …PetscCall(PetscCalloc4(nest->nr * nest->nc, &aii, nest->nr * nest->nc, &ajj, nest->nr * nest->nc, … in MatConvert_Nest_SeqAIJ_fast()
/petsc/src/dm/dt/dualspace/impls/lagrange/
H A Ddspacelagrange.c1901 …PetscCall(PetscCalloc4(dim * dim, &biToEq, dim * dim, &eqToBi, Nk * Nk, &biToEqStar, Nk * Nk, &eqT… in BiunitSimplexSymmetricFormTransformation()
/petsc/src/mat/impls/aij/seq/
H A Dinode.c1242 PetscCall(PetscCalloc4(n, &rtmp1, n, &rtmp2, n, &rtmp3, n, &rtmp4)); in MatLUFactorNumeric_SeqAIJ_Inode()