Skip to content

Commit 0143dd8

Browse files
committed
Update to version 2.0.1
1 parent 2f044f0 commit 0143dd8

File tree

5 files changed

+21
-3
lines changed

5 files changed

+21
-3
lines changed

docs/CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@ nav_order: 11
88

99
All notable user-facing changes to the `dae-cpp` project are documented in this page.
1010

11-
## v2.0.0
11+
## v2.0.1
1212

1313
New
1414
{: .label .label-green }
1515

16+
- Added [Flame Propagation](https://github.com/dae-cpp/dae-cpp/blob/master/examples/flame_propagation/flame_propagation.cpp) example (stiff equation)
17+
- Added `daecpp::dual_type` for automatic differentiation of the vector function (used in [Flame Propagation](https://github.com/dae-cpp/dae-cpp/blob/master/examples/flame_propagation/flame_propagation.cpp) example)
18+
- Added integration test based on the "Flame Propagation" example
19+
- Updated build instructions
20+
21+
## v2.0.0
22+
1623
Redesigned version of the library. Consider this version as a public beta.
1724
Please report any bugs using GitHub [issues](https://github.com/dae-cpp/dae-cpp/issues).
1825

docs/examples.md

+10
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,13 @@ Perovskite model source file example: [perovskite.cpp](https://github.com/dae-cp
3232
A more sophisticated example, where we solve a big DAE system that describes the potential distribution and ion concentration in a perovskite solar cell.
3333
We show how to add parameters to the user-defined mass matrix, vector function, and Jacobian.
3434
This example also demonstrates a custom [Solution Manager](solution-manager.html) implementation that can work as an observer and event function.
35+
36+
## Flame propagation model
37+
38+
Flame propagation source file example: [flame_propagation.cpp](https://github.com/dae-cpp/dae-cpp/blob/master/examples/flame_propagation/flame_propagation.cpp)
39+
{: .fs-5 .fw-400 }
40+
41+
When you light a match, the ball of flame grows rapidly until it reaches a critical size.
42+
Then it remains at that size because the amount of oxygen being consumed by the combustion
43+
in the interior of the ball balances the amount of oxigen available through the surface.
44+
This example solves **stiff** equation of flame propagation for the scalar variable $$y(t)$$ which represents the radius of the ball.

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: home
44
nav_order: 1
55
---
66

7-
![version](https://img.shields.io/badge/version-2.0.0-blue)
7+
![version](https://img.shields.io/badge/version-2.0.1-blue)
88

99
<p align="center">
1010
<img src="../assets/images/logo.png" alt="dae-cpp logo" width="250"/>

docs/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Then build and run the tests:
2525

2626
```bash
2727
mkdir build && cd build
28-
cmake ..
28+
cmake .. -DCMAKE_BUILD_TYPE=Release
2929
make
3030
ctest
3131
```

docs/prerequisites.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ using namespace daecpp;
3030
| `daecpp::float_type` | `double` (default), <br> `float` if `DAECPP_SINGLE` is defined | Floating point scalar, used for sparse matrix coefficients |
3131
| `daecpp::state_vector` | `std::vector<float_type>` | State vector, used, for example, to define the initial condition |
3232
| `daecpp::state_type` | `autodiff::VectorXreal` | State vector, used for the [vector function](vector-function.html) definition so that it can be automatically (algorithmically) differentiated using [`autodiff`](https://autodiff.github.io/) package |
33+
| `daecpp::dual_type` | `autodiff::real` | Floating point "dual" number, used in the vector function for automatic differentiation |

0 commit comments

Comments
 (0)