| 1 | 
  | 
/********************************************************************** | 
| 2 | 
  | 
 | 
| 3 | 
  | 
This basic Periodic Table class was originally taken from the data.h  | 
| 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 | 
  | 
 | 
| 36 | 
  | 
#include <vector> | 
| 37 | 
  | 
#include "primitives/Element.hpp" | 
| 38 | 
  | 
 | 
| 39 | 
< | 
namespace oopse { | 
| 39 | 
> | 
namespace OpenMD { | 
| 40 | 
  | 
 | 
| 41 | 
  | 
  /** | 
| 42 | 
  | 
   * @class ElementsTable.hpp "util/ElementsTable.hpp" | 
| 109 | 
  | 
     * @return the element symbol matching the atomic number passed | 
| 110 | 
  | 
     * @param atomicnum the atomic number of the element | 
| 111 | 
  | 
     */ | 
| 112 | 
< | 
    char *GetSymbol(int atomicnum); | 
| 112 | 
> | 
    const char *GetSymbol(int atomicnum); | 
| 113 | 
  | 
    /** | 
| 114 | 
  | 
     * @return the van der Waals radius for this atomic number | 
| 115 | 
  | 
     * @param atomicnum the atomic number of the element |