Home
last modified time | relevance | path

Searched refs:nV (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/da/
H A Ddalocal.c151 const PetscInt nV = nVx * nVy * nVz; in DMDAGetNumVertices() local
168 *numVertices = nV; in DMDAGetNumVertices()
237 PetscInt nC, nV, nXF, nYF, nZF; in DMDAGetHeightStratum() local
243 PetscCall(DMDAGetNumVertices(dm, NULL, NULL, NULL, &nV)); in DMDAGetHeightStratum()
251 if (pStart) *pStart = nC + nV; in DMDAGetHeightStratum()
252 if (pEnd) *pEnd = nC + nV + nXF + nYF + nZF; in DMDAGetHeightStratum()
256 if (pEnd) *pEnd = nC + nV; in DMDAGetHeightStratum()
260 if (pEnd) *pEnd = nC + nV + nXF + nYF + nZF; in DMDAGetHeightStratum()
289 PetscInt nC, nV, nXF, nYF, nZF; in DMDAGetDepthStratum() local
295 PetscCall(DMDAGetNumVertices(dm, NULL, NULL, NULL, &nV)); in DMDAGetDepthStratum()
[all …]
/petsc/src/ts/tests/
H A Dex10.c280 PetscInt nU, nV, UVstart; in TSDAESimpleSetUp_Full() local
299 PetscCall(VecGetLocalSize(tsdae->V, &nV)); in TSDAESimpleSetUp_Full()
300 PetscCall(VecCreateFromOptions(tsdae->comm, NULL, nU + nV, PETSC_DETERMINE, &tsrhs)); in TSDAESimpleSetUp_Full()
307 PetscCall(ISCreateStride(tsdae->comm, nV, UVstart + nU, 1, &is)); in TSDAESimpleSetUp_Full()
/petsc/src/dm/label/
H A Ddmlabel.c2367 PetscInt nV, vS = 0, vE = 0, v, N; in DMLabelConvertToSection() local
2371 PetscCall(DMLabelGetNumValues(label, &nV)); in DMLabelConvertToSection()
2374 if (nV) { in DMLabelConvertToSection()
2378 for (v = 1; v < nV; ++v) { in DMLabelConvertToSection()
2384 for (v = 0; v < nV; ++v) { in DMLabelConvertToSection()
2393 for (v = 0; v < nV; ++v) { in DMLabelConvertToSection()