Home
last modified time | relevance | path

Searched refs:itype (Results 1 – 9 of 9) sorted by relevance

/petsc/src/vec/is/is/interface/
H A Dindex.c318 PetscInt itype = (type == IS_LOCAL) ? 0 : 1; in ISSetInfo_Internal() local
324 is->info[itype][(int)info] = iflg; in ISSetInfo_Internal()
325 if (permanent_set) is->info_permanent[itype][(int)info] = permanent; in ISSetInfo_Internal()
346 is->info[itype][IS_INTERVAL] = IS_INFO_FALSE; in ISSetInfo_Internal()
347 is->info[itype][IS_IDENTITY] = IS_INFO_FALSE; in ISSetInfo_Internal()
349 is->info_permanent[itype][IS_INTERVAL] = permanent; in ISSetInfo_Internal()
350 is->info_permanent[itype][IS_IDENTITY] = permanent; in ISSetInfo_Internal()
361 is->info[itype][IS_PERMUTATION] = IS_INFO_FALSE; in ISSetInfo_Internal()
362 is->info[itype][IS_INTERVAL] = IS_INFO_FALSE; in ISSetInfo_Internal()
363 is->info[itype][IS_IDENTITY] = IS_INFO_FALSE; in ISSetInfo_Internal()
[all …]
/petsc/src/mat/graphops/color/utils/
H A Dvalid.c20 MPI_Datatype itype = MPIU_INT; in MatColoringTest() local
59 PetscCall(PetscSFReduceBegin(etoc, itype, stateleafrow, statecol, MPI_MAX)); in MatColoringTest()
60 PetscCall(PetscSFReduceEnd(etoc, itype, stateleafrow, statecol, MPI_MAX)); in MatColoringTest()
78 PetscCall(PetscSFReduceBegin(etor, itype, stateleafcol, staterow, MPI_MAX)); in MatColoringTest()
79 PetscCall(PetscSFReduceEnd(etor, itype, stateleafcol, staterow, MPI_MAX)); in MatColoringTest()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmda.pxi100 cdef inline PetscDMDAInterpolationType dainterpolationtype(object itype) \ argument
102 if (isinstance(itype, str)):
103 if itype in ("q0", "Q0"): return DMDA_INTERPOLATION_Q0
104 if itype in ("q1", "Q1"): return DMDA_INTERPOLATION_Q1
105 else: raise ValueError("unknown interpolation type: %s" % itype)
106 return itype
H A DMat.pyx2093 cdef PetscMatInfoType itype = infotype(info)
2095 CHKERR(MatGetInfo(self.mat, itype, &cinfo))
/petsc/src/dm/impls/plex/
H A Dplexply.c24 char line[PETSC_MAX_PATH_LEN], ntype[16], itype[16], name[1024], vtype[16]; in DMPlexCreatePLYFromFile() local
117 snum = sscanf(line, "property list %s %s %s", ntype, itype, name); in DMPlexCreatePLYFromFile()
/petsc/src/mat/impls/aij/seq/cholmod/
H A Daijcholmod.c43 C->itype = CHOLMOD_INT_TYPE; in MatWrapCholmod_seqaij()
/petsc/src/mat/impls/aij/seq/spqr/
H A Daijspqr.c91 C->itype = CHOLMOD_LONG; in MatWrapCholmod_SPQR_seqaij()
342 chol->common->itype = CHOLMOD_LONG; in MatGetFactor_seqaij_spqr()
/petsc/src/mat/impls/sbaij/seq/cholmod/
H A Dsbaijcholmod.c166 C->itype = CHOLMOD_INT_TYPE; in MatWrapCholmod_seqsbaij()
282 if (chol->common->itype == CHOLMOD_INT) { in MatDestroy_CHOLMOD()
/petsc/src/ksp/pc/impls/telescope/
H A Dtelescope_dmda.c354 DMDAInterpolationType itype; in PCTelescopeSetUp_dmda_repart() local
366 PetscCall(DMDAGetInterpolationType(dm, &itype)); in PCTelescopeSetUp_dmda_repart()
416 PetscCall(DMDASetInterpolationType(ctx->dmrepart, itype)); in PCTelescopeSetUp_dmda_repart()