-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
79d0164
commit 541238c
Showing
7 changed files
with
26 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1 @@ | ||
.ipynb_checkpoints | ||
data.out | ||
raw.out | ||
plot.png | ||
|
||
main | ||
|
||
*.o | ||
*.mod |
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,17 @@ | ||
The generic_rk module is an attempt to modularize solvers for ordinary differential equations (ODEs). | ||
|
||
Below is the result of an example problem known as the Brusselator using an adaptive timestep control. The first subplot shows the raw results of $y_1$ and $y_2$ within the range $t \in [0, 20]$. The second subplot shows the acceptable $dt$ used throughout the simulation. | ||
|
||
$$ | ||
\begin{array}{r l} | ||
y_1' &=& 1 + y_1^2 y_2 -4y_1 \\ | ||
y_2' &=& 3y_1 - y_1^2 y_2 \\ | ||
\end{array} | ||
$$ | ||
|
||
$$ y_1(0) = 1.5, ~~~ y_2(0) = 3, ~~~ t \in [0, 20]$$ | ||
|
||
![alt text] [sample plot] | ||
|
||
|
||
[sample plot]: ./plot.png |
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,2 @@ | ||
*.o | ||
*.mod |
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,3 @@ | ||
plot.png | ||
data.out | ||
raw.out |
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,2 @@ | ||
main | ||
main.exe |
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,2 @@ | ||
*.o | ||
*.mod |