| /petsc/src/dm/tutorials/output/ |
| H A D | swarm_ex1_3.out | 9 blocksize = 1 12 blocksize = 1 15 blocksize = 1 18 blocksize = 1 21 blocksize = 1
|
| H A D | swarm_ex1_7.out | 9 blocksize = 1 12 blocksize = 1 15 blocksize = 1 18 blocksize = 1 21 blocksize = 1
|
| /petsc/src/ksp/pc/impls/hmg/ |
| H A D | hmg.c | 16 …actSubMatrix_Private(Mat pmat, Mat *submat, MatReuse reuse, PetscInt component, PetscInt blocksize) in PCHMGExtractSubMatrix_Private() argument 24 …ent < blocksize, comm, PETSC_ERR_ARG_INCOMP, "Component %" PetscInt_FMT " should be less than bloc… in PCHMGExtractSubMatrix_Private() 26 …) % blocksize == 0, comm, PETSC_ERR_ARG_INCOMP, "Block size %" PetscInt_FMT " is inconsistent for … in PCHMGExtractSubMatrix_Private() 27 …PetscCall(ISCreateStride(comm, (rend - rstart) / blocksize, rstart + component, blocksize, &isrow)… in PCHMGExtractSubMatrix_Private() 33 …tic PetscErrorCode PCHMGExpandInterpolation_Private(Mat subinterp, Mat *interp, PetscInt blocksize) in PCHMGExpandInterpolation_Private() argument 45 rowsize = subrowsize * blocksize; in PCHMGExpandInterpolation_Private() 49 colsize = subcolsize * blocksize; in PCHMGExpandInterpolation_Private() 60 for (i = 0; i < blocksize; i++) { in PCHMGExpandInterpolation_Private() 61 d_nnz[(subrow - subrstart) * blocksize + i] = dnz; in PCHMGExpandInterpolation_Private() 62 o_nnz[(subrow - subrstart) * blocksize + i] = onz; in PCHMGExpandInterpolation_Private() [all …]
|
| /petsc/src/dm/impls/swarm/tests/output/ |
| H A D | ex2_proj_quad_2_faces_quad_order_3.out | 19 blocksize = 1 22 blocksize = 1 25 blocksize = 2 29 blocksize = 1 32 blocksize = 1
|
| H A D | ex2_proj_tri_quad_order_3.out | 19 blocksize = 1 22 blocksize = 1 25 blocksize = 2 29 blocksize = 1 32 blocksize = 1
|
| H A D | ex2_proj_quad_2_faces_quad_order_2.out | 19 blocksize = 1 22 blocksize = 1 25 blocksize = 2 29 blocksize = 1 32 blocksize = 1
|
| H A D | ex2_proj_0.out | 19 blocksize = 1 22 blocksize = 1 25 blocksize = 2 29 blocksize = 1 32 blocksize = 1
|
| H A D | ex2_proj_tri_2_faces_quad_order_3.out | 19 blocksize = 1 22 blocksize = 1 25 blocksize = 2 29 blocksize = 1 32 blocksize = 1
|
| /petsc/src/dm/ftn-mod/ |
| H A D | petscdmswarm.h90 | 2 subroutine DMSwarmGetField(dm, fieldname, blocksize, dtype, data, ierr) 8 PetscInt blocksize 14 subroutine DMSwarmRestoreField(dm, fieldname, blocksize, dtype, data, ierr) 20 PetscInt blocksize
|
| /petsc/src/vec/vec/utils/tagger/interface/ |
| H A D | tagger.c | 44 b->blocksize = 1; in VecTaggerCreate() 202 …ors the tagger operates on", "VecTaggerSetBlockSize", tagger->blocksize, &tagger->blocksize, NULL)… in VecTaggerSetFromOptions() 232 PetscErrorCode VecTaggerSetBlockSize(VecTagger tagger, PetscInt blocksize) in VecTaggerSetBlockSize() argument 236 PetscValidLogicalCollectiveInt(tagger, blocksize, 2); in VecTaggerSetBlockSize() 237 tagger->blocksize = blocksize; in VecTaggerSetBlockSize() 256 PetscErrorCode VecTaggerGetBlockSize(VecTagger tagger, PetscInt *blocksize) in VecTaggerGetBlockSize() argument 260 PetscAssertPointer(blocksize, 2); in VecTaggerGetBlockSize() 261 *blocksize = tagger->blocksize; in VecTaggerGetBlockSize() 339 PetscCall(PetscViewerASCIIPrintf(viewer, "Block size: %" PetscInt_FMT "\n", tagger->blocksize)); in VecTaggerView()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex26f.F90 | 12 PetscInt, parameter :: blocksize = 3, field = 0 27 PetscCallA(VecSetSizes(v, num_cells*blocksize, PETSC_DECIDE, ierr)) 28 PetscCallA(VecSetBlockSize(v, blocksize, ierr)) 33 subindices = [(i, i=0, subsize - 1)]*blocksize + field
|
| /petsc/src/dm/impls/swarm/ftn-custom/ |
| H A D | zswarmf90.c | 14 PETSC_EXTERN void dmswarmgetfield_(DM *dm, char *name, PetscInt *blocksize, PetscDataType *type, F9… in dmswarmgetfield_() argument 23 *ierr = DMSwarmGetField(*dm, fieldname, blocksize, type, (void **)&v); in dmswarmgetfield_() 29 PETSC_EXTERN void dmswarmrestorefield_(DM *dm, char *name, PetscInt *blocksize, PetscDataType *type… in dmswarmrestorefield_() argument 38 *ierr = DMSwarmRestoreField(*dm, fieldname, blocksize, type, (void **)&v); in dmswarmrestorefield_()
|
| /petsc/src/dm/impls/network/ |
| H A D | networkmonitor.c | 119 … char *name, PetscInt element, PetscInt nodes, PetscInt start, PetscInt blocksize, PetscReal xmin,… in DMNetworkMonitorAdd() argument 162 node->blocksize = blocksize; in DMNetworkMonitorAdd() 195 for (i = 0; i < node->nodes; i++) vv[i] = xx[start + i * node->blocksize]; in DMNetworkMonitorView()
|
| H A D | network.c | 2986 …twork *network, PetscInt p, PetscInt numkeys, PetscInt keys[], PetscInt blocksize[], PetscInt nsel… in DMISAddSize_private() argument 3001 if (!blocksize || blocksize[j] == -1) { in DMISAddSize_private() 3004 *nidx += nselectedvar[j] * nvar / blocksize[j]; in DMISAddSize_private() 3012 …_private(DM dm, PetscInt p, PetscInt numkeys, PetscInt keys[], PetscInt blocksize[], PetscInt nsel… in DMISComputeIdx_private() argument 3030 if (!blocksize || blocksize[j] == -1) { in DMISComputeIdx_private() 3033 for (k = 0; k < nvar; k += blocksize[j]) { in DMISComputeIdx_private() 3065 PetscErrorCode DMNetworkCreateIS(DM dm, PetscInt numkeys, PetscInt keys[], PetscInt blocksize[], Pe… in DMNetworkCreateIS() argument 3077 if (!blocksize || blocksize[i] == -1) continue; in DMNetworkCreateIS() 3078 …blocksize[i], PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "number of selectedvariables %" PetscInt_… in DMNetworkCreateIS() 3086 …p < eend; p++) PetscCall(DMISAddSize_private(network, p, numkeys, keys, blocksize, nselectedvar, &… in DMNetworkCreateIS() [all …]
|
| /petsc/src/vec/is/tests/ |
| H A D | ex2.c | 89 PetscInt blocksize = (j == 0) ? 1 : size; in main() local 95 … PetscCall(ISCreateBlock(PETSC_COMM_WORLD, blocksize, n, ix[i][rank], PETSC_COPY_VALUES, &isx[i])); in main() 103 PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, blocksize * n, izero, PETSC_COPY_VALUES, &il)); in main()
|
| /petsc/src/sys/classes/viewer/tutorials/output/ |
| H A D | ex2_2b.out | 5 Vectors with blocksize 1 saved as 2D datasets: TRUE
|
| H A D | ex2_2a.out | 5 Vectors with blocksize 1 saved as 2D datasets: FALSE
|
| H A D | ex2_2b_alt.out | 6 Vectors with blocksize 1 saved as 2D datasets: TRUE
|
| /petsc/src/mat/impls/sell/seq/seqhip/ |
| H A D | sellhip.hip.cxx | 581 PetscInt nblocks, blocksize = 512; /* blocksize is fixed to be 512 */ in MatMult_SeqSELLHIP() local 634 nblocks = 1 + (nrows - 1) / (blocksize / 32); /* 1 slice per block if sliceheight=32 */ in MatMult_SeqSELLHIP() 638 nblocks = 1 + (nrows - 1) / (blocksize / 16); /* 2 slices per block if sliceheight=32*/ in MatMult_SeqSELLHIP() 642 nblocks = 1 + (nrows - 1) / (blocksize / 8); /* 4 slices per block if sliceheight=32 */ in MatMult_SeqSELLHIP() 646 nblocks = 1 + (nrows - 1) / (blocksize / 4); /* 8 slices per block if sliceheight=32 */ in MatMult_SeqSELLHIP() 650 nblocks = 1 + (nrows - 1) / (blocksize / 2); in MatMult_SeqSELLHIP() 654 nblocks = 1 + (nrows - 1) / blocksize; in MatMult_SeqSELLHIP() 655 …matmult_seqsell_basic_kernel<<<nblocks, blocksize>>>(nrows, sliceheight, acolidx, aval, sliidx, x,… in MatMult_SeqSELLHIP() 729 PetscInt nblocks, blocksize = 512; in MatMultAdd_SeqSELLHIP() local 788 nblocks = 1 + (nrows - 1) / (blocksize / 32); in MatMultAdd_SeqSELLHIP() [all …]
|
| /petsc/src/mat/impls/sell/seq/seqcuda/ |
| H A D | sellcuda.cu | 576 PetscInt nblocks, blocksize = 512; /* blocksize must be multiple of SLICE_HEIGHT*32 */ in MatMult_SeqSELLCUDA() local 632 nblocks = 1 + (nrows - 1) / (blocksize / 32); /* 1 slice per block if blocksize=512 */ in MatMult_SeqSELLCUDA() 636 nblocks = 1 + (nrows - 1) / (blocksize / 16); /* 2 slices per block if blocksize=512*/ in MatMult_SeqSELLCUDA() 640 nblocks = 1 + (nrows - 1) / (blocksize / 8); /* 4 slices per block if blocksize=512 */ in MatMult_SeqSELLCUDA() 644 nblocks = 1 + (nrows - 1) / (blocksize / 4); /* 8 slices per block if blocksize=512 */ in MatMult_SeqSELLCUDA() 648 nblocks = 1 + (nrows - 1) / (blocksize / 2); in MatMult_SeqSELLCUDA() 652 nblocks = 1 + (nrows - 1) / blocksize; in MatMult_SeqSELLCUDA() 653 …matmult_seqsell_basic_kernel<<<nblocks, blocksize>>>(nrows, sliceheight, acolidx, aval, sliidx, x,… in MatMult_SeqSELLCUDA() 729 PetscInt nblocks, blocksize = 512; in MatMultAdd_SeqSELLCUDA() local 793 nblocks = 1 + (nrows - 1) / (blocksize / 32); in MatMultAdd_SeqSELLCUDA() [all …]
|
| /petsc/src/ksp/pc/impls/parms/ |
| H A D | parms.c | 31 PetscInt levels, blocksize, maxdim, maxits, lfil[7]; member 174 parms_PCSetBsize(parms->pc, parms->blocksize); in PCSetUp_PARMS() 213 PetscCall(PetscViewerASCIIPrintf(viewer, " Block size: %d\n", parms->blocksize)); in PCView_PARMS() 273 …ptionsInt("-pc_parms_blocksize", "Block size", "None", parms->blocksize, &parms->blocksize, NULL)); in PCSetFromOptions_PARMS() 646 parms->blocksize = 250; in PCCreate_PARMS()
|
| /petsc/src/ts/tutorials/network/ |
| H A D | pipes.c | 300 PetscInt i, numkeys = 1, *blocksize, *numselectedvariable, **selectedvariables, n; in PipesView() local 310 …PetscCall(PetscMalloc3(numkeys, &blocksize, numkeys, &numselectedvariable, numkeys, &selectedvaria… in PipesView() 312 blocksize[i] = 2; in PipesView() 317 …PetscCall(DMNetworkCreateIS(networkdm, numkeys, &KeyPipe, blocksize, numselectedvariable, selected… in PipesView() 340 …PetscCall(DMNetworkCreateIS(networkdm, numkeys, &KeyPipe, blocksize, numselectedvariable, selected… in PipesView() 353 …for (i = 0; i < numkeys; i++) blocksize[i] = -1; /* select all the variables of the i-th component… in PipesView() 354 PetscCall(DMNetworkCreateIS(networkdm, numkeys, &KeyPipe, blocksize, NULL, NULL, &isfrom)); in PipesView() 375 PetscCall(PetscFree3(blocksize, numselectedvariable, selectedvariables)); in PipesView()
|
| /petsc/doc/changes/ |
| H A D | 233.md | 16 which is called after the blocksize and local or global size is 23 which is called after the blocksize and local or global size is
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMSwarm.pyx | 313 … def registerField(self, fieldname: str, blocksize: int, dtype: type | dtype = ScalarType) -> None: 322 blocksize 333 cdef PetscInt cblocksize = asInt(blocksize) 362 field. The array is two dimensional with shape ``(num_points, blocksize)``. 370 cdef PetscInt blocksize = 0 375 CHKERR(DMSwarmGetField(self.dm, cfieldname, &blocksize, &ctype, <void**> &data)) 385 s[1] = <npy_intp> blocksize 404 cdef PetscInt blocksize = 0 407 CHKERR(DMSwarmRestoreField(self.dm, cfieldname, &blocksize, &ctype, <void**> 0))
|
| /petsc/include/ |
| H A D | petscdmnetwork.h | 72 PetscInt blocksize; member
|