Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/is/is/utils/
H A Disdiff.c800 PetscInt fsize, *hindices, i; in ISSortPermutation() local
806 PetscCall(ISGetLocalSize(f, &fsize)); in ISSortPermutation()
811 for (i = 1; i < fsize; ++i) { in ISSortPermutation()
822 PetscCall(PetscMalloc1(fsize, &hindices)); in ISSortPermutation()
823 for (i = 0; i < fsize; ++i) hindices[i] = i; in ISSortPermutation()
824 PetscCall(PetscSortIntWithPermutation(fsize, findices, hindices)); in ISSortPermutation()
826 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, fsize, hindices, PETSC_OWN_POINTER, h)); in ISSortPermutation()
/petsc/src/mat/impls/sbaij/seq/cholmod/
H A Dsbaijcholmod.c444 size_t fsize = 0; in MatCholeskyFactorSymbolic_CHOLMOD() local
455 err = !cholmod_X_resymbol(&cholA, fset, fsize, (int)chol->pack, chol->factor, chol->common); in MatCholeskyFactorSymbolic_CHOLMOD()
460 chol->factor = cholmod_X_analyze_p(&cholA, (PetscInt *)ip, fset, fsize, chol->common); in MatCholeskyFactorSymbolic_CHOLMOD()