Commit Graph

10926 Commits

Author SHA1 Message Date
Dave Goodwin
def19717ce *** empty log message *** 2003-09-04 23:25:08 +00:00
Harry Moffat
f4d6969b11 Rebaselined due to change in units 2003-09-03 20:00:37 +00:00
Harry Moffat
fe1f006419 Fixed an error that I had introduced. 2003-09-03 19:59:50 +00:00
Harry Moffat
0aaaab9c98 rebaselined due to change in constants. 2003-09-03 19:59:09 +00:00
Harry Moffat
849b22f083 Might as well keep this in till it breaks. 2003-09-03 18:49:13 +00:00
Harry Moffat
1cb7a2883b Added const to the aguement lists. 2003-09-03 18:48:33 +00:00
Harry Moffat
6f190b568d Added a function called appdelete(), which deletes all global
data malloced by Cantera. With this call added to applications,
Cantera passes the leak check from the valgrind application.
(Well there is some squirrely behavior associated with either
valgrind, linux, or the stl implementation, but it's not
Cantera's fault).

I also changed get_XML_File to store the absolute pathname
in the map, so that the same XML tree isn't deleted twice.
Lookups are always done wrt absolute pathnames.
2003-09-03 18:45:06 +00:00
Harry Moffat
1c51cc7f78 Added the function get_XML_NameID, which does a search on the xml
element name and id attribute.

Made importSpecies() a global function. I needed this in order to
read in enhancements to the XML data file for the PartSpecPhase
class.
2003-09-03 18:39:12 +00:00
Harry Moffat
8208abd612 Added comments and changed the order of functions to place like
functions in blocks.
2003-09-03 18:33:54 +00:00
Harry Moffat
b6f127e30c Cleanup of comment sections. 2003-09-03 18:31:57 +00:00
Harry Moffat
365c19711d cleanup 2003-09-03 18:31:17 +00:00
Harry Moffat
7e6ef23479 Two main changes:
The routines will now throw a named error condition when it
  can't match the species thermo or it can't find the species thermo.
  This is used in PartSpecPhase.cpp to signal that the thermo
  functions should be created on the fly from the bulk phase
  thermo and the bulk species basis for the particle species.

  The second one is to eliminate a potential fatal error of
  calling a delete for an object in the object's own destructor
  function.
2003-09-03 18:29:15 +00:00
Harry Moffat
35f71ec193 Added the function findNameID, which does a tree lookup on
the name and the id.
Took out m_level, which seemed to have no purpose.
2003-09-03 18:22:07 +00:00
Harry Moffat
2cd189ceaf Added comments. 2003-09-03 18:19:02 +00:00
Harry Moffat
d7810f673b Added a file. 2003-09-03 18:18:33 +00:00
Harry Moffat
a2fdaba16d fixed a potentially fatal error of doing a delete in a destructor
on the object containing the destructor.
2003-09-03 18:17:49 +00:00
Harry Moffat
0c28f2aabe Added a vector get for the atoms in a species. 2003-09-03 18:15:50 +00:00
Harry Moffat
e793a0c76d Fixed an error with the destructors. valgrind showed that destructor
wasn't being called for single instance of FalloffFactory.
2003-09-03 15:35:35 +00:00
Dave Goodwin
5cd6d39c39 initial import 2003-08-29 14:59:20 +00:00
Dave Goodwin
73ffafe226 *** empty log message *** 2003-08-29 13:13:08 +00:00
Dave Goodwin
bf83841317 *** empty log message *** 2003-08-28 15:02:53 +00:00
Dave Goodwin
1d1693b216 *** empty log message *** 2003-08-28 14:53:46 +00:00
Dave Goodwin
4cdb8aa015 *** empty log message *** 2003-08-28 14:22:15 +00:00
Dave Goodwin
cc30cac07f *** empty log message *** 2003-08-26 06:35:02 +00:00
Dave Goodwin
fe42db4cbf *** empty log message *** 2003-08-26 06:04:20 +00:00
Dave Goodwin
e6e720bd00 *** empty log message *** 2003-08-26 05:22:29 +00:00
Dave Goodwin
d40fcc8af5 *** empty log message *** 2003-08-26 05:02:41 +00:00
Dave Goodwin
3322ca66d5 *** empty log message *** 2003-08-26 04:57:22 +00:00
Dave Goodwin
3379326809 *** empty log message *** 2003-08-26 04:38:29 +00:00
Dave Goodwin
4fc77d0be9 *** empty log message *** 2003-08-26 04:19:21 +00:00
Dave Goodwin
05e4d5f850 *** empty log message *** 2003-08-26 04:09:55 +00:00
Dave Goodwin
c100926818 *** empty log message *** 2003-08-26 03:48:21 +00:00
Dave Goodwin
088aca5700 *** empty log message *** 2003-08-26 03:44:05 +00:00
Dave Goodwin
5afa4f7102 *** empty log message *** 2003-08-26 03:36:26 +00:00
Dave Goodwin
5d1b37c7aa *** empty log message *** 2003-08-26 03:25:39 +00:00
Dave Goodwin
3b4ea774b5 initial import 2003-08-25 19:50:17 +00:00
Harry Moffat
9e273febb5 Added a dummy routine to set and store the pressure. It doesn't
have an effect on anything. However, it doesn't cause a cantera
error.
2003-08-25 18:29:16 +00:00
Dave Goodwin
0bb4034bcf initial import 2003-08-23 17:14:05 +00:00
Harry Moffat
b296825acc Changed fmax to fmaxx. 2003-08-21 22:39:16 +00:00
Harry Moffat
b235193eb2 Added the writeUpdate() function. It was needed to resolve externals. 2003-08-21 22:38:41 +00:00
Harry Moffat
31848c92b7 changed fmax to fmaxx 2003-08-21 22:37:28 +00:00
Harry Moffat
d8d7dc0112 Changed fmax() to fmaxx() in one call. 2003-08-21 22:36:57 +00:00
Harry Moffat
1133733d3f Added more comments. 2003-08-21 22:35:29 +00:00
Harry Moffat
c71dfe6c47 Commented out a spurious write operation 2003-08-21 22:34:46 +00:00
Harry Moffat
33c571ca86 Added a name of an argument. 2003-08-21 22:33:38 +00:00
Harry Moffat
3e9e01ccce Added a comment 2003-08-21 22:32:46 +00:00
Harry Moffat
2780df87b6 Changed findXMLPhase() to return a non const XML tree. It broke the
runDiamond program the other way, because importPhase() uses a
non const XML tree argument.
Also, the change commits a small alteration in the xml write operation
that allows for the top level of an xml file to contain multiple
elements. previously this was not possible.
2003-08-21 22:32:03 +00:00
Harry Moffat
a9f0c07dda Fixed a UMR in the file. 2003-08-21 22:28:26 +00:00
Harry Moffat
d10e8e5d29 The find_xml interface has been deprecated. Therefore, there were
changes needed in these files.
2003-08-21 22:26:27 +00:00
Harry Moffat
34ff876182 Rebaselined the problem. The solution changed in the 4th sig digit,
because, I think, the physical constants changed in ct_defs.h
2003-08-21 22:25:13 +00:00