Home
last modified time | relevance | path

Searched refs:PetscCalloc3 (Results 1 – 25 of 30) sorted by relevance

12

/petsc/src/sys/classes/viewer/impls/draw/draw/
H A Dfdrawv.c45 …PetscCall(PetscCalloc3(vdraw->draw_max, &vdraw->draw, vdraw->draw_max, &vdraw->drawlg, vdraw->draw… in PetscViewerDrawGetDraw()
/petsc/src/dm/impls/network/tests/
H A Dex2.c119 …PetscCall(PetscCalloc3(eEnd - eStart, &compedge, vEnd - vStart, &compvert, vEnd - vStart, &vcolor)… in StarGraphCreate()
/petsc/src/mat/tests/
H A Dex225.c125 …PetscCall(PetscCalloc3((rend - rstart) * 6, &valuesA, (rend - rstart) * 6, &valuesB, rend - rstart… in main()
/petsc/src/vec/vec/tests/
H A Dex32.c104 PetscCall(PetscCalloc3(n, &XP, n, &X1P, n, &W)); in main()
/petsc/src/dm/dt/fe/interface/
H A Dfegeom.c35 PetscCall(PetscCalloc3(N * dimEmbed, &g->v, N * dimEmbed * dimEmbed, &g->J, N, &g->detJ)); in PetscFEGeomCreate()
/petsc/src/dm/impls/plex/
H A Dplexsection.c498 PetscCall(PetscCalloc3(numBC, &bcFields, numBC, &bcPoints, numBC, &bcComps)); in DMCreateLocalSection_Plex()
587 PetscCall(PetscCalloc3(Nf, &labels, Nf, &numComp, Nf * (dim + 1), &numDof)); in DMCreateLocalSection_Plex()
H A Dplexorient.c382 …PetscCall(PetscCalloc3(fEnd - fStart, &faceFIFO, cEnd - cStart, &cellComp, fEnd - fStart, &faceCom… in DMPlexOrient()
454 … PetscCall(PetscCalloc3(numRoots, &rorntComp, numRoots, &lorntComp, maxSupportSize, &locSupport)); in DMPlexOrient()
823 PetscCall(PetscCalloc3(numRoots, &rorntComp, numRoots, &lorntComp, maxSuppSize, &locSupp)); in DMPlexOrientCells_Internal()
H A Dplex.c1166 PetscCall(PetscCalloc3(numLabels, &names, numColors, &colors, numLColors, &lcolors)); in DMPlexView_Ascii()
1651 if (size < maxSize) PetscCall(PetscCalloc3(size, &sizes, size, &hybsizes, size, &ghostsizes)); in DMPlexView_Ascii()
1652 else PetscCall(PetscCalloc3(3, &sizes, 3, &hybsizes, 3, &ghostsizes)); in DMPlexView_Ascii()
/petsc/src/ts/utils/
H A Ddmplexts.c425 PetscCall(PetscCalloc3(Nv, &es, Nv, &hs, Nv, &errors)); in DMTSCheckJacobian()
/petsc/src/snes/utils/
H A Ddmplexsnes.c780 PetscCall(PetscCalloc3(Nf, &exacts, Nf, &ectxs, PetscMax(1, Nf), &err)); in DMSNESCheckDiscretization()
961 PetscCall(PetscCalloc3(Nv, &es, Nv, &hs, Nv, &errors)); in DMSNESCheckJacobian()
H A Dconvest.c154 PetscCall(PetscCalloc3(ce->Nf, &ce->initGuess, ce->Nf, &ce->exactSol, ce->Nf, &ce->ctxs)); in PetscConvEstSetUp()
/petsc/src/sys/classes/viewer/impls/draw/
H A Ddrawv.c368 …PetscCall(PetscCalloc3(vdraw->draw_max, &vdraw->draw, vdraw->draw_max, &vdraw->drawlg, vdraw->draw… in PetscViewerCreate_Draw()
/petsc/src/ksp/ksp/tutorials/
H A Dbench_kspsolve.c129 PetscCall(PetscCalloc3(user->nnz, &coo_i, user->nnz, &coo_j, user->nnz, &coo_v)); in FillCOO()
/petsc/src/ts/tutorials/network/
H A Dpipes.c41 PetscCall(PetscCalloc3(size + 1, &eowners, size, &nvtx, numVertices, &vtxDone)); in WashNetworkDistribute()
/petsc/src/ksp/pc/impls/telescope/
H A Dtelescope_dmda.c432 …PetscCall(PetscCalloc3(ctx->Mp_re, &ctx->range_i_re, ctx->Np_re, &ctx->range_j_re, ctx->Pp_re, &ct… in PCTelescopeSetUp_dmda_repart()
/petsc/src/mat/impls/maij/
H A Dmaij.c600 PetscCall(PetscCalloc3(cn, &apa, cn, &apj, cn, &apjdense)); in MatPtAPNumeric_SeqAIJ_SeqMAIJ()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c1836 PetscCall(PetscCalloc3(n, &A_mask, nX, &X_mask, nC, &C_mask)); in ReadLabelStratumHDF5_Distribute_Private()
2599 PetscCall(PetscCalloc3(depth + 1, &osfs, depth + 1, &lsfs, depth + 1, &leafOffsets)); in PlexLayerConcatenateSFs_Private()
/petsc/src/dm/impls/plex/exodusii/
H A Dplexexodusii2.c1108 PetscCall(PetscCalloc3(numNodes * 3, &coords, dim, &cval, 24, &closure)); in DMView_PlexExodusII()
/petsc/include/
H A Dpetscsys.h743 #define PetscCalloc3(m1, r1, m2, r2, m3, r3) \ macro
/petsc/src/mat/impls/aij/mpi/
H A Dmpiov.c117 PetscCall(PetscCalloc3(tlength, &remoterows, tlength, &rrow_ranks, tlength, &rrow_isids)); in MatIncreaseOverlap_MPIAIJ_Once_Scalable()
118 PetscCall(PetscCalloc3(size, &toranks, 2 * size, &tosizes, size, &tosizes_temp)); in MatIncreaseOverlap_MPIAIJ_Once_Scalable()
/petsc/src/vec/is/sf/interface/
H A Dsf.c2518 PetscCall(PetscCalloc3(nsfs, &lts, nsfs, &nls, nsfs, &inds)); in PetscSFConcatenate()
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c1670 …PetscCall(PetscCalloc3(DM_NUM_POLYTOPES, &tr->trNv, DM_NUM_POLYTOPES, &tr->trVerts, DM_NUM_POLYTOP… in DMPlexTransformCreateCellVertices_Internal()
/petsc/src/mat/impls/nest/
H A Dmatnest.c208 PetscCall(PetscCalloc3(nr + 1, &contents->dm, nc + 1, &contents->dn, nr * nc, &contents->workC)); in MatProductSymbolic_Nest_Dense()
/petsc/src/dm/impls/network/
H A Dnetwork.c413 PetscCall(PetscCalloc3(Nsedgelist, &svtas, Nsedgelist, &tdata, 2 * Nsedgelist, &ta2sv)); in SharedVtxCreate()
/petsc/src/ts/tutorials/
H A Dex53.c2033 PetscCall(PetscCalloc3(Nf, &exacts, Nf, &ectxs, PetscMax(1, Nf), &err)); in SolutionMonitor()

12