Commit graph

265 commits

Author SHA1 Message Date
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
Ray Speth
4a411b76bb Use git submodule for googletest 2015-10-18 18:54:09 -04:00
Ray Speth
952ed7d39a Compile cppformat and include it in the Cantera library 2015-10-14 18:45:22 -04:00
Ray Speth
6e34ef025f Add cppformat submodule 2015-10-14 18:45:22 -04:00
Ray Speth
7f847c3877 [SCons] Miscellaneous cleanup of SConstruct/SConscript files 2015-06-13 23:29:58 -04:00
Ray Speth
8ce62988a1 [SCons] Remove previously-deprecated configuration options 2015-05-11 17:23:37 -04:00
Ray Speth
004798aef4 Remove unused header files 2015-02-12 04:04:15 +00:00
Ray Speth
044235c065 [SCons] Remove unnecessary uses of pjoin 2014-10-08 16:54:49 +00:00
Ray Speth
c7ba8bfb84 Remove abandoned autotools build system 2014-03-04 17:38:53 +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
9153c00d94 Remove broken/unused GMRES implementation 2014-02-21 19:08:03 +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
1ff7bc2f3b [SCons] Remove check for <tr1/tuple>
Updated gtest version makes this special case unnecessary.
2014-01-21 17:22:09 +00:00
Ray Speth
b95d87e1f7 [Test] Update gtest to 1.7.0 2014-01-21 17:21:50 +00:00
Ray Speth
a8d8f3f0ca [SCons] Check for <tr1/tuple>
This header is used by GTest. If not present, define 'GTEST_USE_OWN_TR1_TUPLE'
to use an alternative version. Fixes a compilation error on OS X.
2014-01-08 17:10:34 +00:00
Ray Speth
e1074722c5 [SCons] Restore 'single_library' build option
The 'single_library=y' build option must be retained in order to support
compilation on Windows and OS X.
2013-10-04 16:22:55 +00:00
Harry Moffat
cfa4493b51 Worked on fixing errors in the code that caused problems with downstream code.
Took out single_species compilation option

took out some deprecated warnings

Fixed an error in copy constructors for thermo.

Still an error with PYTHONPATH and the test suite

 -- more to come.
2013-09-02 00:58:28 +00:00
Ray Speth
1856a060c9 [SCons] Made installation of gtest optional
The default is to not install it, since most users do not need it.
2013-02-15 17:32:31 +00:00
Harry Moffat
287de5e1fb Added gtest to Cantera's application environment. 2013-02-05 00:32:05 +00:00
Ray Speth
978e3605bd [SCons] Cleanup of the build scripts 2013-02-01 23:39:53 +00:00
Harry Moffat
c6f7abbf2f Fixed a serious error in InterfaceKinetics that had crept into this branch.
Started upgrade/update of equilibrium solver
       - Fixed numerical jacobian calculation of the ln activity coefficients.
2012-11-29 02:18:05 +00:00
Harry Moffat
08a41f191c Added back constructPhaseFile() and constructPhaseXML().
All molten salt problems were broken and some brine problems were broken.
2012-11-07 23:51:30 +00:00
Ray Speth
3f17786c01 Removed some commented-out includes 2012-10-12 20:34:48 +00:00
Ray Speth
c092bbaede Fixed the order of include and library directories when compiling
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).

The same logic applies to directories on the library link path.
2012-08-10 21:03:06 +00:00
Nicholas Malaya
08a06aff0a [cantera2.0]: fixing a few files for the autotools system 2012-06-19 15:19:46 +00:00
Nicholas Malaya
35afd04dfa [cantera2.0]: fixing various other directories related to doxygen building 2012-06-19 14:32:37 +00:00
Nicholas Malaya
189d5c0270 [cantera2.0]: updating configure and makefile.ams in ext 2012-06-19 03:57:19 +00:00
Nicholas Malaya
bf3b763350 [cantera2.0]: finally figured this arith.h out 2012-06-19 02:31:11 +00:00
Nicholas Malaya
631be2da45 [cantera2.0]: building and writing arith.h 2012-06-19 01:50:57 +00:00
Nicholas Malaya
4e16d3aafa [cantera2.0]: partial fix to problem ray identified, followup coming in a few minutes 2012-06-18 21:19:33 +00:00
Nicholas Malaya
cb7730479f [cantera2.0]: fixing a stupid error in the libexecstream makefile, and adding f2c_math 2012-06-18 14:55:39 +00:00
Nicholas Malaya
b37083651e [cantera2.0]: adding a missing makefile.am 2012-06-18 14:19:03 +00:00
Nicholas Malaya
d5432c4f8d [cantera2.0]: updating makefile.am, still more work on libexec to be done 2012-06-18 04:46:51 +00:00
Nicholas Malaya
ece7e870b6 [cantera2.0]: fixing all the missing lapack files 2012-06-18 03:06:58 +00:00
Nicholas Malaya
724baced8b [cantera]: fixing up the build system in prep for the 2.0 release. Should be shiny. 2012-06-14 23:00:58 +00:00
Nicholas Malaya
79b29300a6 [cantera]: updating autotools build system. Library building, need to fix another test. Additionally, adding hypersonic flow transport model-- need to add hypersonic thermodynamics as well. 2012-04-25 13:18:25 +00:00
Ray Speth
e11281477e Added configuration option for building a single library
This is necessary particularly for Windows, where there's no easy way
to build shared libraries of the f2c code because those functions
don't have the necessary __declspec(dllexport) in their non-existent
headers.
2012-04-05 22:03:30 +00:00
Harry Moffat
25ba149aab Sorry for monolithic commit. Will break it up in the future.
Moved the external libraries to separate library files so that libcantera.a just contains its own namespace externals.

Fixed several errors in the equilibrium program that occurred during the port. (int to size_t issues).

Moved some equilibrium program headers to the include file system, so that it can link with equilibrium program.

Worked on Cantera.mak. Needs more work.

Fixed an issue with the Residual virtual base classes within numerics. They didn't inherit due to int to size_t migration. This caused numerous test problems to fail (issue with backwards compatibility - do we want it and how much do we want?).

Added csvdiff back so that it's available for shell environment runtests.
2012-04-05 00:24:31 +00:00
Ray Speth
d16f70ab44 Fixed some spelling issues 2012-04-04 18:44:24 +00:00
Ray Speth
9124b361dc Added a few basic thermo tests to the Matlab unit tests 2012-03-23 22:16:28 +00:00
Ray Speth
4506ee2f8a Fixed some compiler warning issues 2012-03-15 19:55:18 +00:00
Ray Speth
6ec589a9e5 Fixed compiler warnings in libexecstream 2012-03-15 19:55:07 +00:00
Ray Speth
d27066d7bd Whitespace cleanup of libexecstream 2012-03-15 19:55:00 +00:00
Ray Speth
7676097b4a Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
Ray Speth
bac65b26a1 Added machinery for unit testing of the Matlab toolbox
Unit tests are written using the Matlab xUnit Test Framework
2012-03-13 17:32:10 +00:00
Ray Speth
5274b1eca0 Fixed attaching stdin and stdout to python subprocess 2012-03-13 17:31:55 +00:00
Ray Speth
8799001ee3 Prevent window from being created by python ct2ctml subprocess
When using Cantera from a GUI app, the python process was inheriting
window settings from the parent, and launching in a window that didn't
accept input from the calling process, causing the conversion to fail.
2012-03-10 21:25:17 +00:00
Ray Speth
82d467944f Eliminated temporary files from the ct2ctml conversion process
Added libstringstream, which maps stdin and stdout to std::iostream.
Using this library means we no longer create either the temporary .py
file or the ct2ctml.log file.

This also eliminates the synchronization problems that motivated the
sleep commands around the system call, so cti to ctml conversions are
significantly faster now.
2012-03-09 22:59:21 +00:00
Ray Speth
1ca9e3fac5 Moved a BLAS function out of f2c_math 2012-03-05 20:47:02 +00:00