ssun30
c8e024d73e
Tutorials/Sconscript/Docs
2023-05-11 14:38:18 -04:00
ssun30
1df1da16d9
[Matlab] Documentation updates
2023-05-11 14:38:18 -04:00
ssun30
55ccdc63b9
[Matlab] Update 1D documentation
...
Replace magic numbers for 1D domain types with string constants
2023-05-11 14:38:18 -04:00
ssun30
2318dd9c21
More fixes to new MatlabToolbox
2023-05-11 14:38:18 -04:00
ssun30
71fc640f56
[Matlab] Add named constructors for functors
2023-05-11 14:38:18 -04:00
ssun30
21980e6e6f
Made changes based on Feedback.
2023-05-11 14:38:18 -04:00
ssun30
0294939a94
[Matlab] Updates to examples
2023-05-11 14:38:18 -04:00
ssun30
c11b157add
[Matlab] Remove automatic figure generation for kinetic rate functions
...
Miscellaneous formatting updates
2023-05-11 14:38:18 -04:00
Richard West
3dad11e9ff
Added installation guide
2023-05-11 14:38:18 -04:00
ssun30
c96fd2cd15
Fixed some Examples
2023-05-11 14:38:18 -04:00
Su Sun
c9a4004ab5
Added and fixed Examples for the new toolbox
...
Also fix Examples/flame1.m
2023-05-11 14:38:18 -04:00
Su Sun
8043b28315
Added 1D/CounterFLowDiffusionFlame
2023-05-11 14:38:18 -04:00
Su Sun
7eb7d37aae
Some fixes to a few Classes
...
and Fixed Set Mdot and Set Max Jacobian Age
2023-05-11 14:38:18 -04:00
Su Sun
1e59450ca4
Added examples to the new Matlab toolbox
2023-05-11 14:38:18 -04:00
Su Sun
0189abb705
Experimental Matlab toolbox now working
2023-05-11 14:38:18 -04:00
Su Sun
591f3f3539
Added Reactor Class and Changed Class ID Variable Names
2023-05-11 14:38:18 -04:00
Su Sun
03ca9302b0
[Matlab] Initial version of 'experimental' Matlab toolbox
...
New toolbox replacing old-style classes with 'classdef' classes,
and using 'calllib' to interact directly with the Cantera C interface
rather than the 'ctmethods' MEX file.
2023-05-11 14:38:18 -04:00
Ray Speth
63313b08d5
[CI] Only run relevant tests for different Sundials versions
2023-05-09 15:03:46 -05:00
Ray Speth
a7cd8ee5b7
[CI] Fix missing libraries for 'run-examples' job
2023-05-09 15:03:46 -05:00
Ray Speth
45dced25bf
[CI] Skip slow conda cleanup step on Windows
2023-05-09 15:03:46 -05:00
Ray Speth
7ed6e800b6
[CI] Fix missing dependency for 'prerelease-cython' job
2023-05-09 15:03:46 -05:00
Ray Speth
c06ecf1bfb
[CI] Fix matrix for 'run-examples' job
2023-05-09 15:03:46 -05:00
Bryan Weber
194cd1fa19
Fix commit version in Cython package
2023-05-08 22:02:35 -04:00
Bryan Weber
6f228b0a53
Update build package versions
2023-05-08 22:02:35 -04:00
Bryan Weber
396feff422
Fixes after splitting the Cython module
2023-05-08 22:02:35 -04:00
Bryan Weber
5ae51ec7f8
Update the Cantera data folder in tests
...
Since the data folder is no longer in a fixed location relative to the
tests, after moving the tests out of the package, we need to use the
import location of the Cantera package to find the installed data
files.
2023-05-08 22:02:35 -04:00
Bryan Weber
823e4a4a02
Remove special config.h handling in the sdist
...
config.h no longer requires system-specific setup, so it can be
generated at sdist build time with no problem.
2023-05-08 22:02:35 -04:00
Bryan Weber
40a35eb41e
Clean up the Python extensions manager objects
2023-05-08 22:02:35 -04:00
Bryan Weber
32be053407
Add a bit more docs
2023-04-25 18:14:19 -04:00
Bryan Weber
c46adb2c17
Docs and AUTHORS
2023-04-25 18:14:19 -04:00
Bryan Weber
5395a57aa5
Address comments about tests
2023-04-25 18:14:19 -04:00
Bryan Weber
ed4b3a910d
Address a bunch of review comments
2023-04-25 18:14:19 -04:00
Bryan Weber
1672898d73
Fix one problem with building the sdist
2023-04-25 18:14:19 -04:00
Bryan Weber
700fd6a10b
General cleanups
2023-04-25 18:14:19 -04:00
Bryan Weber
220898448f
Move building the units interface to a Scons extension
2023-04-25 18:14:19 -04:00
Bryan Weber
a6be9cfef4
Apply suggestions from code review
...
Co-authored-by: Ray Speth <yarmond@gmail.com>
2023-04-25 18:14:19 -04:00
Bryan Weber
962c6d98da
Remove some tabs
2023-04-25 18:14:19 -04:00
Bryan Weber
5fcfef7d1c
[CI] Fix example installation
2023-04-25 18:14:19 -04:00
Bryan Weber
b17ef0c510
[CI] Don't use PyPI index when installing Cantera
...
Ensure that we only install the wheel from the archive and don't
accidentally reach out to PyPI.
2023-04-25 18:14:19 -04:00
Bryan Weber
e3fb356228
[CI] Add --pre option to sample installation step
...
This is required to find the version of Cantera in the dist folder. By
default, pip only finds stable versions, and in this case, was going out
to PyPI to find Cantera rather than use the local artifact. However, we
can't set --no-index because we also need to install other dependencies
from PyPI.
2023-04-25 18:14:19 -04:00
Bryan Weber
d469ab2811
Fix testing and docs build failures
2023-04-25 18:14:19 -04:00
Bryan Weber
c64773d7f4
[Units] Add tests that all properties are implemented
2023-04-25 18:14:19 -04:00
Bryan Weber
97de761547
[Units] Add documentation
...
Most of the docs are copied from the upstream object. Some updates are
included for units.
2023-04-25 18:14:19 -04:00
Bryan Weber
2d07de24f5
Address review line comments
2023-04-25 18:14:19 -04:00
Bryan Weber
82c323f3f8
Refactor dimensions tests
2023-04-25 18:14:19 -04:00
Bryan Weber
c02f01725d
[Units/Test] Refactor test suite to use pytest
...
This increases the line coverage to near 100%, uses pint's testing
assertions rather than rolling our own, and uses parameterize
extensively to reduce boilerplate in testing as many properties as
possible.
2023-04-25 18:14:19 -04:00
Bryan Weber
b1c1f865a8
Missing a license header
2023-04-25 18:14:19 -04:00
Bryan Weber
a832a712ba
[Units] Refactor setter to use a loop
...
Rather than checking each value individually with try/except, use the
ito method and try to convert within a loop. This simplifies testing for
the error condition and looks a little cleaner.
2023-04-25 18:14:19 -04:00
Bryan Weber
c178c7c6c4
[Units] Pass through kwargs in constructor
...
Allow setting the backed of the Water instance. Fix a typo in the R134a
instance.
2023-04-25 18:14:19 -04:00
Bryan Weber
d28809f7ac
[Test] Add branch coverage to Python
2023-04-25 18:14:19 -04:00