-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
.. ---------------------------------------------------------------- | ||
Programmer(s): Daniel R. Reynolds @ SMU | ||
David J. Gardner @ LLNL | ||
---------------------------------------------------------------- | ||
SUNDIALS Copyright Start | ||
Copyright (c) 2002-2024, Lawrence Livermore National Security | ||
and Southern Methodist University. | ||
All rights reserved. | ||
See the top-level LICENSE and NOTICE files for details. | ||
SPDX-License-Identifier: BSD-3-Clause | ||
SUNDIALS Copyright End | ||
---------------------------------------------------------------- | ||
.. _LSRKSTEP.Usage.UserSupplied: | ||
|
||
User-supplied functions | ||
============================= | ||
|
||
The user-supplied functions for LSRKStep consist of: | ||
|
||
* at least one function :ref:`defining the dominant eigenvalue of the RHS <LSRKStep.Usage.DomEig>` | ||
(required), | ||
|
||
|
||
|
||
|
||
.. _LSRKStep.Usage.DomEig: | ||
|
||
The dominant eigenvalue estimation | ||
---------------------------------- | ||
|
||
The user must supply one dominant eigenvalue function of type :c:type:`ARKDomEigFn`: | ||
|
||
.. c:type:: int (*ARKDomEigFn)(sunrealtype* t, N_Vector y, sunrealtype* lambdaR, sunrealtype* lambdaI, void* user_data) | ||
These functions compute the dominant eigenvalue of the Jacobian of the ODE right-hand side for a given | ||
value of the independent variable :math:`t` and state vector :math:`y`. | ||
|
||
:param t: the current value of the independent variable. | ||
:param y: the current value of the dependent variable vector. | ||
:param lambdaR: The real part of the dominant eigenvalue. | ||
:param lambdaI: The imaginary part of the dominant eigenvalue. | ||
:param user_data: the `user_data` pointer that was passed to | ||
:c:func:`ARKodeSetUserData`. | ||
|
||
:return: An *ARKDomEigFn* should return 0 if successful and any nonzero for a failure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,5 @@ are specific to LSRKStep. | |
:maxdepth: 1 | ||
|
||
User_callable | ||
User_supplied | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters