Searched refs:npt (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/snes/tutorials/network/water/ |
| H A D | waterreaddata.c | 18 for (i = 0; i < pump->headcurve.npt; i++) { in PumpHeadCurveResidual() 39 if (pump->headcurve.npt == 1) { in SetPumpHeadCurveParams() 45 pump->headcurve.npt += 2; in SetPumpHeadCurveParams() 299 …PetscCheck(pump->headcurve.npt != 3, PETSC_COMM_SELF, PETSC_ERR_SUP, "Pump %" PetscInt_FMT " [%" P… in WaterReadData() 301 pump->headcurve.flow[pump->headcurve.npt] = curve_x * GPM_CFS; in WaterReadData() 302 pump->headcurve.head[pump->headcurve.npt] = curve_y; in WaterReadData() 303 pump->headcurve.npt++; in WaterReadData()
|
| H A D | water.h | 79 PetscInt npt; /* Number of given points */ member
|
| /petsc/src/vec/is/is/utils/ |
| H A D | iscoloring.c | 521 PetscMPIInt np, npt; in ISPartitioningToNumbering() local 540 PetscCallMPI(MPIU_Allreduce(&np, &npt, 1, MPI_INT, MPI_MAX, comm)); in ISPartitioningToNumbering() 541 np = npt + 1; /* so that it looks like a MPI_Comm_size output */ in ISPartitioningToNumbering() 620 PetscInt np = 0, npt; in ISPartitioningCount() local 622 PetscCallMPI(MPIU_Allreduce(&np, &npt, 1, MPIU_INT, MPI_MAX, comm)); in ISPartitioningCount() 623 np = npt + 1; /* so that it looks like a MPI_Comm_size output */ in ISPartitioningCount()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 9440 PetscInt coneSize, cp, cconeSize, ccp, npt = 0, pt; in DMPlexCellUnsplitVertices_Private() local 9446 ptpoints[npt++] = c; in DMPlexCellUnsplitVertices_Private() 9453 if (cct == DM_POLYTOPE_POINT_PRISM_TENSOR) ptpoints[npt++] = cone[cp]; in DMPlexCellUnsplitVertices_Private() 9467 for (p = 0; p < npt; ++p) in DMPlexCellUnsplitVertices_Private() 9469 if (p == npt) ptpoints[npt++] = ccone[ccp]; in DMPlexCellUnsplitVertices_Private() 9477 for (pt = 0; pt < npt; ++pt) { in DMPlexCellUnsplitVertices_Private()
|