-
Notifications
You must be signed in to change notification settings - Fork 2
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
cef6f1d
commit 8a76c29
Showing
15 changed files
with
437 additions
and
223 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Development | ||
=========== | ||
|
||
General Practices | ||
----------------- | ||
|
||
Since this project depends on external libraries, it is important to keep a | ||
standard for updates. First, the target programming language for the package is | ||
Python. That said, applications are expected to be conceived in that language. | ||
Nonetheless, the main interface of the library used to develop these models is | ||
provided in C++. This implies that development workflow should follow the path: | ||
|
||
1. Conceive new models in C++: | ||
a. Header files shall be placed under *include/CanteraPFR*. | ||
b. Source files shall be placed under *src*. | ||
c. Test interface for C++ is provided in *test/main*. | ||
d. Edit *Makefile* to include test binary. | ||
2. Provide Cython interface: | ||
a. Add C++ interfaces to *CanteraPFR.pdx*. | ||
b. Implement Python callable interface to new models in *CanteraPFR.pyx*. | ||
c. Add test to new model to *test/test.py*. | ||
3. Build and test project with new model: | ||
a. Run `make` from main directory. | ||
b. Execute *test.py* from its directory. | ||
c. Run `make` from *doc* directory for documentation. | ||
|
||
Functionalities to implement | ||
---------------------------- | ||
|
||
1. Models are not taking cross-section variations into account. | ||
2. Generalize model by incorporating source (surface) terms. | ||
3. Implement test for turbulent limit in momentum loss equation. | ||
4. Provide analytical Jacobian for all models. |
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,9 @@ | ||
Reference API | ||
============= | ||
|
||
.. module:: CanteraPFR | ||
|
||
.. autoclass:: PyPFR | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.