| /petsc/share/petsc/saws/js/ |
| H A D | parsePrefix.js | 13 …var chunk = SAWs_prefix.substring(0,indexFirstUnderscore);//dont include the unders… 15 if(chunk == "mg") {//mg_ 17 chunk = SAWs_prefix.substring(0,indexFirstUnderscore);//updated chunk 20 if(chunk == "mg_levels") {//need to include yet another underscore 22 chunk = SAWs_prefix.substring(0,indexFirstUnderscore);//updated chunk 27 else if(chunk == "fieldsplit") {//fieldsplit_ 56 if(chunk=="ksp" || chunk=="sub" || chunk=="mg_coarse" || chunk=="redundant") 58 else if(chunk.substring(0,10)=="mg_levels_") 59 endtag += "_" + chunk.substring(10,chunk.length);
|
| H A D | boxTree.js | 76 var chunk = description.substring(0,indx); 78 … visualLoc.y + 2*node_radius + 12*i) + "\" fill=\"black\" font-size=\"12px\">" + chunk + "</text>";
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | lg.c | 142 int chunk = PETSC_DRAW_LG_CHUNK_SIZE; in PetscDrawLGAddPoints() local 144 if (in > chunk) chunk = in; in PetscDrawLGAddPoints() 145 PetscCall(PetscMalloc2(lg->len + lg->dim * chunk, &tmpx, lg->len + lg->dim * chunk, &tmpy)); in PetscDrawLGAddPoints() 151 lg->len += lg->dim * chunk; in PetscDrawLGAddPoints()
|
| H A D | dscatter.c | 252 PetscInt chunk = PETSC_DRAW_SP_CHUNK_SIZE; in PetscDrawSPAddPoints() local 253 if (n > chunk) chunk = n; in PetscDrawSPAddPoints() 254 …scCall(PetscMalloc3(sp->len + sp->dim * chunk, &tmpx, sp->len + sp->dim * chunk, &tmpy, sp->len + … in PetscDrawSPAddPoints()
|
| /petsc/src/sys/objects/device/impls/ |
| H A D | segmentedmempool.hpp | 450 for (auto &chunk : chunks_) { in try_allocate_chunk() local 451 PetscCall(chunk.claim(stream, req_size, success, serialize)); in try_allocate_chunk() 453 *ptr = mem_ + chunk.start(); in try_allocate_chunk() 516 chunk_type *chunk = nullptr; in try_deallocate_chunk() local 519 PetscCall(try_find_chunk(*ptr, &chunk)); in try_deallocate_chunk() 520 if (chunk) { in try_deallocate_chunk() 521 PetscCall(chunk->release(stream)); in try_deallocate_chunk() 547 for (auto &chunk : chunks_) { in try_find_chunk() local 548 if (chunk.contains(offset)) { in try_find_chunk() 549 *ret_chunk = &chunk; in try_find_chunk() [all …]
|
| /petsc/src/dm/dt/interface/ |
| H A D | dtweakform.c | 38 …ErrorCode PetscChunkBufferCreateChunk(PetscChunkBuffer *buffer, PetscCount size, PetscChunk *chunk) in PetscChunkBufferCreateChunk() argument 51 chunk->start = buffer->size * buffer->unitbytes; in PetscChunkBufferCreateChunk() 52 chunk->size = size; in PetscChunkBufferCreateChunk() 53 chunk->reserved = size; in PetscChunkBufferCreateChunk() 58 …rrorCode PetscChunkBufferEnlargeChunk(PetscChunkBuffer *buffer, PetscCount size, PetscChunk *chunk) in PetscChunkBufferEnlargeChunk() argument 63 if (chunk->size + size > chunk->reserved) { in PetscChunkBufferEnlargeChunk() 65 PetscCount reserved = chunk->size; in PetscChunkBufferEnlargeChunk() 68 while (reserved < chunk->size + size) reserved *= 2; in PetscChunkBufferEnlargeChunk() 70 newchunk.size = chunk->size + size; in PetscChunkBufferEnlargeChunk() 71 …PetscCall(PetscMemcpy(&buffer->array[newchunk.start], &buffer->array[chunk->start], chunk->size * … in PetscChunkBufferEnlargeChunk() [all …]
|
| /petsc/src/ksp/pc/impls/is/nn/ |
| H A D | nn.h | 22 …Code PCNNApplySchurToChunk(PC pc, PetscInt n, PetscInt *idx, PetscScalar *chunk, PetscScalar *arra…
|
| H A D | nn.c | 399 PetscErrorCode PCNNApplySchurToChunk(PC pc, PetscInt n, PetscInt *idx, PetscScalar *chunk, PetscSca… in PCNNApplySchurToChunk() argument 406 for (i = 0; i < n; i++) array_N[idx[i]] = chunk[i]; in PCNNApplySchurToChunk()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 2768 PetscInt numChunks, chunkSize, chunk, Nr, offset; in DMPlexComputeBdIntegral_Internal() local 2820 for (chunk = 0; chunk < numChunks; ++chunk) { in DMPlexComputeBdIntegral_Internal() 2821 … PetscCall(PetscFEGeomGetChunk(fgeom, chunk * chunkSize, (chunk + 1) * chunkSize, &chunkGeom)); in DMPlexComputeBdIntegral_Internal() 2822 …ze, chunkGeom, &u[chunk * chunkSize * totDim], probAux, PetscSafePointerPlusOffset(a, chunk * chun… in DMPlexComputeBdIntegral_Internal() 4405 PetscInt Nf, f, totDim, totDimAux, numChunks, cellChunkSize, chunk, fStart, fEnd; in DMPlexComputeResidual_Patch_Internal() local 4476 for (chunk = 0; chunk < numChunks; ++chunk) { in DMPlexComputeResidual_Patch_Internal() 4480 …PetscInt cS = cStart + chunk * cellChunkSize, cE = PetscMin(cS + cellChunkSize, cEnd), num… in DMPlexComputeResidual_Patch_Internal() 4634 … fieldI, fieldJ, maxDegree, numCells, cStart, cEnd, numChunks, chunkSize, chunk, totDim, totDimAux… in DMPlexComputeJacobian_Patch_Internal() local 4720 for (chunk = 0; chunk < numChunks; ++chunk, offCell += chunkSize) { in DMPlexComputeJacobian_Patch_Internal() 5195 …PetscInt Nf, f, totDim, totDimAux, numChunks, cellChunkSize, faceChunkSize, chunk, fStart, … in DMPlexComputeResidualByKey() local [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | FE.pyx | 320 The number of batches in a chunk. 351 The number of batches in a chunk.
|
| /petsc/doc/manual/ |
| H A D | dmnetwork.md | 112 contiguous chunk of memory. As such, it does not do any
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 1845 (dpm-to-vof/conversion-chunk-size 1000) 2658 (dpm/parallel/regenerate-chunk-list-always? #t) 2659 (dpm/parallel/regenerate-chunk-list? #t) 2662 (dpm/parallel/lb-chunk-size 0) 2854 (amg/memory-chunk-size 10485760) 2855 (amg/memory-chunk-use 1) 5535 (s2s/clusters-per-chunk 100) 7568 (parallel/buffered-case-read-chunk-size 524288) 7646 (sampling-chunk 1) 7647 (iteration-chunk 1) [all …]
|