Home
last modified time | relevance | path

Searched refs:PetscRealloc (Results 1 – 20 of 20) sorted by relevance

/petsc/src/sys/logging/utils/
H A Dstack.c91 PetscCall(PetscRealloc(stack->max * sizeof(*stack->stack), &stack->stack)); in PetscIntStackPush()
/petsc/src/ts/interface/
H A Dtshistory.c26 PetscCall(PetscRealloc(tsh->c * sizeof(*tsh->hist), &tsh->hist)); in TSHistoryUpdate()
27 PetscCall(PetscRealloc(tsh->c * sizeof(*tsh->hist_id), &tsh->hist_id)); in TSHistoryUpdate()
/petsc/src/dm/impls/plex/
H A Dpointqueue.c35 PetscCall(PetscRealloc(queue->size * sizeof(PetscInt), &queue->points)); in DMPlexPointQueueEnsureSize()
/petsc/src/sys/objects/
H A Dprefix.c135 PetscCall(PetscRealloc(new_len * sizeof(*obj->prefix), &obj->prefix)); in PetscObjectAppendOptionsPrefix()
/petsc/src/dm/impls/swarm/
H A Dswarmpic_sort.c56 PetscCall(PetscRealloc(sizeof(PetscInt) * (ncells + 1), &ctx->pcell_offsets)); in DMSwarmSortSetup()
64 PetscCall(PetscRealloc(sizeof(SwarmPoint) * npoints, &ctx->list)); in DMSwarmSortSetup()
H A Ddata_bucket.c135 PetscCall(PetscRealloc(sizeof(DMSwarmDataField) * (db->nfields + 1), &db->field)); in DMSwarmDataBucketRegisterField()
213 PetscCall(PetscRealloc(df->atomic_size * (new_L), &df->data)); in DMSwarmDataFieldSetSize()
218 PetscCall(PetscRealloc(df->atomic_size * (new_L + 1), &df->data)); in DMSwarmDataFieldSetSize()
H A Ddata_ex.c218 PetscCall(PetscRealloc(sizeof(PetscMPIInt) * (d->n_neighbour_procs + 1), &d->neighbour_procs)); in DMSwarmDataExTopologyAddNeighbour()
/petsc/src/sys/classes/draw/interface/
H A Ddraw.c237 PetscCall(PetscRealloc(new_len * sizeof(*draw->title), &draw->title)); in PetscDrawAppendTitle()
/petsc/src/mat/utils/
H A Daxpy.c225 PetscCall(PetscRealloc(vs * sizeof(*val), &val)); in MatAXPY_Basic()
284 PetscCall(PetscRealloc(vs * sizeof(*val), &val)); in MatAXPY_BasicWithPreallocation()
/petsc/src/sys/objects/device/interface/
H A Ddcontext.cxx614 PetscCall(PetscRealloc(numChildren * sizeof(*childIDs), &childIDs)); in PetscDeviceContextForkWithStreamType()
/petsc/src/dm/impls/da/
H A Ddadd.c257 PetscCall(PetscRealloc(idx * sizeof(PetscInt), &indices)); in DMDACreatePatchIS()
/petsc/src/mat/impls/sbaij/mpi/
H A Dsbaijov.c64 PetscCall(PetscRealloc(max_len * sizeof(*obj->type_name), &obj->type_name)); in MatIncreaseOverlap_MPISBAIJ()
/petsc/src/vec/is/is/utils/
H A Disdiff.c431 PetscCall(PetscRealloc(nout * sizeof(PetscInt), &iout)); in ISIntersect()
/petsc/src/mat/impls/composite/
H A Dmcomposite.c437 PetscCall(PetscRealloc(sizeof(PetscScalar) * shell->nmat, &shell->scalings)); in MatCompositeAddMat_Composite()
/petsc/src/ksp/pc/impls/bjacobi/bjkokkos/
H A Dbjkokkos.kokkos.cxx871 PetscCall(PetscRealloc(sizeof(PetscInt) * nDMs, &block_sizes)); in PCSetUp_BJKOKKOS()
/petsc/include/petsc/private/
H A Dmatimpl.h1477 PetscCall(PetscRealloc(lsize * sizeof(PetscInt), lnk)); in PetscLLCondensedExpand_Scalable()
/petsc/include/
H A Dpetscsys.h518 #define PetscRealloc(a, b) ((*PetscTrRealloc)((a), __LINE__, PETSC_FUNCTION_NAME, __FILE__, (void *… macro
/petsc/src/mat/impls/aij/seq/
H A Dmatmatmult.c866 PetscCall(PetscRealloc(sizeof(PetscInt) * c_maxmem, &cj)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ_RowMerge()
/petsc/src/mat/impls/aij/mpi/mumps/
H A Dmumps.c3334 …if (i > 0) PetscCall(PetscRealloc(sizeof(PetscMUMPSInt) * (2 * nICNTL_pre + 3), &mumps->ICNTL_pre)… in MatMumpsSetIcntl_MUMPS()
3429 if (i > 0) PetscCall(PetscRealloc(sizeof(PetscReal) * (2 * nCNTL_pre + 3), &mumps->CNTL_pre)); in MatMumpsSetCntl_MUMPS()
/petsc/src/mat/interface/
H A Dmatrix.c806 PetscCall(PetscRealloc(new_len * sizeof(*A->factorprefix), &A->factorprefix)); in MatAppendOptionsPrefixFactor()