Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 27) sorted by relevance

12

/petsc/src/mat/tests/
H A Dex178.c10 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 Dex18_7_hdf5_hierarch_nsize-4.out13 Number of coarse parts: 2
20 Number of fine parts: 2
H A Dex18_7_hdf5_hierarch_nsize-2.out13 Number of coarse parts: 1
20 Number of fine parts: 2
H A Dex18_7_hdf5_hierarch_nsize-3.out13 Number of coarse parts: 2
20 Number of fine parts: 2
/petsc/lib/petsc/bin/maint/
H A Dpetscdt_create_quadrature_headers.py42 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 Dcheck_header_guard.py424 if exclude_dirs.intersection(path.parts) or path.name in exclude_files:
/petsc/src/mat/graphops/partition/
H A Dpartition.c33 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 DREADME.md11 * 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 Dchkerrconvert.py95 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 Dframework.py1084 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 Dnozzle.stp572 'configuration controlled 3D designs of mechanical parts and assemblie
/petsc/doc/manual/
H A Dgetting_started.md6 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 Dmat.md195 - 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 Dvec.md448 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 Dother.md605 course, one can elect to use only the real parts of the complex numbers
H A Dts.md698 - `TSRHSSplitSetRHSFunction()` specifies the parts to be handled explicitly $f^{slow}()$ and $f^{fa…
H A Dsnes.md202 where $\mathbf{A}(\mathbf{x})$ usually contains the lower-derivative parts of the
/petsc/doc/developers/
H A Dmatrices.md171 (`d_nz` and `d_nnz`) and off-diagonal (`o_nz` and `o_nnz`) parts of
H A Dobjects.md15 Each class consists of three parts:
H A Dstyle.md234 13. Do not use `/* ---- ... ----- */` or similar constructs to separate parts of source code files.
/petsc/doc/tutorials/physics/
H A Dguide_to_stokes.md53 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 DLICENSE426 14. If you wish to incorporate parts of the Library into other free
/petsc/src/dm/interface/
H A Ddm.c9344 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 Dindex.md230 This talk comprises three parts. First, we present an overview of some
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DTS.pyx328 """Solve both parts of the equation implicitly.

12