| /petsc/src/mat/tests/ |
| H A D | ex178.c | 10 PetscInt i, j, rows[2], *parts, cnt, N = 21, nblocks, *blocksizes; in main() local 54 PetscCall(PetscMalloc1(size, &parts)); in main() 60 parts[i] = (PetscInt)(N * rand); in main() 61 parts[i] = PetscMin(parts[i], N - cnt); in main() 62 cnt += parts[i]; in main() 64 parts[size - 1] = N - cnt; in main() 83 PetscCall(BuildMatrix(parts, nblocks, blocksizes, &A)); in main() 95 PetscCall(PetscFree(parts)); in main() 131 PetscErrorCode BuildMatrix(const PetscInt *parts, PetscInt nblocks, const PetscInt *blocksizes, Mat… in BuildMatrix() argument 138 …PetscCall(MatCreateAIJ(PETSC_COMM_WORLD, parts[rank], parts[rank], PETSC_DETERMINE, PETSC_DETERMIN… in BuildMatrix()
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex18_7_hdf5_hierarch_nsize-4.out | 13 Number of coarse parts: 2 20 Number of fine parts: 2
|
| H A D | ex18_7_hdf5_hierarch_nsize-2.out | 13 Number of coarse parts: 1 20 Number of fine parts: 2
|
| H A D | ex18_7_hdf5_hierarch_nsize-3.out | 13 Number of coarse parts: 2 20 Number of fine parts: 2
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | petscdt_create_quadrature_headers.py | 42 parts = descrip.split('-') 43 power = int(parts[0]) 44 num_points = int(parts[1]) 93 parts = re.search('cubature_tet_sym_p([0-9]+)_n([0-9]+)_compact', descrip) 94 power = int(parts.group(1)) 95 num_points = int(parts.group(2))
|
| H A D | check_header_guard.py | 424 if exclude_dirs.intersection(path.parts) or path.name in exclude_files:
|
| /petsc/src/mat/graphops/partition/ |
| H A D | partition.c | 33 PetscInt m, M, nparts, *indices, r, d, *parts, i, start, end, loc; in MatPartitioningApply_Average() local 39 PetscCall(PetscMalloc1(nparts, &parts)); in MatPartitioningApply_Average() 41 for (i = 0; i < nparts; i++) parts[i] = d; in MatPartitioningApply_Average() 43 for (i = 0; i < r; i++) parts[i] += 1; in MatPartitioningApply_Average() 44 for (i = 1; i < nparts; i++) parts[i] += parts[i - 1]; in MatPartitioningApply_Average() 48 PetscCall(PetscFindInt(i, nparts, parts, &loc)); in MatPartitioningApply_Average() 53 PetscCall(PetscFree(parts)); in MatPartitioningApply_Average()
|
| /petsc/src/sys/yaml/ |
| H A D | README.md | 11 * The emitter API and other output-related parts have been removed, 12 as we are only interested in the input-related parts.
|
| /petsc/share/petsc/ |
| H A D | chkerrconvert.py | 95 is_fortran_binding = any(p.startswith('ftn-') for p in path.parts) 266 if any(p.startswith('ftn-auto') for p in path.parts):
|
| /petsc/config/BuildSystem/config/ |
| H A D | framework.py | 1084 parts = arg.split('=',1) 1085 if len(parts) == 2 and (' ' in parts[1] or '[' in parts[1]): 1086 args[a] = parts[0]+'=\"'+parts[1]+'\"'
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | nozzle.stp | 572 'configuration controlled 3D designs of mechanical parts and assemblie
|
| /petsc/doc/manual/ |
| H A D | getting_started.md | 6 which are discussed in detail in later parts of the manual ({doc}`programming` and {doc}`additional… 53 The manual is divided into four parts: 262 the code, we highlight a few of the most important parts of this example. 593 parts of memory that is 596 computationally expensive parts in the 'parallel region' are parallel. Thus, OpenMP makes it relati…
|
| H A D | mat.md | 195 - the memory where various parts of the matrix are stored across the MPI ranks. 386 (`o_nz` and `o_nnz`) parts of the matrix. For a square global 781 `isrow`. The index sets specify the parts of the monolithic local
|
| H A D | vec.md | 448 Of course, to provide the correct values to a vector, one must know what parts of the vector are ow… 790 done by scattering a global vector into its local parts by using the
|
| H A D | other.md | 605 course, one can elect to use only the real parts of the complex numbers
|
| H A D | ts.md | 698 - `TSRHSSplitSetRHSFunction()` specifies the parts to be handled explicitly $f^{slow}()$ and $f^{fa…
|
| H A D | snes.md | 202 where $\mathbf{A}(\mathbf{x})$ usually contains the lower-derivative parts of the
|
| /petsc/doc/developers/ |
| H A D | matrices.md | 171 (`d_nz` and `d_nnz`) and off-diagonal (`o_nz` and `o_nnz`) parts of
|
| H A D | objects.md | 15 Each class consists of three parts:
|
| H A D | style.md | 234 13. Do not use `/* ---- ... ----- */` or similar constructs to separate parts of source code files.
|
| /petsc/doc/tutorials/physics/ |
| H A D | guide_to_stokes.md | 53 where integration by parts has added a boundary integral over the normal derivative of the stress (… 408 …g $P_2-P_1$ convergence, we use an exact solver, but it must have several parts in order to deal w… 549 Going through this piece-by-piece, we can see all the parts of our solver. At the top level, we hav…
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/ |
| H A D | LICENSE | 426 14. If you wish to incorporate parts of the Library into other free
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 9344 PetscErrorCode DMGetAuxiliaryLabels(DM dm, DMLabel labels[], PetscInt values[], PetscInt parts[]) in DMGetAuxiliaryLabels() argument 9353 PetscAssertPointer(parts, 4); in DMGetAuxiliaryLabels() 9360 parts[i] = keys[i].part; in DMGetAuxiliaryLabels()
|
| /petsc/doc/community/meetings/2023/ |
| H A D | index.md | 230 This talk comprises three parts. First, we present an overview of some
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | TS.pyx | 328 """Solve both parts of the equation implicitly.
|