| /petsc/doc/manual/ |
| H A D | fortran.md | 135 - One must pass pointers to arrays for arguments that output an array, for example `PetscScalar, po… 174 Many PETSc functions take arrays as arguments; in Fortran they must be passed as arrays even if the… 175 is of length one (unlike Fortran 77 where one can pass scalars to functions expecting arrays). When… 182 This trick can only be used for arrays used to pass data into a PETSc routine, it cannot be used 183 for arrays used to receive data from a PETSc routine. For example, 213 When a PETSc function returns multiple arrays, such as `DMDAGetOwnershipRanges()` and the user does… 214 certain arrays they must pass `PETSC_NULL_XXX_POINTER` as the argument. For example, 296 Indexing into Fortran arrays, for example obtained with `VecGetArray()`, uses the Fortran
|
| H A D | dmcommonality.md | 9 …ge location (offsets) of numerical values associated with said entities in PETSc vectors or arrays. 12 the PETSc vectors or arrays. 65 vectors or arrays for said points. If needed one can then have an inner iteration over the fields a… 93 with complex multidimensional jagged arrays. Both in constructing such arrays at runtime, that is s…
|
| H A D | vec.md | 111 parallelizing staggered arrays/grids, `DMSTAG` -- {any}`ch_stag`, or unstructured grid problems, `D… 153 (i.e., the width of the ghost point region). The optional arrays `lx` 372 It is also possible to interact directly with the arrays that the vector values are stored 437 …ting on GPUs, `VecSetValues()` is not used! One always accesses the vector's arrays and passes them 602 represent rectangular arrays, including the extra corner elements in the 1277 The arrays `apordering` and `petscordering`, respectively, contain a 1332 instead of integer arrays. 1389 …be inserted. `PetscSF` provides a similar more general functionality for arrays of any MPI datatyp… 1391 `PetscSF` communicates between `rootdata` and `leafdata` arrays. `rootdata` is distributed across t… 1539 …k to using `PetscSFSetGraph()` is that it requires explicitly listing in arrays all the entries of…
|
| H A D | streams.md | 60 For small data arrays that remain in the cache, first touch may produce no performance difference. 135 ## Detailed STREAMS study for large arrays 148 We first run the STREAMS benchmark with large double precision arrays of length $1.6\times10^8$; th…
|
| H A D | section.md | 7 …layout of data over a mesh (or similar structure) and the data layout in arrays and `Vec` used for… 23 A **point** is a `PetscInt` that serves as an abstract "index" into arrays from iterable sets, such…
|
| H A D | matlab.md | 143 Similarly, one can send arrays via
|
| /petsc/doc/changes/ |
| H A D | 323.md | 174 - Add `PETSC_NULL_INTEGER_POINTER` for arguments that return as arrays, for example, `PetscInt, poi… 177 …an API so that non-array values, `v`, passed to PETSc routines expecting arrays must be cast with … 179 - `MatInfo` and similar are now derived data types instead of arrays, use e.g. `matinfo%nz_allocate…
|
| H A D | 38.md | 206 PETSC_NULL_INTEGER, PETSC_NULL_REAL etc are now declared as arrays of 271 you can pass either scalars, one dimensional arrays or two 272 dimensional arrays, if you get errors here please send mail to
|
| H A D | 2022.md | 172 - If you have stored PETSc objects in Fortran integer arrays, such 173 as `user(3) = vec` you have to declare those arrays to be of
|
| H A D | 21.md | 141 - Added DAVecGetArray() to access the multidimensional arrays
|
| H A D | 230.md | 81 - Change MatZeroRows() and MatZeroRowsLocal() to use arrays, and
|
| H A D | 314.md | 309 sorting semi-ordered arrays of any type 314 efficiently sort semi-ordered arrays of various Petsc datatypes
|
| H A D | 35.md | 35 type. `PetscMalloc1()` is now available for allocating arrays,
|
| H A D | 322.md | 218 …an API so that non-array values, `v`, passed to PETSc routines expecting arrays must be cast with …
|
| H A D | 312.md | 47 with NaN to detect use of uninitialized numerical arrays
|
| H A D | 34.md | 125 the index arrays have always been read-only.
|
| /petsc/src/dm/impls/moab/ |
| H A D | dmmbutil.cxx | 202 std::vector<PetscReal *> arrays; in DMMoab_GenerateVertices_Private() local 214 merr = iface->get_node_coords(3, nnodes, 0, startv, arrays); in DMMoab_GenerateVertices_Private() 232 arrays[0][ix] = (x + ii) * genCtx.dx + genCtx.xyzbounds[0]; in DMMoab_GenerateVertices_Private() 233 arrays[1][ix] = (y + jj) * genCtx.dy + genCtx.xyzbounds[2]; in DMMoab_GenerateVertices_Private() 234 arrays[2][ix] = (z + kk) * genCtx.dz + genCtx.xyzbounds[4]; in DMMoab_GenerateVertices_Private() 235 …NULL, "Creating vertex with coordinates := %f, %f, %f\n", arrays[0][ix], arrays[1][ix], arrays[2][… in DMMoab_GenerateVertices_Private()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | AO.pyx | 62 The arrays/indices ``app`` and ``petsc`` must contain all the integers 111 The arrays/indices ``app`` and ``petsc`` must contain all the integers 163 The arrays ``app`` and ``petsc`` need NOT contain all the integers
|
| H A D | petscdmstag.pxi | 224 # Returns tuple of arrays containing ownership ranges as Python arrays
|
| H A D | Partitioner.pyx | 183 raise ValueError("Must provide both sizes and points arrays")
|
| H A D | petscdmda.pxi | 188 # Returns tuple of arrays containing ownership ranges as Python arrays
|
| H A D | DMStag.pyx | 576 """Create uniform coordinates, as a product of 1D arrays. 679 """Return index to use in accessing raw local arrays. 702 """Return slot for use with local product coordinate arrays.
|
| /petsc/share/petsc/saws/ |
| H A D | documentation | 64 For arrays, deleting an element works the same. So, it is important to remember that the array leng…
|
| /petsc/doc/developers/ |
| H A D | style.md | 78 of an array of `PetscInt` most index arrays (such as `ISGetIndices()` use `PetscInt`, 79 when these arrays get too large then `--with-64-bit-indices` must be used to 306 v1900+ (Visual Studio 2015). Examples of such banned features include variable-length arrays. 307 Note that variable-length arrays (including VLA-pointers) are not supported in C++ and
|
| H A D | kernel.md | 36 arrays. `PetscMPIInt` is used for integers passed to MPI as counts and
|