Changeset 4dca8e for molecuilder/src/periodentafel.hpp
- Timestamp:
- Aug 3, 2009, 3:09:12 PM (16 years ago)
- Children:
- eb167d
- Parents:
- e78824
- File:
-
- 1 edited
-
molecuilder/src/periodentafel.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/periodentafel.hpp
re78824 r4dca8e 3 3 4 4 using namespace std; 5 6 #include "defs.hpp"7 #include "helpers.hpp"8 5 9 6 // include config.h … … 12 9 #endif 13 10 11 #include <iostream> 12 13 #include "defs.hpp" 14 #include "element.hpp" 15 14 16 // ====================================== class definitions ========================= 15 17 16 class element;17 class periodentafel;18 19 /** Chemical element.20 * Class incorporates data for a certain chemical element to be referenced from atom class.21 */22 class element {23 public:24 double mass; //!< mass in g/mol25 double CovalentRadius; //!< covalent radius26 double VanDerWaalsRadius; //!< can-der-Waals radius27 int Z; //!< atomic number28 char name[64]; //!< atom name, i.e. "Hydrogren"29 char symbol[3]; //!< short form of the atom, i.e. "H"30 char period[8]; //!< period: n quantum number31 char group[8]; //!< group: l quantum number32 char block[8]; //!< block: l quantum number33 element *previous; //!< previous item in list34 element *next; //!< next element in list35 int *sort; //!< sorc criteria36 int No; //!< number of element set on periodentafel::Output()37 double Valence; //!< number of valence electrons for this element38 int NoValenceOrbitals; //!< number of valence orbitals, used for determining bond degree in molecule::CreateConnectmatrix()39 double HBondDistance[NDIM]; //!< distance in Angstrom of this element to hydrogen (for single, double and triple bonds)40 double HBondAngle[NDIM]; //!< typical angle for one, two, three bonded hydrogen (in degrees)41 42 element();43 ~element();44 45 //> print element entries to screen46 bool Output(ofstream *out) const;47 bool Checkout(ofstream *out, const int No, const int NoOfAtoms) const;48 49 private:50 };51 18 52 19 /** Periodentafel is a list of all elements sorted by their atomic number.
Note:
See TracChangeset
for help on using the changeset viewer.
