Lines Matching refs:cStart
65 PetscInt dim, d, cStart, cEnd, c, Np, p; in SetInitialCoordinates() local
77 PetscCall(DMPlexGetHeightStratum(dm, 0, &cStart, &cEnd)); in SetInitialCoordinates()
78 PetscCall(DMPlexGetCellType(dm, cStart, &ct)); in SetInitialCoordinates()
84 for (c = cStart; c < cEnd; ++c) { in SetInitialCoordinates()
126 PetscInt dim, d, cStart, cEnd, c, Np, p, n; in SetInitialConditions() local
134 PetscCall(DMPlexGetHeightStratum(dm, 0, &cStart, &cEnd)); in SetInitialConditions()
135 …d - cStart) * Np, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "TS solution local size %" PetscInt_FMT " !=… in SetInitialConditions()
138 for (c = cStart; c < cEnd; ++c) { in SetInitialConditions()
153 PetscInt dim, cStart, cEnd, c, Np = user->particlesPerCell, p; in CreateParticles() local
168 PetscCall(DMPlexGetHeightStratum(dm, 0, &cStart, &cEnd)); in CreateParticles()
169 PetscCall(DMSwarmSetLocalSizes(*sw, (cEnd - cStart) * Np, 0)); in CreateParticles()
172 for (c = cStart; c < cEnd; ++c) { in CreateParticles()
234 PetscInt Nq = 100, q, cStart, cEnd, c; in CheckDistribution() local
244 PetscCall(DMPlexGetHeightStratum(dm, 0, &cStart, &cEnd)); in CheckDistribution()
246 for (c = cStart; c < cEnd; ++c) { in CheckDistribution()
280 PetscInt dim, d, Np, Ncp, p, cStart, cEnd, c; in RHSFunctionParticles() local
292 PetscCall(DMPlexGetHeightStratum(plex, 0, &cStart, &cEnd)); in RHSFunctionParticles()
294 Ncp = Np / (cEnd - cStart); in RHSFunctionParticles()
316 for (c = cStart; c < cEnd; ++c) { in RHSFunctionParticles()
420 PetscInt dim, Np, p, cStart, cEnd; in KSConv() local
437 PetscCall(DMPlexGetHeightStratum(plex, 0, &cStart, &cEnd)); in KSConv()