Home
last modified time | relevance | path

Searched refs:As (Results 1 – 25 of 32) sorted by relevance

12

/petsc/src/ksp/ksp/tests/
H A Dex7.c18 PetscErrorCode MyMatShellMult(Mat As, Vec x, Vec y) in MyMatShellMult() argument
24 PetscCall(MatShellGetContext(As, &P)); in MyMatShellMult()
32 …Mat P, As; /* the matrix used to compute the preconditioner and the linear system (matri… in main() local
90 PetscCall(MatCreateShell(PETSC_COMM_WORLD, PETSC_DECIDE, PETSC_DECIDE, n, n, P, &As)); in main()
91 PetscCall(MatSetFromOptions(As)); in main()
92 PetscCall(MatShellSetOperation(As, MATOP_MULT, (PetscErrorCodeFn *)MyMatShellMult)); in main()
95 PetscCall(MatIsLinear(As, 10, &flg)); in main()
99 PetscCall(MatMult(As, u, b)); in main()
101 PetscCall(MatSetOption(As, MAT_SYMMETRIC, PETSC_TRUE)); in main()
102 PetscCall(MatMultTranspose(As, u, x)); in main()
[all …]
/petsc/src/mat/tests/
H A Dex108.c7 Mat A, B, As; in main() local
53 PetscCall(MatCreateSeqSBAIJWithArrays(PETSC_COMM_SELF, 1, 5, 5, asi, asj, asa, &As)); in main()
54 PetscCall(MatMultEqual(A, As, 10, &flg)); in main()
61 PetscCall(MatDestroy(&As)); in main()
H A Dex127.c7 Mat A, As, B; in main() local
126 PetscCall(MatConvert(A, MATSBAIJ, MAT_INITIAL_MATRIX, &As)); in main()
127 PetscCall(MatViewFromOptions(As, NULL, "-disp_mat")); in main()
130 PetscCall(MatMultEqual(A, As, 10, &flg)); in main()
132 PetscCall(MatMultAddEqual(A, As, 10, &flg)); in main()
152 PetscCall(MatDestroy(&As)); in main()
/petsc/doc/manual/
H A Ddmnetwork.md58 As an example, consider a network comprised of 2 subnetworks that
112 contiguous chunk of memory. As such, it does not do any
H A Ddmcommonality.md37 but also with grid edges, grid faces, and grid cells (also called elements). As with `DMDA` each ty…
38 numerical values. As with simple structured grids, each cell can be represented as a $(i, j, k)$ tu…
H A Ddmbase.md35 As discussed earlier, a `DM` can construct vectors and matrices appropriate for a model and discret…
H A Dperformance.md20 each byte loaded or stored. As a consequence, almost all PETSc
53 As {numref}`fig_stream_intel` shows, the performance gains due to
235 All processes are now mapped to cores on the same socket. As a result,
472 problems. As discussed in detail in {any}`ch_profiling`, the
650 As discussed in {any}`ch_ksp`, the default linear
H A Dprofiling.md38 As discussed in {any}`sec_mpelogs`, additional profiling
45 As shown in {any}`listing <listing_exprof>` in {any}`sec_profiling_programs`, the
85 subspace method, the breakdown of PETSc routines is listed below. As
292 As discussed in the preceding section, the performance summaries for
H A Dsnes.md258 As summarized in Table {any}`tab-snesdefaults`, `SNES` includes
555 As such, the final increment will likely be a hybrid of arc length continuation and
612 iteration. As such, it is generally more robust.
888 As the Newton method converges so that the residual norm is small, say
1123 method without a preconditioner. As shown in this example,
1283 As for the matrix-free computation of Jacobians ({any}`sec_nlmatrixfree`), two parameters affect th…
H A Dstreams.md29 As more threads or processes are added, the bandwidth achieved begins to saturate at some `n`, gene…
285 …, and then each MPI process is assigned a contiguous subset of the vector. As a result, the flop r…
H A Dgetting_started.md301 As shown in {any}`sec_simple`, the user can
441 As noted above, PETSc functions return a `PetscErrorCode`, which is an integer
980 …i`) by calling `Mat*SetPreallocation()` for a number of different matrix types. As another example,
1147 - `tests` - Programs designed for thorough testing of PETSc. As
H A Ddmplex.md409 As `dm` is a `DMPLEX` object representing a mesh, we first give it a *mesh name*, "plexA", and save…
597 As the `DMPLEX` mesh just loaded might not have a desired distribution,
H A Dksp.md688 As discussed in {any}`sec_ksppc`, Krylov subspace methods
1226 0, and so on. As mentioned, multigrid generally coarsens the problem
1559 non-singular modes. As an example, the rigid body modes represent an
2199 and not out of `Amat` (i.e., $A$ itself). As discussed above, in
2589 As an alternative to using runtime flags to employ these external
2610 `MATSEQAIJ`, `MATMPIAIJ`, etc. As a result, the preallocation routines
H A Dmat.md24 As with vectors, PETSc has APIs that allow the user to specify the exact details of the matrix
398 As discussed above, preallocation of memory is critical for achieving
478 As described above, the option `-info` will print information about
H A Dvec.md706 As the table lists, we have chosen certain
1388 As discussed above, the `VecScatter` object allows one to define parallel communication between vec…
1474 As shown in the example above, `PetscSFBcastBegin()` and `PetscSFBcastEnd()` (as well as other `Pet…
H A Dother.md284 As discussed above, one can output PETSc objects in binary format by
767 As shown in the {ref}`listing below <listing_draw_test_ex3>`, line
/petsc/src/dm/impls/plex/tutorials/output/
H A Dex17_minSA.out351 ****** Transfer Mode = 0 I.E. As Is ******
368 ****** Transfer Mode = 0 I.E. As Is ******
401 ****** Transfer Mode = 0 I.E. As Is ******
530 ****** Transfer Mode = 0 I.E. As Is ******
779 ****** Transfer Mode = 0 I.E. As Is ******
1188 ****** Transfer Mode = 0 I.E. As Is ******
1597 ****** Transfer Mode = 0 I.E. As Is ******
2006 ****** Transfer Mode = 0 I.E. As Is ******
H A Dex18_sphere_shapeMod.out320 ****** Transfer Mode = 0 I.E. As Is ******
H A Dex19_minSA.out347 ****** Transfer Mode = 0 I.E. As Is ******
/petsc/doc/developers/contributing/
H A Dindex.md5 As you gain experience in building, using, and debugging with PETSc, you
/petsc/src/tao/leastsquares/tutorials/
H A DtomographyGenerateData.m13 NTheta = 20; % sample angle #. Use odd NOT even, for display purpose of sinagram of Phantom. As ev…
/petsc/doc/developers/
H A Dbuildsystem.md33 As several configuration tools
42 namespacing. As rudimentary as this sounds, no namespacing beyond the
77 fashion. As another example, if the user has a dependent library that
/petsc/src/dm/impls/plex/
H A Dplexpartition.c1897 Mat As; in DMPlexRebalanceSharedPoints() local
1904 PetscCall(MatMPIAdjToSeqRankZero(A, &As)); in DMPlexRebalanceSharedPoints()
1916 …PetscCall(MatGetRowIJ(As, PETSC_FALSE, PETSC_FALSE, PETSC_FALSE, &numRows_g, &xadj, &adjncy, &done… in DMPlexRebalanceSharedPoints()
1937 …PetscCall(MatRestoreRowIJ(As, PETSC_FALSE, PETSC_FALSE, PETSC_FALSE, &numRows_g, &xadj, &adjncy, &… in DMPlexRebalanceSharedPoints()
1938 PetscCall(MatDestroy(&As)); in DMPlexRebalanceSharedPoints()
/petsc/doc/community/
H A Dgovernance.md78 As a requirement of fiscal sponsorship by PETSc's membership in [NumFOCUS](http://numfocus.org) the…
/petsc/src/mat/impls/scalapack/
H A Dmatscalapack.c1355 Mat Adense, As; in MatLoad_ScaLAPACK() local
1363 PetscCall(MatConvert(Adense, MATSCALAPACK, MAT_INITIAL_MATRIX, &As)); in MatLoad_ScaLAPACK()
1365 PetscCall(MatHeaderReplace(newMat, &As)); in MatLoad_ScaLAPACK()

12