Home
last modified time | relevance | path

Searched refs:PetscCalloc2 (Results 1 – 25 of 72) sorted by relevance

123

/petsc/src/sys/objects/
H A Dstate.c115 PetscCall(PetscCalloc2(new_n * obj_size, &new_ar, new_n, &new_ir)); in PetscObjectComposedDataIncrease_()
137 PetscCall(PetscCalloc2(new_n, &new_ar, new_n, &new_ir)); in PetscObjectComposedDataStarIncrease_()
/petsc/src/mat/utils/
H A Doverlapsplit.c79 PetscCall(PetscCalloc2(localsize, &indices_ov, localsize, &sources_sc)); in MatIncreaseOverlapSplit_Single()
80 PetscCall(PetscCalloc2(localsize, &indices_ov_rd, localsize, &sources_sc_rd)); in MatIncreaseOverlapSplit_Single()
/petsc/src/vec/is/sf/tests/
H A Dex25.c39 …PetscCall(PetscCalloc2(nroots * m, &rootdata, nleaves * m, &leafdata)); // allocate fat nodes to a… in main()
/petsc/src/mat/tests/
H A Dex256.c20 PetscCall(PetscCalloc2(lda * n, &a, lda * n, &b)); in main()
H A Dex73.c142 PetscCall(PetscCalloc2(2 * m, &nzd, 2 * m, &nzo)); in main()
/petsc/src/dm/impls/plex/tests/
H A Dex52.c15 PetscCall(PetscCalloc2(1, &NumComp, 3, &NumDof)); in CloneDMWithNewSection()
/petsc/src/ts/tutorials/network/
H A Dpipes.c478 PetscCall(PetscCalloc2(numVertices, &junctions, numEdges, &pipes)); in WashNetworkCreate()
520 PetscCall(PetscCalloc2(numVertices, &junctions, numEdges, &pipes)); in WashNetworkCreate()
561 PetscCall(PetscCalloc2(numVertices, &junctions, numEdges, &pipes)); in WashNetworkCreate()
673 PetscCall(PetscCalloc2(vEnd - vStart, &junctions, nedges, &pipes)); in main()
H A DpipeInterface.c120 PetscCall(PetscCalloc2(M, &nz, 4, &aa)); in PipeCreateJacobian()
/petsc/src/ts/impls/implicit/radau5/
H A Dradau5.c91 PetscCall(PetscCalloc2(LWORK, &WORK, LIWORK, &IWORK)); in TSSolve_Radau5()
/petsc/src/ksp/ksp/tutorials/network/
H A Dex4.c24 PetscCall(PetscCalloc2(Nsubnet, &numEdges, Nsubnet, &edgelist)); in main()
H A Dex1.c65 PetscCall(PetscCalloc2(nnode, &node, nbranch, &branch)); in read_data()
H A Dex2.c121 PetscCall(PetscCalloc2(nvertex, &node, nedges, &branch)); in random_network()
/petsc/src/ksp/ksp/tutorials/
H A Dex77.c57 PetscCall(PetscCalloc2(N * N, &S, N * N, &T)); in main()
/petsc/src/dm/impls/moab/
H A Ddmmbmat.cxx29 PetscCall(PetscCalloc2(nlsiz, &nnz, nlsiz, &onz)); in DMCreateMatrix_Moab()
/petsc/src/dm/partitioner/impls/shell/
H A Dpartshell.c98 PetscCall(PetscCalloc2(nparts, &sizes, numVertices, &points)); in PetscPartitionerPartition_Shell()
/petsc/src/vec/is/ao/impls/memscalable/
H A Daomemscalable.c113 PetscCall(PetscCalloc2(2 * size, &sizes, n, &owner)); in AOMap_MemoryScalable_private()
443 PetscCall(PetscCalloc2(n_local, &aomems->app_loc, n_local, &aomems->petsc_loc)); in AOCreate_MemoryScalable()
/petsc/src/dm/interface/
H A Ddmi.c244 …PetscCall(PetscCalloc2(numFields, &(*subdm)->nullspaceConstructors, numFields, &(*subdm)->nearnull… in DMSelectFields_Private()
534 …PetscCall(PetscCalloc2(Nf, &(*superdm)->nullspaceConstructors, Nf, &(*superdm)->nearnullspaceConst… in DMCreateSectionSuperDM()
/petsc/src/vec/is/is/utils/
H A Discoloring.c424 PetscCall(PetscCalloc2(size, &tosizes_tmp, size + 1, &tooffsets_tmp)); in ISBuildTwoSided()
435 PetscCall(PetscCalloc2(nto, &toranks, 2 * nto, &tosizes)); in ISBuildTwoSided()
/petsc/src/dm/dt/fe/interface/
H A Dfegeom.c37 PetscCall(PetscCalloc2(numCells, &g->face, N * dimEmbed, &g->n)); in PetscFEGeomCreate()
/petsc/src/mat/impls/aij/seq/
H A Dmatptap.c201 PetscCall(PetscCalloc2(cn, &apa, cn, &apjdense)); in MatPtAPNumeric_SeqAIJ_SeqAIJ_SparseAxpy()
/petsc/src/vec/is/ao/impls/basic/
H A Daobasic.c223 PetscCall(PetscCalloc2(N, &aobasic->app, N, &aobasic->petsc)); in AOCreate_Basic()
/petsc/src/dm/impls/plex/adaptors/mmg/
H A Dmmgadapt.c124 PetscCall(PetscCalloc2(numVertices, &verTags, numCells, &cellTags)); in DMAdaptMetric_Mmg_Plex()
/petsc/src/dm/dt/fe/tests/
H A Dex2.c137 PetscCall(PetscCalloc2(Nf, quads, Nf, geoms)); in CreateFEGeometry()
H A Dex1.c146 PetscCall(PetscCalloc2(Nf, quads, Nf, geoms)); in CreateFEGeometry()
/petsc/src/snes/tests/
H A Dex2.c294 PetscCall(PetscCalloc2(Nc, &funcs, Nc, &vals)); in main()

123