| /petsc/src/mat/tests/ |
| H A D | ex153.c | 12 PetscInt DIM, dim[5], vsize; in main() local 42 PetscCall(VecGetSize(x, &vsize)); in main() 43 printf("The vector size of input from the main routine is %d\n", vsize); in main() 45 PetscCall(VecGetSize(z, &vsize)); in main() 46 printf("The vector size of output from the main routine is %d\n", vsize); in main()
|
| H A D | ex157.c | 12 PetscInt DIM, dim[5], vsize; in main() local 49 PetscCall(VecGetSize(x, &vsize)); in main() 50 printf("The vector size of input from the main routine is %d\n", vsize); in main() 52 PetscCall(VecGetSize(z, &vsize)); in main() 53 printf("The vector size of output from the main routine is %d\n", vsize); in main()
|
| H A D | ex150.c | 15 PetscInt DIM, dim[5], vsize; in main() local 49 PetscCall(VecGetSize(x, &vsize)); in main() 50 printf("The vector size from the main routine is %d\n", vsize); in main() 59 PetscCall(VecGetSize(z, &vsize)); in main() 60 printf("The vector size of zfrom the main routine is %d\n", vsize); in main()
|
| H A D | ex155.c | 13 PetscInt DIM, dim[5], vsize, row, col; in main() local 43 PetscCall(VecGetSize(x, &vsize)); in main() 45 PetscCall(VecGetSize(z, &vsize)); in main() 46 printf("The vector size of output from the main routine is %d\n", vsize); in main()
|
| H A D | ex149.c | 17 PetscInt DIM, dim[3], vsize; in main() local 46 PetscCall(VecGetSize(y, &vsize)); in main() 47 printf("The vector size from the main routine is %d\n", vsize); in main()
|
| /petsc/src/vec/vec/tutorials/ |
| H A D | ex7.c | 55 PetscInt vsize; in ex7c_() local 64 *ierr = VecGetSize(*fvec, &vsize); in ex7c_()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexreorder.c | 95 PetscInt *sperm, *vsize, *voff, v; in DMPlexGetOrdering() local 101 …PetscCall(PetscCalloc4(numCells, &sperm, numValues, &values, numValues, &vsize, numValues + 1, &vo… in DMPlexGetOrdering() 107 PetscCall(DMLabelGetStratumSize(label, values[v], &vsize[v])); in DMPlexGetOrdering() 108 if (v < numValues - 1) voff[v + 2] += vsize[v] + voff[v + 1]; in DMPlexGetOrdering() 109 numPoints += vsize[v]; in DMPlexGetOrdering() 122 …vsize[v], PETSC_COMM_SELF, PETSC_ERR_PLIB, "Number of %" PetscInt_FMT " values found is %" PetscIn… in DMPlexGetOrdering() 124 PetscCall(PetscFree4(sperm, values, vsize, voff)); in DMPlexGetOrdering()
|
| H A D | plexsfc.c | 1101 PetscInt npoints, vsize, isize; in DMPeriodicCoordinateSetUp_Internal() local 1135 PetscCall(PetscIntCast(count * dim, &vsize)); in DMPeriodicCoordinateSetUp_Internal() 1138 PetscCall(VecSetSizes(P, vsize, vsize)); in DMPeriodicCoordinateSetUp_Internal()
|
| H A D | plexpartition.c | 69 PetscInt adjSize = PETSC_DETERMINE, a, vsize = 0; in DMPlexCreatePartitionerGraph_Overlap() local 75 if (point != c && cStart <= point && point < cEnd) ++vsize; in DMPlexCreatePartitionerGraph_Overlap() 77 vOffsets[v + 1] = vOffsets[v] + vsize; in DMPlexCreatePartitionerGraph_Overlap()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex32.c | 14 PetscInt i, l, n = 100, r = 10, d = 1, vsize = 1; in main() local 33 PetscCall(PetscOptionsGetInt(NULL, NULL, "-vsize", &vsize, NULL)); in main() 68 PetscCall(VecSetSizes(x, PETSC_DECIDE, vsize)); in main()
|
| /petsc/src/ksp/pc/impls/mg/ |
| H A D | gdsw.c | 22 …Int i, j, ngct, ng, dbg = 0, odbg, minmax[2] = {0, PETSC_INT_MAX}, ominmax[2], vsize; in PCMGGDSWSetUp() local 26 PetscCall(MatGetBlockSize(A, &vsize)); in PCMGGDSWSetUp() 32 …nents smaller or equal to vertex size will be considered as vertices", NULL, vsize, &vsize, NULL)); in PCMGGDSWSetUp() 107 PetscCall(PCBDDCGraphSetUp(graph, vsize, NULL, NULL, 0, NULL, NULL)); in PCMGGDSWSetUp()
|
| /petsc/src/ts/impls/implicit/irk/ |
| H A D | irk.c | 575 PetscInt vsize, bs; in TSSetUp_IRK() local 586 PetscCall(VecGetSize(ts->vec_sol, &vsize)); in TSSetUp_IRK() 587 PetscCall(VecSetSizes(irk->Z, PETSC_DECIDE, vsize * irk->nstages)); in TSSetUp_IRK()
|
| /petsc/src/mat/impls/fft/fftw/ |
| H A D | fftw.c | 756 PetscInt vsize, vsize1; in VecScatterPetscToFFTW_FFTW() local 767 PetscCall(VecGetSize(x, &vsize)); in VecScatterPetscToFFTW_FFTW()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcprivate.c | 2616 PetscInt vsize, *vclosure = NULL; in PCBDDCDetectDisconnectedComponents() local 2619 PetscCall(DMPlexGetTransitiveClosure(dm, v, PETSC_FALSE, &vsize, &vclosure)); in PCBDDCDetectDisconnectedComponents() 2620 for (PetscInt vk = 0; vk < 2 * vsize; vk += 2) { in PCBDDCDetectDisconnectedComponents() 2635 PetscCall(DMPlexRestoreTransitiveClosure(dm, v, PETSC_FALSE, &vsize, &vclosure)); in PCBDDCDetectDisconnectedComponents() 9542 PetscInt vsize, *idxs; in PCBDDCInitSubSchurs() local 9545 PetscCall(ISGetSize(verticesIS, &vsize)); in PCBDDCInitSubSchurs() 9547 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)pc), vsize, idxs, PETSC_COPY_VALUES, &verti… in PCBDDCInitSubSchurs()
|