Home
last modified time | relevance | path

Searched refs:vcStart (Results 1 – 4 of 4) sorted by relevance

/petsc/src/ksp/ksp/utils/dm/
H A Ddmproject.c1016 PetscInt dim, xcdim, vcdim, xcStart, xcEnd, vcStart, vcEnd, Np, Nfc; in DMSwarmRemap_Colella_Internal() local
1047 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in DMSwarmRemap_Colella_Internal()
1048 PetscCall(DMPlexGetCellCoordinates(vdm, vcStart, &isDG, &Nc, &array, &coords)); in DMSwarmRemap_Colella_Internal()
1051 PetscCall(DMPlexRestoreCellCoordinates(vdm, vcStart, &isDG, &Nc, &array, &coords)); in DMSwarmRemap_Colella_Internal()
1056 vend[0] = vcEnd - vcStart; in DMSwarmRemap_Colella_Internal()
1245 PetscInt xcStart, xcEnd, vcStart, vcEnd, cStart, cEnd, r; in DMSwarmRemap_PFAK_Internal() local
1249 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in DMSwarmRemap_PFAK_Internal()
1251 r = (PetscInt)PetscSqrtReal(((xcEnd - xcStart) * (vcEnd - vcStart)) / (cEnd - cStart)); in DMSwarmRemap_PFAK_Internal()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c459 PetscInt dim, xcStart, xcEnd, vcStart, vcEnd, Ns, Np, Npc, debug; in InitializeParticles_Centroid() local
482 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in InitializeParticles_Centroid()
485 Npc = (vcEnd - vcStart) * Ns; in InitializeParticles_Centroid()
494 PetscCall(PetscPrintf(comm, "Global V-cells = %" PetscInt_FMT "\n", vcEnd - vcStart)); in InitializeParticles_Centroid()
530 const PetscInt vc = vcStart + q; in InitializeParticles_Centroid()
588 …PetscInt dim, Ns, xcStart, xcEnd, vcStart, vcEnd, debug = ((DM_Swarm *)sw->data)->printWei… in InitializeWeights() local
601 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in InitializeWeights()
622vcStart) * Ns, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Number of particles %" PetscInt_FMT " in cel… in InitializeWeights()
643 for (PetscInt vc = vcStart; vc < vcEnd; ++vc) { in InitializeWeights()
H A Dex2.c1161 PetscInt dim, xcStart, xcEnd, vcStart, vcEnd, Ns, Np, Npc, debug; in InitializeParticles_Centroid() local
1184 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in InitializeParticles_Centroid()
1187 Npc = (vcEnd - vcStart) * Ns; in InitializeParticles_Centroid()
1196 PetscCall(PetscPrintf(comm, "Global V-cells = %" PetscInt_FMT "\n", vcEnd - vcStart)); in InitializeParticles_Centroid()
1285 …PetscInt dim, Ns, xcStart, xcEnd, vcStart, vcEnd, debug = ((DM_Swarm *)sw->data)->printWei… in InitializeWeights() local
1298 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in InitializeWeights()
1319vcStart) * Ns, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Number of particles %" PetscInt_FMT " in cel… in InitializeWeights()
1340 for (PetscInt vc = vcStart; vc < vcEnd; ++vc) { in InitializeWeights()
H A Dex4.c1775 PetscInt dim, xcStart, xcEnd, vcStart, vcEnd, Ns, Np, Npc, debug; in InitializeParticles_Centroid() local
1798 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in InitializeParticles_Centroid()
1801 Npc = (vcEnd - vcStart) * Ns; in InitializeParticles_Centroid()
1810 PetscCall(PetscPrintf(comm, "Global V-cells = %" PetscInt_FMT "\n", vcEnd - vcStart)); in InitializeParticles_Centroid()
1899 …PetscInt dim, Ns, xcStart, xcEnd, vcStart, vcEnd, debug = ((DM_Swarm *)sw->data)->printWei… in InitializeWeights() local
1912 PetscCall(DMPlexGetHeightStratum(vdm, 0, &vcStart, &vcEnd)); in InitializeWeights()
1933vcStart) * Ns, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Number of particles %" PetscInt_FMT " in cel… in InitializeWeights()
1954 for (PetscInt vc = vcStart; vc < vcEnd; ++vc) { in InitializeWeights()