ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/utils/ElementsTable.cpp
(Generate patch)

Comparing trunk/src/utils/ElementsTable.cpp (file contents):
Revision 1296 by chuckv, Thu Sep 18 21:51:20 2008 UTC vs.
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC

# Line 1 | Line 1 | This basic Periodic Table class was originally taken f
1   /**********************************************************************
2  
3   This basic Periodic Table class was originally taken from the data.cpp
4 < file in OpenBabel. The code has been modified to match the OOPSE coding style.
4 > file in OpenBabel. The code has been modified to match the OpenMD coding style.
5  
6   We have retained the OpenBabel copyright and GPL license on this class:  
7  
# Line 53 | Line 53 | extern "C" int strncasecmp(const char *s1, const char
53   #define BUFF_SIZE 32768
54   #endif
55  
56 < namespace oopse {
56 > namespace OpenMD {
57  
58    ElementsTable etab;
59  
# Line 109 | Line 109 | namespace oopse {
109      return elements_.size();
110    }
111  
112 <  char *ElementsTable::GetSymbol(int atomicnum) {
112 >  const char *ElementsTable::GetSymbol(int atomicnum) {
113      if (!init_)
114        Init();
115      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines