Commit graph

34 commits

Author SHA1 Message Date
Ray Speth
2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00
Ray Speth
a6f939c2fe Applied consistent formatting to all C++ code
Done using astyle:
astyle --style=kr --add-brackets --indent=spaces=4 --indent-col1-comments --unpad-paren --pad-header --align-pointer=type --lineend=linux
2012-02-10 17:24:00 +00:00
Ray Speth
f922a9c348 Removed unnecessary TRUE and FALSE macros
Replaced with built-in true and false values, and the variables
these were assigned to have been converted from int to bool.
2012-01-20 23:13:32 +00:00
Ray Speth
d4b4cec673 Fixed signed/unsigned comparison warnings in VCS Equilibrium solver 2012-01-17 04:13:11 +00:00
Ray Speth
9470103bb2 Fixing compiler warnings, part 4 2012-01-17 04:11:20 +00:00
Ray Speth
255f1f9b9f Fixing compiler warnings, part 3 2012-01-17 04:10:43 +00:00
Ray Speth
9e1fdfe39a Eliminated CVS keyword cruft 2012-01-09 17:32:01 +00:00
Harry Moffat
9c6080e3c9 Turned on keyword substitution in the cpp files. 2009-12-09 17:50:27 +00:00
Harry Moffat
70647c85ed Initial Import 2009-07-27 23:17:19 +00:00
Harry Moffat
ff6aff01aa Changed old to new style headers. 2008-12-17 16:34:17 +00:00
Harry Moffat
6f985cdc78 vcs_VolPhase update: Made more members private 2008-08-07 23:40:52 +00:00
Harry Moffat
f494e6ee78 vcs_Volphase update: eliminating more members and simplifying. 2008-07-03 23:24:04 +00:00
Harry Moffat
62133ce1b4 vcs_VolPhase update: Made more members private 2008-06-26 17:51:11 +00:00
Harry Moffat
1c6001af01 Took out m_feSpecies_curr. It was confusing and violated stateCalc
concept.
2008-06-03 21:35:53 +00:00
Harry Moffat
61a3d2b2c4 Variable name changing. no change in algorithm 2008-05-18 15:37:20 +00:00
Harry Moffat
431eb16260 Variable name changing only 2008-05-16 22:00:16 +00:00
Harry Moffat
c76d8b7504 Changed names of variables. 2008-05-16 21:18:29 +00:00
Harry Moffat
7b4b970253 Name changes only 2008-05-16 15:25:08 +00:00
Harry Moffat
6f07cb109e variable name changes 2008-05-13 17:15:49 +00:00
Harry Moffat
9fcced29d0 Changed names of some variables. 2008-05-12 19:37:01 +00:00
Harry Moffat
03a1f8dca2 variable name changes and documentation update 2008-05-09 19:57:09 +00:00
Harry Moffat
9da8402543 Changed the interface to allow values of 0, 1, and -1 for
estimateEquil.
  0 don't estimate
  1 estimate only if element abundances aren't satisfied
 -1 always estimate.
2008-05-06 16:53:37 +00:00
Harry Moffat
7b4e4ec1c4 Simplify treatment of units within the equilibrium solver
-> always assumes numbers are in kmol
  -> always assumes pressures are in pascal
  -> always assumes volumes are in m**3
2008-04-28 16:08:35 +00:00
Harry Moffat
6667d79319 Changed variable names.
Fixed an error with the print out of the pressure units.
2008-04-25 02:38:38 +00:00
Harry Moffat
afd90fb206 change of variable names 2008-04-25 00:28:38 +00:00
Harry Moffat
0f4c0a3f7c Changed variable names 2008-04-23 16:08:16 +00:00
Harry Moffat
5ee0f16d88 Changed names of a variable. 2008-04-21 19:27:07 +00:00
Harry Moffat
75c11d40b3 Changed the name of a variable. 2008-04-21 16:50:26 +00:00
Harry Moffat
69e42f89cc Changed the name of a variable. 2008-04-18 22:21:47 +00:00
Harry Moffat
1f8618f090 Changed a variable name 2008-04-18 20:56:59 +00:00
Harry Moffat
b9533bcf34 Changed name of a variable. 2008-04-17 16:53:17 +00:00
Harry Moffat
daa479d4f7 Changed the algorithm for picking the component basis.
It used to be that the components were picked based on the magnitude
of their mole numbers. I changed this to the magnitude of the
mole numbers multiplied by the # elements in the species.

  On one problem, a heptane combustion mechanism, this reduced  the
number of iterations in the VCS algorithm from 1080 to 40. Obviously,
the convergence rate within the VCS method
depends on the ID of the components. This change should be considered
as a trial balloon. It may fall apart on some other problem.

 I may be forestalling the obvious here. The more complete solution
is to formualte the hessian of the rxns involving the
major species, and then invert it, using cg probably, to get a better
iteration direction.
2008-04-14 17:22:02 +00:00
Harry Moffat
bcdec010ed Replaced misc. debug #ifdefs with the single #ifdef block DEBUG_MODE.
This block is turned on/off by the configure options in the autoconf
setup process.
2008-01-14 22:24:10 +00:00
Harry Moffat
d0e99aec18 Added vcs_nonideal, another equilibrium solver that can handle
nonideal thermo multiphase systems.
2007-12-19 21:19:28 +00:00