Ray Speth
70fe821c19
Deprecate FuncEval::getInitialConditions and related functions
2015-11-06 14:40:48 -05:00
Thomas Fiala
de133f1a3d
[Reactor] Divide residuals by sqrt(n_vars) in advance_to_steady_state
2015-11-03 15:46:07 -05:00
Thomas Fiala
304364c203
[Reactor] Add documentation for advance_to_steady_state
...
Also, update tutorials to use this feature.
2015-11-03 15:46:07 -05:00
Thomas Fiala
57e3ee8c1a
[Reactor] Implement the Cython function advance_to_steady_state
...
Resolves #95
Resolves #303
2015-11-03 15:41:58 -05:00
Thomas Fiala
16ab7dff51
[Reactor] Implement functions getState for reactors and reactor networks
...
These are simpler forms of getInitialConditions.
2015-11-03 14:34:28 -05:00
Ray Speth
592a40a1de
[SCons] Remove unused configuration options
2015-10-29 22:26:52 -04:00
Ray Speth
c983d730a6
[SCons] Remove 'include/cantera/ext' when running 'scons clean'
2015-10-29 12:27:47 -04:00
Ray Speth
84566a3a7d
[SCons] Fix incorrect directory created in build tree
...
The 'Mkdir' command was creating a (literal) '#include' directory, rather than
taking the '#' to mean the top of the source tree. The 'Mkdir' command is
unnecessary anyway, since the 'Copy' command will create the necessary
subdirectory.
Fixes #304 .
2015-10-29 12:27:47 -04:00
Bryan W. Weber
afde0a7b52
[Doc] Remove old F77 and F90 SCons options from Intel instructions
2015-10-28 15:33:13 -04:00
Bryan W. Weber
d4fb85d4c3
[Doc] Clarify cloning instructions
...
Clarify the instructions on how to clone the repository and which tags or branches should be checked out to get certain releases of the software.
2015-10-28 15:31:33 -04:00
Bryan W. Weber
b395c68236
[SCons] Fix Cantera.mak cannot be written if extra_inc_dirs or extra_lib_dirs is specified
2015-10-28 12:55:23 -04:00
Bryan W. Weber
6cca4cf55c
[Doc] Recommend to use pip to install optional Python packages on Ubuntu
2015-10-26 10:32:31 -04:00
imitrichev
f7a0e14f3e
Remove unused field m_logA from class SurfaceArrhenius
2015-10-25 15:41:59 -04:00
imitrichev
40e09043bc
Added methods to InterfaceKinetics to get effective rate parameters
...
Effective rate parameters are used in SurfaceArrhenius reactions.
Resolves #297 .
2015-10-25 15:41:31 -04:00
Ivan Mitrichev
02fc127c13
Cython minimum version is 0.19
...
Also, setuptools is required to build/install the python module.
Resolves #302 .
2015-10-25 14:15:45 -04:00
Bryan W. Weber
2e79a0978e
[Doc] Update Homebrew install instructions.
...
Update the Homebrew install instructions with a recommendation on how to install the Matlab toolbox and add additional options that are supported during the install process.
2015-10-25 09:15:31 -04:00
Ray Speth
f910f8c3ee
Bump development version to 2.3.0a1
2015-10-24 20:21:32 -04:00
Ray Speth
02ee03ffb2
[Doc] Mention IPython and Matplotlib in installation instructions
2015-10-24 17:47:49 -04:00
Ray Speth
92311f0b67
[Doc] Mention '--with-python3' option for Homebrew installer
2015-10-24 17:47:49 -04:00
Bryan W. Weber
eee1de7368
Merge pull request #300 from bryanwweber/fix-matlab-purefluid-functions
...
Fix Matlab PureFluid functions and documentation
2015-10-24 15:16:40 -04:00
Bryan W. Weber
0be9e7eef7
[Matlab] Fix spacing in private functions
2015-10-24 08:05:52 -04:00
Bryan W. Weber
0b5c97ad4f
[Doc] Correct docs for setState_*sat in Matlab
...
Correct the documentation to clarify that a vector must be passed in to
these functions, not a single value.
2015-10-24 08:05:45 -04:00
Bryan W. Weber
5aabfe9704
[Matlab] Fix setState_sat*.m functions
...
Fix the setState_satLiquid and setState_satVapor functions so that they call the main set
method instead of the underlying C++ layer. Resolves #299 .
2015-10-24 07:56:10 -04:00
Ray Speth
87aaa6ad1e
Use math functions from C++11 standard library
2015-10-19 13:14:40 -04:00
Ray Speth
0542e694a9
[Thermo] Merge classes StoichSubstance and StoichSubstanceSSTP
...
Use the implementation of StoichSubstanceSSTP (descended from
SingleSpeciesTP) but change the name to StoichSubstance.
2015-10-19 00:17:40 -04:00
Ray Speth
ffab95f3ef
Automatically check out cppformat submodule if needed
2015-10-18 18:54:09 -04:00
Ray Speth
4a411b76bb
Use git submodule for googletest
2015-10-18 18:54:09 -04:00
Ray Speth
c0eca16b34
Exclude cppformat from Doxygen docs
2015-10-17 22:43:20 -04:00
Ray Speth
e094967ebb
[Doc] Update version requirements
2015-10-17 22:35:37 -04:00
Ray Speth
c8e380d88c
[SCons] Invalid command line arguments set a non-zero return code
2015-10-17 19:00:18 -04:00
Ray Speth
90b0ee152b
Fix compilation with GCC 4.6 and 4.7
...
The standard libraries for these versions of GCC do not have 'emplace'
methods for associative containers.
2015-10-17 18:58:50 -04:00
Ray Speth
7c9bc364f5
[SCons] Add helpful error message when cppformat submodule is missing
2015-10-17 18:58:50 -04:00
Ray Speth
0647823ada
Replace DATA_PTR macro with calls to data()
2015-10-17 18:58:50 -04:00
Ray Speth
8b16eb489f
Eliminate unnecessary aliases for member variables in HMWSoln
2015-10-17 18:58:50 -04:00
Ray Speth
91d3002df1
Make use of "make_shared" where possible
2015-10-17 18:58:50 -04:00
Ray Speth
a945ef2c23
Make use of initializer lists where appropriate
2015-10-17 18:58:50 -04:00
Ray Speth
f9375e1a09
Use locks/mutexes from the standard library instead of Boost.Thread
...
This eliminates the need to link against any of the compiled Boost libraries,
and means that we can always build in thread-safe mode
2015-10-17 18:58:50 -04:00
Ray Speth
a03f370cfd
Make use of emplace and emplace_back methods
2015-10-14 18:45:23 -04:00
Ray Speth
c3a16ec1fb
Update AssertThrowMsg and AssertFinite to use cppformat
2015-10-14 18:45:23 -04:00
Ray Speth
fb4eece9f8
Use std::unique_ptr instead of raw pointers where appropriate
2015-10-14 18:45:23 -04:00
Ray Speth
0690626ab8
Make m_sub a regular member of WaterSSTP instead of a pointer
2015-10-14 18:45:23 -04:00
Ray Speth
ffc4ba07da
Make m_phi a regular member of WaterPropsIAPWS instead of a pointer
2015-10-14 18:45:23 -04:00
Ray Speth
3c05e801a4
Remove unused variable MetalSHEelectrons::xdef_
2015-10-14 18:45:23 -04:00
Ray Speth
3f6d8b0aca
Use cppformat instead of int2str and fp2str
2015-10-14 18:45:23 -04:00
Ray Speth
78e2d13da7
Eliminate some special cases by using std::vector.data()
...
Unlike &vec[0], vec.data() is a valid operation even when vec is empty,
removing the need to allocate space in vectors just so we can get an
address that won't be used.
2015-10-14 18:45:23 -04:00
Ray Speth
2589a27b6c
Use range-based for and auto to simplify some loops
2015-10-14 18:45:23 -04:00
Ray Speth
c2ba24c0c2
Fix possible memory leak in newPhase
...
If importPhase threw an exception, then the ThermoPhase object allocated here
would not be deleted. Switching to a smart pointer fixes this problem.
2015-10-14 18:45:23 -04:00
Ray Speth
f335350c35
Always use std::shared_ptr
...
Since we compile as c++11, std::shared_ptr is guaranteed to exist.
2015-10-14 18:45:23 -04:00
Ray Speth
e131766b71
Replace auto_ptr with unique_ptr
...
auto_ptr is deprecated in c++11
2015-10-14 18:45:23 -04:00
Ray Speth
0b2c7b59b8
Replace printf with writelogf in all library code
2015-10-14 18:45:23 -04:00