Home
last modified time | relevance | path

Searched refs:cmax (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ksp/pc/impls/gamg/
H A Dclassical.c91 PetscInt cmax = 0; in PCGAMGCreateGraph_Classical() local
116 if (ncols > cmax) cmax = ncols; in PCGAMGCreateGraph_Classical()
133 PetscCall(PetscMalloc2(cmax, &gval, cmax, &gcol)); in PCGAMGCreateGraph_Classical()
190 PetscInt fn, cn, fs, fe, cs, ce, i, j, ncols, col, row_f, row_c, cmax = 0, idx, noff; in PCGAMGProlongator_Classical_Direct() local
264 if (ncols > cmax) cmax = ncols; in PCGAMGProlongator_Classical_Direct()
267 PetscCall(PetscMalloc2(cmax, &pcols, cmax, &pvals)); in PCGAMGProlongator_Classical_Direct()
443 PetscInt j, i, ps, pf, pn, pcs, pcf, pcn, idx, cmax; in PCGAMGTruncateProlongator_Private() local
465 cmax = 0; in PCGAMGTruncateProlongator_Private()
470 if (ncols > cmax) cmax = ncols; in PCGAMGTruncateProlongator_Private()
492 PetscCall(PetscMalloc2(cmax, &pnval, cmax, &pncol)); in PCGAMGTruncateProlongator_Private()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMSwarm.pyx669 cdef PetscReal cmax[3]
670 cmax[0] = cmax[1] = cmax[2] = asReal(0.)
671 for i from 0 <= i < dim: cmax[i] = max[i]
676 CHKERR(DMSwarmSetPointsUniformCoordinates(self.dm, cmin, cmax, cnpoints, cmode))
/petsc/src/mat/utils/
H A Dmatstash.c338 …t n, const PetscInt idxn[], const PetscScalar values[], PetscInt rmax, PetscInt cmax, PetscInt idx) in MatStashValuesRowBlocked_Private() argument
361 vals += cmax * bs; in MatStashValuesRowBlocked_Private()
389 …t n, const PetscInt idxn[], const PetscScalar values[], PetscInt rmax, PetscInt cmax, PetscInt idx) in MatStashValuesColBlocked_Private() argument
/petsc/src/snes/tutorials/
H A Dex48.c243 PetscReal min, max, cmin, cmax; member
403 p->cmax = p->max = -1e100; in PRangeClear()
410 p->cmax = max; in PRangeMinMax()
871 … (double)thi->eta.cmin, (double)thi->eta.cmax, (double)thi->beta2.cmin, (double)thi->beta2.cmax)); in THIMatrixStatistics()
959 … %g\n", (double)thi->eta.min, (double)thi->eta.max, (double)thi->eta.cmin, (double)thi->eta.cmax)); in THISolveStatistics()
960 …(double)thi->beta2.min, (double)thi->beta2.max, (double)thi->beta2.cmin, (double)thi->beta2.cmax)); in THISolveStatistics()
/petsc/src/ts/tutorials/
H A Dex14.c233 PetscReal min, max, cmin, cmax; member
468 p->cmax = p->max = -1e100; in PRangeClear()
475 p->cmax = max; in PRangeMinMax()
981 … (double)thi->eta.cmax, (double)thi->beta2.cmin, (double)thi->beta2.cmax)); in THIMatrixStatistics()
1077 …%g]\n", (double)thi->eta.min, (double)thi->eta.max, (double)thi->eta.cmin, (double)thi->eta.cmax)); in THISolveStatistics()
1078 …(double)thi->beta2.min, (double)thi->beta2.max, (double)thi->beta2.cmin, (double)thi->beta2.cmax)); in THISolveStatistics()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas5004 (lithium/anode-cmax 16.1)
5005 (lithium/cathode-cmax 23.9)