Home
last modified time | relevance | path

Searched full:when (Results 1 – 25 of 1060) sorted by relevance

12345678910>>...43

/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmbasis.h22 … operator_state; // The state of the operator when vectors in S were computed, to determine w…
24 …PetscObjectId cached_vec_id; // The id of g, to help determine when an input vector is g …
25 …PetscObjectState cached_vec_state; // The state of g when v was computed, to determine when v i…
/petsc/src/sys/tests/
H A Dex62.c100 /* Tests functionality when two enpty sets are passed */
124 /* Tests functionality when seta is empty */
149 /* Tests functionality when setb is empty */
174 /* Tests functionality when both sets are identical */
204 /* Tests functionality when sets have no elements in common */
234 /* Tests functionality when sets only have one element in common */
292 /* Tests functionality when seta is empty and setb is large */
314 /* Tests functionality when seta is small and setb is large */
340 /* Tests functionality when seta is medium sized and setb is large */
360 /* Tests functionality when seta and setb are large */
[all …]
/petsc/src/ksp/ksp/impls/cg/
H A Dcgtype.c6 This option is irrelevant when solving a real system.
70 …KSPCGSetRadius - Sets the radius of the trust region used by the `KSPCG` when the solver is used i…
81 When radius is greater than 0, the Steihaugh-Toint trick is used
106 …The `KSPSolve()` will stop when the current value of the objective function $\frac{1}{2} x^H_k A x…
122 KSPCGGetNormD - Get norm of the direction when the solver is used inside `SNESNEWTONTR`
157 When called outside of a `KSPSolve()`, it will return the last computed value inside the solver.
/petsc/systems/Apple/iOS/examples/SwiftExample/SwiftExample/
H A DAppDelegate.swift41when the application is about to move from active to inactive state. This can occur for certain ty… in applicationWillResignActive()
47 …ckground execution, this method is called instead of applicationWillTerminate: when the user quits. in applicationDidEnterBackground()
59 …// Called when the application is about to terminate. Save data if appropriate. See also applicati… in applicationWillTerminate()
/petsc/share/petsc/xml/
H A Dperformance_xml2html.xsl58 cursor: pointer; /* cursor changes when you mouse over this class */
244 <xsl:when test="time/value">
246 </xsl:when>
315 <xsl:when test="time/value">
317 </xsl:when>
378 <xsl:when test="string-length($string) &lt; $length">
384 </xsl:when>
395 <xsl:when test="$varname/value">
402 </xsl:when>
403 <xsl:when test="$varname/minvalue">
[all …]
/petsc/doc/changes/
H A D314.md37 - Add PetscDetermineInitialFPTrap(); fix so that when Linux or macOS
44 underflow, and overflow for all systems when possible
84 devices. Now it can handle other devices that Kokkos supports when
94 - Fix memory leaks when requesting -vec_type
95 {standard|cuda|viennacl} when the vector is already of the desired
132 - Fix few bugs for MATSEQSBAIJ when missing diagonal entries
133 - Fix few bugs when trying to reuse matrices within MatMat
187 when the maximum number of iterations is reached
308 - Add PetscTimSort\[WithArray\]() for improved performance when
H A D322.md98 - Add `PCGAMGSetGraphSymmetrize()` and `-pc_gamg_graph_symmetrize` to control symmetrization when c…
112 …nt to `KSPSetTolerances()` to set the parameter back to its initial value when the object's type w…
118 …t to `SNESSetTolerances()` to set the parameter back to its initial value when the object's type w…
137 …ent to `TSSetTolerances()` to set the parameter back to its initial value when the object's type w…
151 …SetConstraintTolerances()` to set the parameter back to its initial value when the object's type w…
213 - Add `PETSC_NULL_ENUM` to be used instead of `PETSC_NULL_INTEGER` when a pointer to an `enum` is e…
215 …`PETSC_NULL_INTEGER`, `PETSC_NULL_SCALAR`, and `PETSC_NULL_REAL` when an array is expected in a PE…
H A D317.md13 - PETSc now requires a C99 compliant C compiler in all cases. Previously C99 was only required when
15 - PETSc now requires at least Microsoft Visual Studio 2015 when using the Microsoft Visual C/C++ Co…
22 …ough users will be warned that they should let PETSc auto-detect the flag when setting the dialect…
25 - Fix a number of corner-cases when handling C++ dialect detection
30 - Reuse PETSc-installed hwloc when installing Open MPI
117 …dard CUDA, HIP, and CUDA/HIP Kokkos vectors. Previously, they did so only when the device had the …
131 - Change `MatCreateIS()` behavior when NULL is passed for the mappings. Now a NULL map implies matc…
155 …GAMG` eigenvalue estimation to use `KSPCG` when `MAT_SPD` has been set (see `MatSetOption()`) and …
156 - Change `PCGAMG` to use `PCGAMGSetUseSAEstEig()` by default when the smoother uses Jacobi precondi…
243 …- Change `DMPlexMetricCtx` so that it is only instantiated when one of the above routines are call…
[all …]
H A D233.md11 - When a filename is passed into PetscInitialize() ~/.petscrc and
12 .petscrc are checked ALSO (they used to be skipped when a filename
18 - When a filename is passed into PetscInitialize() ~/.petscrc and
19 .petscrc are checked ALSO (they used to be skipped when a filename
/petsc/doc/developers/contributing/
H A Dsubmittingmr.md11 …such as `Closes #123` in the MR’s description to automatically have the issue closed when the MR i…
71 - or in the overview if it is a general comment. When introducing a new topic (thread) in reviewing…
74 When responding to a thread, make sure to use the "Reply" box for that
77 The **submitter/assignee** must mark threads as resolved when they fix the related
86 When reviewers believe an MR is ready to be merged, they approve it.
89 When a sufficient number of reviewers has approved the merge, the pipeline passes, new commits have…
/petsc/src/tao/unconstrained/impls/nls/
H A Dnlsimpl.h18 /* Parameters when updating the perturbation added to the Hessian matrix
64 /* Parameters when updating the trust-region radius based on steplength
88 /* Parameters when updating the trust-region radius based on reduction
114 /* Parameters when updating the trust-region radius based on interpolation
142 /* Parameters when initializing trust-region radius based on interpolation */
156 PetscReal epsilon; /* tolerance used when computing ared/pred */
/petsc/src/tao/unconstrained/impls/ntl/
H A Dntlimpl.h17 /* Parameters when updating the trust-region radius based on steplength
43 /* Parameters when updating the trust-region radius based on reduction
70 /* Parameters when updating the trust-region radius based on interpolation
98 /* Parameters when initializing trust-region radius based on interpolation */
112 PetscReal epsilon; /* tolerance used when computing ared/pred */
/petsc/src/tao/unconstrained/impls/ntr/
H A Dntrimpl.h17 /* Parameters when updating the trust-region radius based on reduction
44 /* Parameters when updating the trust-region radius based on interpolation
73 /* Parameters when initializing trust-region radius based on interpolation */
87 PetscReal epsilon; /* tolerance used when computing actred/prered */
/petsc/src/tao/linesearch/impls/armijo/
H A Darmijo.h17 convergence of an algorithm when R is chosen appropriately. Essentially,
40 Finally, care must be taken when steepest descent directions are used.
41 For example, when the Newton direction does not satisfy a sufficient
44 algorithms. For example, when a gradient direction is used, we may
/petsc/src/tao/linesearch/impls/owarmijo/
H A Dowarmijo.h17 convergence of an algorithm when R is chosen appropriately. Essentially,
40 Finally, care must be taken when steepest descent directions are used.
41 For example, when the Newton direction does not satisfy a sufficient
44 algorithms. For example, when a gradient direction is used, we may
/petsc/config/BuildSystem/
H A Dgraph.py127 - If returnFinished is True, return a vertex when it finishes
128 - Otherwise, return a vertex when it is first seen
149 - If returnFinished is True, return a vertex when it finishes
150 - Otherwise, return a vertex when it is first seen
165 - If returnFinished is True, return a vertex when it finishes
166 - Otherwise, return a vertex when it is first seen'''
/petsc/doc/developers/
H A Dstyle.md21 letters. When they consist of several complete words, there is an
76 and indices that may become large. `PetscIntCast()` should always be used when converting
79 when these arrays get too large then `--with-64-bit-indices` must be used to
89 to `size_t` since, when the value is negative, it will produce garbage.
104 that use `PetscCount` for count arguments and use the large count MPI versions when possible.
105 When not possible they first check the size of the input count arguments and error if they
148 03. Local variables should be initialized in their declaration when possible
239 style), never mixed in with code. However, when variables are only used in a limited
283 16. Developers can use // to split very long lines when it improves code readability. For example
292 17. The use of `// clang-format off` is allowed in the source code but should only be used when nec…
[all …]
H A Dcommunication.md32 [PETSc GitLab Issues](https://gitlab.com/petsc/petsc/-/issues). When responding there,
36 - Address the person by name (when you can determine a name).
37 - Apologize for the problem when it is appropriate.
/petsc/src/tao/bound/impls/bnk/
H A Dbnk.h44 /* Parameters when updating the perturbation added to the Hessian matrix
91 /* Parameters when updating the trust-region radius based on steplength
115 /* Parameters when updating the trust-region radius based on reduction
141 /* Parameters when updating the trust-region radius based on interpolation
169 /* Parameters when initializing trust-region radius based on interpolation */
183 PetscReal epsilon; /* tolerance used when computing ared/pred */
/petsc/doc/manual/
H A Dperformance.md90 bandwidth-bound PETSc applications of at most 4x when running multiple
91 MPI ranks on the node. Most of the gains are already obtained when
114 bandwidth on the node is obtained when the memory controllers on each
131 point of issuing `malloc()`, but at the point when the respective
300 For the non-optimized version on the left, the speedup obtained when
461 they may be turned on when using options for very aggressive
504 - When possible, use `VecMDot()` rather than a series of calls to
525 When symbolically factoring an AIJ matrix, PETSc has to guess how much
527 `MatFactorInfo` structure when calling `MatLUFactorSymbolic()` or
556 …ack its memory usage and perform error checking. Users are urged to use these routines as well when
[all …]
/petsc/src/ts/characteristic/interface/
H A Dslregis.c24 …from PetscDLLibraryRegister() when using dynamic libraries, and on the first call to Characteristi…
25 when using static libraries.
74 PetscDLLibraryRegister - This function is called when the dynamic library it is in is opened.
/petsc/src/tao/interface/
H A Ddlregistao.c23 package. When using static or shared libraries, this function is called from the
24 first entry to `TaoCreate()`; when using shared or static libraries, it is called
74 PetscDLLibraryRegister - this function is called when the dynamic library it
/petsc/src/ksp/ksp/tests/
H A Dex40.c41 When using MatCreate(), the matrix format can be specified at in main()
89 - When using VecCreate(), VecSetSizes and VecSetFromOptions() in main()
93 - When solving a linear system, the vectors and matrices MUST in main()
95 appropriately partitioned matrices and vectors when MatCreate() in main()
98 dimensions when more sophisticated partitioning is needed in main()
193 Free work space. All PETSc objects should be destroyed when they in main()
/petsc/src/mat/impls/dense/mpi/cupm/cuda/
H A Dmatmpidensecuda.cu11 This matrix type is identical to `MATSEQDENSECUDA` when constructed with a single process
94 responsible for freeing this array; it will not be freed when the matrix is destroyed. The
146 array. The memory passed in CANNOT be freed by the user. It will be freed when the matrix is
176 The array must be restored with `MatDenseCUDARestoreArrayWrite()` when no longer needed.
213 `MATDENSECUDA` matrix. The array must be restored with `MatDenseCUDARestoreArrayRead()` when
269 array must be restored with `MatDenseCUDARestoreArray()` when no longer needed.
/petsc/src/mat/impls/dense/mpi/cupm/hip/
H A Dmatmpidensehip.hip.cxx11 This matrix type is identical to `MATSEQDENSEHIP` when constructed with a single process
95 responsible for freeing this array; it will not be freed when the matrix is destroyed. The
147 array. The memory passed in CANNOT be freed by the user. It will be freed when the matrix is
177 The array must be restored with `MatDenseHIPRestoreArrayWrite()` when no longer needed.
214 `MATDENSEHIP` matrix. The array must be restored with `MatDenseHIPRestoreArrayRead()` when
270 array must be restored with `MatDenseHIPRestoreArray()` when no longer needed.

12345678910>>...43