7 #ifndef BALL_KERNEL_PTE_H
8 #define BALL_KERNEL_PTE_H
10 #ifndef BALL_COMMON_CREATE_H
14 #ifndef BALL_DATATYPE_STRING_H
18 #ifndef BALL_CONCEPT_PROCESSOR_H
22 #define BALL_ELEMENT_NAME_DEFAULT "Unknown"
23 #define BALL_ELEMENT_SYMBOL_DEFAULT "?"
24 #define BALL_ELEMENT_GROUP_DEFAULT 0
25 #define BALL_ELEMENT_PERIOD_DEFAULT 0
26 #define BALL_ELEMENT_ATOMICNUMBER_DEFAULT 0
27 #define BALL_ELEMENT_ATOMICWEIGHT_DEFAULT 0
28 #define BALL_ELEMENT_ATOMICRADIUS_DEFAULT 0
29 #define BALL_ELEMENT_COVALENTRADIUS_DEFAULT 0
30 #define BALL_ELEMENT_VANDERWAALSRADIUS_DEFAULT 0
31 #define BALL_ELEMENT_ELECTRONEGATIVITY_DEFAULT 0
32 #define BALL_ELEMENT_IS_METAL_DEFAULT false
80 ANTIMONY, STIBIUM = ANTIMONY,
87 BISMUTH, WISMUT = BISMUTH,
95 CARBON, CARBONEUM = CARBON,
100 COPPER, CUPRUM = COPPER,
118 HYDROGEN, HYDROGENIUM = HYDROGEN,
120 IODINE, JOD = IODINE,
127 LEAD, PLUMBUM = LEAD,
141 NITROGEN, NITROGENIUM = NITROGEN,
144 OXYGEN, OXYGENIUM = OXYGEN,
178 TUNGSTEN, WOLFRAM = TUNGSTEN,
333 AtomicNumber atomic_umber,
336 float covalent_radius,
337 float van_der_waals_radius,
339 float electronegativity);
349 virtual void clear();
370 void setName(
const String& name);
382 void setSymbol(
const String& symbol);
387 const String& getSymbol()
const;
392 void setGroup(Group group);
397 Group getGroup()
const;
402 void setPeriod(Period period);
407 Period getPeriod()
const;
412 void setAtomicNumber(AtomicNumber atomic_number);
417 AtomicNumber getAtomicNumber()
const;
422 void setAtomicWeight(
float atomic_weight);
427 float getAtomicWeight()
const;
432 void setAtomicRadius(
float atomic_radius);
437 float getAtomicRadius()
const;
442 void setCovalentRadius(
float covalent_radius);
447 float getCovalentRadius()
const;
452 void setVanDerWaalsRadius(
float van_der_waals_radius);
457 float getVanDerWaalsRadius()
const;
462 void setElectronegativity(
float electronegativity);
467 float getElectronegativity()
const;
536 bool isUnknown()
const;
543 bool isMetal()
const;
618 float atomic_weight_;
622 float atomic_radius_;
626 float covalent_radius_;
630 float van_der_waals_radius_;
638 float electronegativity_;
675 virtual void clear();
786 static Element* atomic_number_to_element_[];
797 # ifndef BALL_NO_INLINE_FUNCTIONS
798 # include <BALL/KERNEL/PTE.iC>
803 #endif // BALL_KERNEL_PTE_H
#define BALL_CREATE(name)
BALL_EXPORT std::ostream & operator<<(std::ostream &os, const Exception::GeneralException &e)
BALL_EXPORT bool operator>(const String &s1, const String &s2)
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
BALL_EXPORT bool operator>=(const String &s1, const String &s2)
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL_EXPORT bool operator<=(const String &s1, const String &s2)
BALL_EXPORT bool operator<(const String &s1, const String &s2)