Lines Matching refs:an

26 Each class consists of an abstract interface (simply a set of calling
27 sequences corresponding to an abstract base class in C++) and an implementation for each algorithm …
157 `[-display name]` - start debugger only on encountering an error
174 argument `file` optionally indicates an alternative name for the PETSc
178 for runtime customization. The final argument, `help`, is an optional
206 {cite}`using-mpi` provides an excellent introduction to the
222 Most PETSc functions return a `PetscErrorCode`, an integer
223 indicating whether an error occurred during the call. The error code
224 is set to be nonzero if an error has been detected; otherwise, it is
226 return value, while for the Fortran version, each PETSc routine has an integer error variable as
282 Each PETSc program must specify an include file corresponding to the
420 user not only can select an iterative method and preconditioner, but
431 an interface to tackle nonlinear problems called `SNES`.
441 As noted above, PETSc functions return a `PetscErrorCode`, which is an integer
442 indicating whether an error has occurred during the call. Below, we indicate a traceback
446 allocate too large an array in memory. The routine was called in the
457 [0]PETSC ERROR: too large an object or bleeding by not properly
500 PETSc also has a set of C/C++-only macros that return an object, or `NULL` if an error has been det…
503 …m((PetscObject)x)` returns the communicator associated with the object `x` or `MPI_COMM_NULL` if an
532 employ MPI routines as needed throughout an application code. However,
603 OpenMP parallelism to an MPI code, one must not over-subscribe the hardware resources. For example,…
615 There is an OpenMP thread-safe subset of PETSc that may be configured for using `--with-threadsafet…
619 is useful when one has many small systems (or sets of ODEs) that must be integrated in an
643 - and Kokkos, an open-source package that provides a slightly higher-level programming model to uti…
653 write an entire PETSc code that runs only on the GPU, one can also access and work with (for exampl…
768 To develop an application program that uses PETSc, we suggest the following:
779 > 3. Copy an example in the directory that corresponds to the
783 …> 4. Select an application build process. The `PETSC_DIR` (and `PETSC_ARCH` if the `--prefix=direc…
806 - For adding PETSc to an existing application
882 is merely a string name of an implementation class using
904 …his example creates an additive Runge-Kutta ODE/DAE IMEX integrator, whose type name is `TSARKIMEX…
936 The standard methods on an object are of the general form.
994 Many "get" routines give one temporary access to an object's internal data. They are used in the st…
1026 Where `PetscViewer` is an abstract object that can represent standard output, an ASCII or binary fi…
1050 by the library, `ctx` is an optional data structure (array, struct, PETSc object) that is used by `…
1051 and `contextdestroy(PetscCtx ctx)` is an optional function that will be called when `obj` is destro…
1053 …eded elsewhere but still need to be deleted when no longer needed. Here is an example of the use o…
1074 The `r` vector is an optional argument provided by the user, which will be used as work-space by `S…
1075 …the `SNES` object is destroyed; the users must ensure that they free it at an appropriate time. Th…
1084 We conclude this introduction with an overview of the organization of