-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from ytdHuang/fix/docs2
Fix documentation examples (2 try)
- Loading branch information
Showing
9 changed files
with
102 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "HierarchicalEOM" | ||
uuid = "a62dbcb7-80f5-4d31-9a88-8b19fd92b128" | ||
authors = ["Yi-Te Huang <[email protected]>"] | ||
version = "2.1.0" | ||
version = "2.1.1" | ||
|
||
[deps] | ||
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def" | ||
|
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 |
---|---|---|
@@ -1,11 +1,7 @@ | ||
[deps] | ||
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
HierarchicalEOM = "a62dbcb7-80f5-4d31-9a88-8b19fd92b128" | ||
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" | ||
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" | ||
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" | ||
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" | ||
Pardiso = "46dd5b70-b6fb-5a00-ae2d-e8fea33afaf2" | ||
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
QuantumToolbox = "6c2fb7c5-b903-41d2-bc5e-5a7c320b9fab" |
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,43 @@ | ||
# [LinearSolve solvers](@id LS-solvers) | ||
|
||
In this page, we list several recommended solvers provided by [LinearSolve.jl](https://docs.sciml.ai/LinearSolve/stable/) for solving SteadyState and spectrum in hierarchical equations of motion approach. | ||
|
||
Remember to import `LinearSolve.jl` | ||
|
||
```julia | ||
using LinearSolve | ||
``` | ||
|
||
(click [here](https://docs.sciml.ai/LinearSolve/stable/solvers/solvers/) to see the full solver list provided by `LinearSolve.jl`) | ||
|
||
### UMFPACKFactorization (Default solver) | ||
This solver performs better when there is more structure to the sparsity pattern (depends on the complexity of your system and baths). | ||
|
||
```julia | ||
UMFPACKFactorization() | ||
``` | ||
|
||
### KLUFactorization | ||
This solver performs better when there is less structure to the sparsity pattern (depends on the complexity of your system and baths). | ||
|
||
```julia | ||
KLUFactorization() | ||
``` | ||
|
||
### A generic BICGSTAB implementation from Krylov | ||
|
||
```julia | ||
KrylovJL_BICGSTAB() | ||
``` | ||
|
||
### Pardiso | ||
This solver is based on Intel openAPI Math Kernel Library (MKL) Pardiso | ||
!!! note "Note" | ||
Using this solver requires adding the package [Pardiso.jl](https://github.com/JuliaSparse/Pardiso.jl), i.e. `using Pardiso` | ||
|
||
```julia | ||
using Pardiso | ||
using LinearSolve | ||
MKLPardisoFactorize() | ||
MKLPardisoIterate() | ||
``` |
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,49 @@ | ||
# [DifferentialEquations solvers](@id ODE-solvers) | ||
|
||
In this page, we list several recommended solvers provided by [DifferentialEquations.jl](https://docs.sciml.ai/DiffEqDocs/stable/) for solving time evolution in hierarchical equations of motion approach. | ||
|
||
Remember to import `OrdinaryDiffEq.jl` (or `DifferentialEquations.jl`) | ||
|
||
```julia | ||
using OrdinaryDiffEq ## or "using DifferentialEquations" | ||
``` | ||
|
||
(click [here](https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/) to see the full solver list provided by `DifferentialEquations.jl`) | ||
|
||
For any extra solver options, we can add it in the function `evolution` with keyword arguments. These keyword arguments will be directly pass to the solvers in `DifferentialEquations` | ||
(click [here](https://docs.sciml.ai/DiffEqDocs/stable/basics/common_solver_opts/) to see the documentation for the common solver options) | ||
|
||
### DP5 (Default solver) | ||
Dormand-Prince's 5/4 Runge-Kutta method. (free 4th order interpolant) | ||
|
||
```julia | ||
DP5() | ||
``` | ||
|
||
### RK4 | ||
The canonical Runge-Kutta Order 4 method. Uses a defect control for adaptive stepping using maximum error over the whole interval. | ||
|
||
```julia | ||
RK4() | ||
``` | ||
|
||
### Tsit5 | ||
Tsitouras 5/4 Runge-Kutta method. (free 4th order interpolant). | ||
|
||
```julia | ||
Tsit5() | ||
``` | ||
|
||
### Vern7 | ||
Verner's “Most Efficient” 7/6 Runge-Kutta method. (lazy 7th order interpolant). | ||
|
||
```julia | ||
Vern7() | ||
``` | ||
|
||
### Vern9 | ||
Verner's “Most Efficient” 9/8 Runge-Kutta method. (lazy 9th order interpolant) | ||
|
||
```julia | ||
Vern9() | ||
``` |
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
476f65d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
476f65d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/114794
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: