Home
last modified time | relevance | path

Searched refs:PetscPowInt (Results 1 – 25 of 26) sorted by relevance

12

/petsc/src/dm/dt/tests/
H A Dex16.c50 PetscInt dblock = PetscPowInt(cdim, k); in PetscFEVectorTest()
59 …for (PetscInt d = 0; d < PetscPowInt(cdim, k); d++) err = PetscMax(err, PetscAbsReal(s_Tc[d] - v_T… in PetscFEVectorTest()
98 PetscInt dblock = PetscPowInt(cdim, k); in PetscFEVectorTest()
/petsc/src/dm/dt/dualspace/impls/lagrange/tests/
H A Dex1.c57 rpowk = PetscPowInt(order, formDegree); in ExpectedNumDofs_Total()
58 rp1pownmk = PetscPowInt(order + 1, dim - formDegree); in ExpectedNumDofs_Total()
65 rp1pown = PetscPowInt(order + 1, dim); in ExpectedNumDofs_Total()
/petsc/src/dm/impls/plex/
H A Dplexsfc.c222 const PetscInt csize = PetscPowInt(2, dim - 1); in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private()
699 …PetscCall(DMGetWorkArray(dm, 2 * PetscPowInt(maxConeSize, dm_depth - 1), MPIU_INT, &periodic2donor… in DMPlexCorrectOrientationForIsoperiodic()
810 …PetscCall(DMRestoreWorkArray(dm, 2 * PetscPowInt(maxConeSize, dm_depth - 1), MPIU_INT, &periodic2d… in DMPlexCorrectOrientationForIsoperiodic()
1221 for (PetscInt n = 0; n < PetscPowInt(2, dim); n++) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1239 …for (PetscInt e = 0; e < local_elems; e++) PetscCall(DMPlexSetConeSize(dm, e, PetscPowInt(2, dim))… in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1250 for (PetscInt n = 0; n < PetscPowInt(2, dim); n++) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1350 … PetscCall(PetscSegBufferCreate(sizeof(ZCode), 64 * PetscPowInt(2, dim), &donor_face_closure[i])); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1374 if (bc_count[bc] == PetscPowInt(2, dim - 1)) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
H A Dplexpreallocate.c939 …maxClosureSize = 2*PetscMax(PetscPowInt(mesh->maxConeSize,depth+1),PetscPowInt(mesh->maxSupportSiz…
H A Dplex.c4074 …coneSeries = (maxConeSize > 1) ? ((PetscPowInt(maxConeSize, dim + 1) - 1) / (maxConeSize - 1)) … in DMPlexTransitiveClosure_Tensor_Internal()
4075 …supportSeries = (maxSupportSize > 1) ? ((PetscPowInt(maxSupportSize, dim + 1) - 1) / (maxSupportSi… in DMPlexTransitiveClosure_Tensor_Internal()
4151 …coneSeries = (maxConeSize > 1) ? ((PetscPowInt(maxConeSize, depth + 1) - 1) / (maxConeSize - 1)… in DMPlexGetTransitiveClosure_Internal()
4152 …supportSeries = (maxSupportSize > 1) ? ((PetscPowInt(maxSupportSize, depth + 1) - 1) / (maxSupport… in DMPlexGetTransitiveClosure_Internal()
4966 maxSize = (ms > 1) ? ((PetscPowInt(ms, depth + 1) - 1) / (ms - 1)) : depth + 1; in DMPlexGetFullJoin()
5168 maxSize = (mc > 1) ? ((PetscPowInt(mc, height + 1) - 1) / (mc - 1)) : height + 1; in DMPlexGetFullMeet()
5958 *dof = PetscPowInt(k + 1, dim); in GetFieldSize_Private()
H A Dplexdistribute.c214 else asiz = (maxP > 1) ? ((PetscPowInt(maxP, depth + 1) - 1) / (maxP - 1)) : depth + 1; in DMPlexGetMaxAdjacencySize_Internal()
/petsc/src/dm/dt/fe/impls/vector/
H A Dfevector.c130 dblock = PetscPowInt(cdim, k); in PetscFEVectorInsertTabulation()
173 PetscInt dblock = PetscPowInt(cdim, k); in PetscFEComputeTabulation_Vector()
/petsc/src/dm/impls/plex/tutorials/
H A Dex6.c329 … for (d = 0; d <= dim; ++d) numDof[f * (dim + 1) + d] = PetscPowInt(user.k[f] - 1, d) * user.Nc[f]; in main()
330 size += PetscPowInt(user.k[f] + 1, d) * user.Nc[f]; in main()
/petsc/src/dm/dt/space/impls/tensor/
H A Dspacetensor.c69 …PetscCheck(Nc % PetscPowInt(Ncs, Ns) == 0, PetscObjectComm((PetscObject)sp), PETSC_ERR_ARG_WRONG, … in PetscSpaceSetFromOptions_Tensor()
169 …PetscCheck(Nc % PetscPowInt(Ncs, Ns) == 0, PetscObjectComm((PetscObject)sp), PETSC_ERR_ARG_WRONG, … in PetscSpaceSetUp_Tensor()
175 Ncprod = PetscPowInt(Ncs, Ns); in PetscSpaceSetUp_Tensor()
/petsc/src/ksp/ksp/utils/dm/
H A Ddmproject.c876 Npc = Ns * PetscPowInt(n, dim); in InitializeParticles_Regular()
950 vi[0] = (q / PetscPowInt(n, xdim)) % n; in InitializeParticles_Regular()
951 vi[1] = (q / PetscPowInt(n, xdim + 1)) % n; in InitializeParticles_Regular()
952 vi[2] = (q / PetscPowInt(n, xdim + 2)); in InitializeParticles_Regular()
/petsc/src/dm/dt/fe/impls/basic/
H A Dfebasic.c183 cellScale = (PetscReal)PetscPowInt(2, dim); in PetscFEIntegrate_Basic()
274 cellScale = (PetscReal)PetscPowInt(2, dim); in PetscFEIntegrateBd_Basic()
410 cellScale = (PetscReal)PetscPowInt(2, dim); in PetscFEIntegrateResidual_Basic()
517 cellScale = (PetscReal)PetscPowInt(2, dim); in PetscFEIntegrateBdResidual_Basic()
775 cellScale = (PetscReal)PetscPowInt(2, dim); in PetscFEIntegrateJacobian_Basic()
923 cellScale = (PetscReal)PetscPowInt(2, dim); in PetscFEIntegrateBdJacobian_Basic()
/petsc/src/snes/tutorials/
H A Dex5.c647 user.m = PetscPowInt(2, mPar); in main()
648 user.n = PetscPowInt(2, nPar); in main()
H A Dex55.c595 user.m = PetscPowInt(2, mPar); in main()
596 user.n = PetscPowInt(2, nPar); in main()
H A Dex12.c504 N = PetscPowInt(user->div, dim); in CreateMesh()
/petsc/src/mat/graphops/partition/impls/pmetis/
H A Dpmetis.c133 subd = PetscPowInt(2, log2size); in MatPartitioningApply_Parmetis_Private()
/petsc/src/mat/graphops/partition/impls/scotch/
H A Dscotch.c302 subd = PetscPowInt(2, log2size); in MatPartitioningApply_PTScotch_Private()
/petsc/doc/changes/
H A D314.md307 PetscPowInt result overflows 32bit representations
/petsc/src/ts/utils/dmplexlandau/tutorials/
H A Dex1.c234 ctx->verbose = PetscPowInt(2, logT) / 2; in Monitor()
/petsc/include/
H A Dpetscmath.h1051 static inline PetscInt PetscPowInt(PetscInt base, PetscInt power) in PetscPowInt() function
/petsc/src/dm/partitioner/impls/multistage/
H A Dmspart.c261 PetscMPIInt inc = (PetscMPIInt)PetscPowInt(m, l - i - 1); in PetscPartitionerMultistage_CreateStages()
/petsc/src/mat/impls/aij/mpi/superlu_dist/
H A Dsuperlu_dist.c725 …PetscCheck(PetscPowInt(2, t) == lu->npdep, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_OUTOFRAN… in MatLUFactorSymbolic_SuperLU_DIST()
/petsc/src/ksp/ksp/tutorials/
H A Dex59.c974 dd->scalingfactor = PetscPowScalar(10.0, factor * PetscPowInt(-1, rank)); in InitializeDomainData()
/petsc/src/dm/dt/fv/interface/
H A Dfv.c1664 …for (k = 0; k <= (*T)->K; ++k) PetscCall(PetscMalloc1(nrepl * npoints * pdim * Nc * PetscPowInt(cd… in PetscFVCreateTabulation()
/petsc/src/dm/impls/swarm/
H A Dswarm.c739 maxAdjSize = PetscPowInt(maxConeSize * maxSupportSize, depth); in DMSwarmComputeMassMatrixSquare_Private()
/petsc/src/dm/dt/fe/interface/
H A Dfe.c1008 …for (k = 0; k <= (*T)->K; ++k) PetscCall(PetscCalloc1(nrepl * npoints * Nb * Nc * PetscPowInt(cdim… in PetscFECreateTabulation()

12