| /petsc/src/dm/dt/tests/ |
| H A D | ex16.c | 50 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 D | ex1.c | 57 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 D | plexsfc.c | 222 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 D | plexpreallocate.c | 939 …maxClosureSize = 2*PetscMax(PetscPowInt(mesh->maxConeSize,depth+1),PetscPowInt(mesh->maxSupportSiz…
|
| H A D | plex.c | 4074 …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 D | plexdistribute.c | 214 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 D | fevector.c | 130 dblock = PetscPowInt(cdim, k); in PetscFEVectorInsertTabulation() 173 PetscInt dblock = PetscPowInt(cdim, k); in PetscFEComputeTabulation_Vector()
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex6.c | 329 … 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 D | spacetensor.c | 69 …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 D | dmproject.c | 876 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 D | febasic.c | 183 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 D | ex5.c | 647 user.m = PetscPowInt(2, mPar); in main() 648 user.n = PetscPowInt(2, nPar); in main()
|
| H A D | ex55.c | 595 user.m = PetscPowInt(2, mPar); in main() 596 user.n = PetscPowInt(2, nPar); in main()
|
| H A D | ex12.c | 504 N = PetscPowInt(user->div, dim); in CreateMesh()
|
| /petsc/src/mat/graphops/partition/impls/pmetis/ |
| H A D | pmetis.c | 133 subd = PetscPowInt(2, log2size); in MatPartitioningApply_Parmetis_Private()
|
| /petsc/src/mat/graphops/partition/impls/scotch/ |
| H A D | scotch.c | 302 subd = PetscPowInt(2, log2size); in MatPartitioningApply_PTScotch_Private()
|
| /petsc/doc/changes/ |
| H A D | 314.md | 307 PetscPowInt result overflows 32bit representations
|
| /petsc/src/ts/utils/dmplexlandau/tutorials/ |
| H A D | ex1.c | 234 ctx->verbose = PetscPowInt(2, logT) / 2; in Monitor()
|
| /petsc/include/ |
| H A D | petscmath.h | 1051 static inline PetscInt PetscPowInt(PetscInt base, PetscInt power) in PetscPowInt() function
|
| /petsc/src/dm/partitioner/impls/multistage/ |
| H A D | mspart.c | 261 PetscMPIInt inc = (PetscMPIInt)PetscPowInt(m, l - i - 1); in PetscPartitionerMultistage_CreateStages()
|
| /petsc/src/mat/impls/aij/mpi/superlu_dist/ |
| H A D | superlu_dist.c | 725 …PetscCheck(PetscPowInt(2, t) == lu->npdep, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_OUTOFRAN… in MatLUFactorSymbolic_SuperLU_DIST()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex59.c | 974 dd->scalingfactor = PetscPowScalar(10.0, factor * PetscPowInt(-1, rank)); in InitializeDomainData()
|
| /petsc/src/dm/dt/fv/interface/ |
| H A D | fv.c | 1664 …for (k = 0; k <= (*T)->K; ++k) PetscCall(PetscMalloc1(nrepl * npoints * pdim * Nc * PetscPowInt(cd… in PetscFVCreateTabulation()
|
| /petsc/src/dm/impls/swarm/ |
| H A D | swarm.c | 739 maxAdjSize = PetscPowInt(maxConeSize * maxSupportSize, depth); in DMSwarmComputeMassMatrixSquare_Private()
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fe.c | 1008 …for (k = 0; k <= (*T)->K; ++k) PetscCall(PetscCalloc1(nrepl * npoints * Nb * Nc * PetscPowInt(cdim… in PetscFECreateTabulation()
|