Searched refs:pval (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/sys/classes/random/impls/curand/ |
| H A D | curand2.cu | 47 thrust::device_ptr<PetscReal> pval = thrust::device_pointer_cast(val); in PetscRandomCurandScale_Private() local 48 …auto zibit = thrust::make_zip_iterator(thrust::make_tuple(pval, thrust::c… in PetscRandomCurandScale_Private() 49 thrust::transform(zibit, zibit + n, pval, complexscalelw(r->low, r->width)); in PetscRandomCurandScale_Private() 56 thrust::device_ptr<PetscReal> pval = thrust::device_pointer_cast(val); in PetscRandomCurandScale_Private() local 57 thrust::transform(pval, pval + n, pval, realscalelw(rl, rw)); in PetscRandomCurandScale_Private()
|
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | classical.c | 444 const PetscScalar *pval; in PCGAMGTruncateProlongator_Private() local 469 PetscCall(MatGetRow(*P, i, &ncols, &pcol, &pval)); in PCGAMGTruncateProlongator_Private() 474 if (PetscRealPart(pval[j]) > pmax_pos) { in PCGAMGTruncateProlongator_Private() 475 pmax_pos = PetscRealPart(pval[j]); in PCGAMGTruncateProlongator_Private() 476 } else if (PetscRealPart(pval[j]) < pmax_neg) { in PCGAMGTruncateProlongator_Private() 477 pmax_neg = PetscRealPart(pval[j]); in PCGAMGTruncateProlongator_Private() 481 …if (PetscRealPart(pval[j]) >= pmax_pos * cls->interp_threshold || PetscRealPart(pval[j]) <= pmax_n… in PCGAMGTruncateProlongator_Private() 489 PetscCall(MatRestoreRow(*P, i, &ncols, &pcol, &pval)); in PCGAMGTruncateProlongator_Private() 502 PetscCall(MatGetRow(*P, i, &ncols, &pcol, &pval)); in PCGAMGTruncateProlongator_Private() 506 if (PetscRealPart(pval[j]) > pmax_pos) { in PCGAMGTruncateProlongator_Private() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrcohesive.c | 991 PetscInt pval; in DMPlexTransformMapCoordinates_Cohesive() local 1000 PetscCall(DMLabelGetValue(tr->trType, p, &pval)); in DMPlexTransformMapCoordinates_Cohesive() 1001 if (width == 0. || pval < 100) { in DMPlexTransformMapCoordinates_Cohesive()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | PC.pyx | 1659 cdef PetscPCFieldSplitSchurPreType pval = ptype 1662 CHKERR(PCFieldSplitSetSchurPre(self.pc, pval, pmat))
|