Ray Speth
62177ebc4d
[SCons] Improve detection of MinGW as the default compiler
2014-03-13 02:19:01 +00:00
Victor Brunini
584abf0d10
Performance improvements for HMWSoln and MaskellSolidSolnPhase.
...
HMWSoln: avoid recomputing lambdas if ionic strength hasn't changed.
MaskellSolidSolnPhase: Avoid recomputing activity coefficients if
r and T haven't changed.
2014-03-12 20:37:04 +00:00
Ray Speth
ec6b65513b
[Python] Add multiprocessing example
2014-03-08 21:47:14 +00:00
Ray Speth
98c480c7c7
[Python] Fix docstring of Sim1D.restore
...
Resolves Issue 210.
2014-03-08 21:47:09 +00:00
Ray Speth
6a51eb88dc
[Thermo] Move modifyOneHf298SS and m_tlast to ThermoPhase
...
This eliminates many duplicate implementations of this function and
declarations of this variable.
2014-03-08 21:46:58 +00:00
Victor Brunini
ee94266939
MaskellSolidSolnPhase: throw in unimplemented functions.
2014-03-07 17:21:14 +00:00
Victor Brunini
1565bad198
MaskellSolidPhaseSoln thermo updates.
...
Fix sign error in chemical potentials and update
activity coefficients accordingly.
Correct implementation of getActivityConcentrations()
Additional unit tests.
2014-03-07 17:14:13 +00:00
Victor Brunini
0981391ac4
Implement and test MaskellSolidSolnPhase::getActivityCoefficients().
2014-03-07 00:53:33 +00:00
Victor Brunini
7abb459bbe
Implement MaskellSolidSolnPhase::standardConcentrations() and getActivityConcentrations()
2014-03-06 22:30:19 +00:00
Victor Brunini
5898bf025f
Implement MaskellSolidSolnPhase::getPartialMolarVolumes()
...
User VPStandardStateVP as base class and just return
the standard state molar volumes.
2014-03-06 20:23:23 +00:00
Harry Moffat
b328e396b0
screwed up and didn't check in a complete fix
2014-03-06 17:37:41 +00:00
Harry Moffat
7078ac4d18
Added constructor info to prevent segfaults
...
However, need to flesh the whole class out to be useful in Electrode objects.
2014-03-06 17:03:23 +00:00
Harry Moffat
a58fc91f01
Added back a routine that caused numerous downstream failures.
2014-03-06 04:02:01 +00:00
Victor Brunini
e7a24f7acd
Unit test ThermoPhase::getElementPotentials and setElementPotentials.
2014-03-06 01:06:25 +00:00
Victor Brunini
d983660c77
Fix ThermoPhase::getElementPotentials and setElementPotentials
...
Broken in r2719.
2014-03-06 00:40:50 +00:00
Victor Brunini
32ce311bed
Fix Issue 209.
...
installShomateThermoFromXML now checks that
7 coefficients are supplied in the floatArray and
throws if that is not the case.
Also update MaskeLLSolidSolnPhase_Test xml files
to correctly contain 7 coefficients to not trigger
the newly added throw.
2014-03-06 00:08:58 +00:00
Ray Speth
30bf2c806f
[Scons/Test] Allow test suite to continue if gtest crashes
...
If a gtest program crashes, register that as a single test failure.
Previously, the entire test suite would be aborted because the
attempt to open the test results file (gtest-foo.xml) would fail.
2014-03-05 03:25:19 +00:00
Ray Speth
c5eb2f57dd
[Python] Make Cantera objects explicitly non-picklable and uncopyable.
...
Attempting to copy or pickle Cantera objects with an underlying C++ object
previously led to unexpected errors. These operations will not raise excptions
indicating the unimplemented feature.
Resolves Issue 205.
2014-03-04 17:39:21 +00:00
Ray Speth
c7ba8bfb84
Remove abandoned autotools build system
2014-03-04 17:38:53 +00:00
Ray Speth
10200524c2
Fix linker error when using MSVC
...
Regression was introduced in r2755.
2014-03-03 03:50:04 +00:00
Victor Brunini
93fcf181b1
Initial pass at implementing Maskell solid solution ThermoPhase.
...
Based on Maskell, Shaw, and Tye, Electrochimica Acta 28(2) 225-230 1983.
Includes unit tests checking calculation of the chemical potential values
and parsing of the mixing enthalpy parameter from an XML file.
2014-02-28 00:38:09 +00:00
Ray Speth
a313873b03
[Doc] Point to SourceForge for downloads
2014-02-24 03:25:46 +00:00
Ray Speth
c3be6cc7fa
Mention downloads on Sourceforge in README
2014-02-24 03:25:42 +00:00
Ray Speth
608184ecea
[SCons] Fix 'command too long' error with MinGW compilation
2014-02-24 03:25:38 +00:00
Ray Speth
ea040e1a5e
[SCons] Always link to static standard libraries with MinGW
2014-02-24 03:25:34 +00:00
Ray Speth
6e72f8930f
[SCons] Fix Cython module compilation with MinGW
2014-02-24 03:25:30 +00:00
Ray Speth
a02d3193de
[SCons] Remove unused 'rpfont' configuration variable
2014-02-24 03:25:25 +00:00
Ray Speth
ae5fa4a042
[SCons] Add test for Fortran library
...
Check for both the Fortran compiler and the corresponding Fortran library before
deciding whether to build the F90 interface. This will automatically disable the
F90 interface on platforms that provide gfortran but don't put libgfortran in a
standard location.
2014-02-24 03:25:19 +00:00
Ray Speth
7edc16d7c1
[SCons] Use more generic flag for warning suppression
...
Older versions of Clang don't support '-Wno-unused-result'.
2014-02-24 03:25:15 +00:00
Ray Speth
0ff3afe5ea
[SCons] Fix warning suppression in external code
2014-02-21 19:08:54 +00:00
Ray Speth
dba9ddd858
Fix miscellaneous integer sign/size warnings
2014-02-21 19:08:47 +00:00
Ray Speth
0392147540
Fix integer sign/size warnings in XML-related functions
2014-02-21 19:08:40 +00:00
Ray Speth
6f8da1a27e
Fix 'unused variable' warnings
2014-02-21 19:08:33 +00:00
Ray Speth
2ead29097c
[Thermo] Make signatures of overridden Hf298 functions consistent
2014-02-21 19:08:19 +00:00
Ray Speth
b5c5835ca9
Remove superfluous use of 'inline'
...
Member functions defined in the class body are always 'inline'.
2014-02-21 19:08:13 +00:00
Ray Speth
4a83d6450b
Remove unnecessary include of windows.h
2014-02-21 19:08:07 +00:00
Ray Speth
9153c00d94
Remove broken/unused GMRES implementation
2014-02-21 19:08:03 +00:00
Ray Speth
3e073aae27
[SCons] Force relink of Python extension when necessary
2014-02-21 19:07:58 +00:00
Ray Speth
8471200fc1
[Doc] Add class Mixture to Sphinx docs
2014-02-21 19:07:54 +00:00
Ray Speth
16927ae538
[SCons] Workaround for SCons bug under Cygwin
...
See SCons Issue 2911.
http://scons.tigris.org/issues/show_bug.cgi?id=2911
2014-02-20 03:01:05 +00:00
Ray Speth
aad284cce7
[SCons] Fix library linking issues under Cygwin
2014-02-20 03:01:01 +00:00
Ray Speth
44847515ca
Fix compilation errors with isnan/isinf using Cygwin's GCC
2014-02-20 03:00:56 +00:00
Ray Speth
13259299ba
[SCons] Correctly identify Cygwin builds
...
The correct preprocessor macro to use is the one provided by the
compiler, '__CYGWIN__'.
2014-02-20 03:00:52 +00:00
Ray Speth
ca0ea8bc35
[SCons] Simplify treatment of sydep1.h and signal1.h
...
We don't actually have system-dependent versions of these headers,
so just put the templates in place directly.
2014-02-20 03:00:45 +00:00
Ray Speth
03c891ba18
[SCons] Fix a missing SCons dependency
2014-02-20 03:00:41 +00:00
Bryan W. Weber
3de3842e3c
[MixMaster] Fix variable ambiguity in DataFrame.py.
...
Fix file not closed bug in importCSV. Import from XML is broken due
to missing XML module.
2014-02-19 22:45:00 +00:00
Ray Speth
771ff96e86
[MixMaster] Fixes to use Cython function names
...
DataFrame.importCSV and dataFrame.importData were still using function names
from the old Python module.
2014-02-14 16:40:58 +00:00
Ray Speth
377d3877f7
[MixMaster] Fix usage of numpy.zeros and numpy.ones
2014-02-14 16:40:54 +00:00
Ray Speth
78f6314cd9
Remove misleading reference to 'preconfig'
2014-02-13 22:26:49 +00:00
Ray Speth
4ca1d9dd1d
[Matlab] Fix detection of errors when importing Kinetics
...
Cast the unsigned return type of newKineticsFromXML to a signed type so that the
check on the Matlab side (which looks at the sign of the return value) can
detect and report errors.
2014-02-13 22:26:45 +00:00