summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-09-21 13:43:51 (UTC)
committer cniehaus <cniehaus>2002-09-21 13:43:51 (UTC)
commit65cf44292ac6abfb1a60be5f582cab26333cfb0a (patch) (side-by-side diff)
tree8fec45b6ca9302055dd497fc7857015cf571665d
parent99d546ce72f40e28b04f09201d92d58294401591 (diff)
downloadopie-65cf44292ac6abfb1a60be5f582cab26333cfb0a.zip
opie-65cf44292ac6abfb1a60be5f582cab26333cfb0a.tar.gz
opie-65cf44292ac6abfb1a60be5f582cab26333cfb0a.tar.bz2
* moving oxygendata and kmolweights
* fixing the datafile-problems (thanks to Max)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/dataTable.cpp44
-rw-r--r--noncore/apps/oxygen/kmolcalc.cpp25
-rw-r--r--noncore/apps/oxygen/kmolweights107
-rw-r--r--noncore/apps/oxygen/oxygendata1887
4 files changed, 36 insertions, 2027 deletions
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp
index f034c45..45c2ffd 100644
--- a/noncore/apps/oxygen/dataTable.cpp
+++ b/noncore/apps/oxygen/dataTable.cpp
@@ -1,141 +1,143 @@
/***************************************************************************
application: : Oxygen
begin : September 2002
copyright : ( C ) 2002 by Carsten Niehaus
email : cniehaus@handhelds.org
**************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* ( at your option ) any later version. *
* *
**************************************************************************/
#include <qpe/config.h>
#include "dataTable.h"
#include <qwidget.h>
#include <qhbox.h>
#include <qlabel.h>
#include <qfont.h>
#include <qlayout.h>
+#include <qpe/qpeapplication.h>
OxydataWidget::OxydataWidget(QWidget *parent) : QWidget(parent)
{
QGridLayout *qgrid = new QGridLayout( this, 2,1 );
-
+
QHBox *hbox = new QHBox( this );
left = new QLabel( hbox );
middle = new QLabel( hbox );
right = new QLabel( hbox );
-
+
right->setAlignment( AlignRight );
middle->setAlignment( AlignHCenter );
-
+
QFont bf;
bf.setBold( true );
bf.setPointSize( bf.pointSize()+2 );
middle->setFont( bf );
DataTable = new OxydataTable( 9,2, this );
DataTable->setColumnWidth ( 1 , 118 );
DataTable->setColumnWidth ( 0 , 118 );
setTable();
- qgrid->addWidget( hbox,0,0 );
- qgrid->addWidget( DataTable,1,0 );
+ qgrid->addWidget( hbox,0,0 );
+ qgrid->addWidget( DataTable,1,0 );
}
void OxydataWidget::setElement( int el )
{
- Config configobj( "oxygendata" );
+ Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File );
+
configobj.setGroup( QString::number( el+1 ));
-
+
left->setText( configobj.readEntry( "Symbol" ) );
middle->setText( configobj.readEntry( "Name" ) );
right->setText( QString::number( el+1 ) );
- DataTable->setText( 0,1,configobj.readEntry( "Weight" ) );
- DataTable->setText( 1,1,configobj.readEntry( "Block" ) );
- DataTable->setText( 2,1,configobj.readEntry( "Group" ) );
- DataTable->setText( 3,1,configobj.readEntry( "EN" ) );
- DataTable->setText( 4,1,configobj.readEntry( "AR" ) ) ;
- DataTable->setText( 5,1,configobj.readEntry( "IE" ) );
- DataTable->setText( 6,1,configobj.readEntry( "Density" ) );
- DataTable->setText( 7,1,configobj.readEntry( "BP" ) );
- DataTable->setText( 8,1,configobj.readEntry( "MP" ) );
-
+ DataTable->setText( 0,1,configobj.readEntry( "Weight" ) );
+ DataTable->setText( 1,1,configobj.readEntry( "Block" ) );
+ DataTable->setText( 2,1,configobj.readEntry( "Group" ) );
+ DataTable->setText( 3,1,configobj.readEntry( "EN" ) );
+ DataTable->setText( 4,1,configobj.readEntry( "AR" ) ) ;
+ DataTable->setText( 5,1,configobj.readEntry( "IE" ) );
+ DataTable->setText( 6,1,configobj.readEntry( "Density" ) );
+ DataTable->setText( 7,1,configobj.readEntry( "BP" ) );
+ DataTable->setText( 8,1,configobj.readEntry( "MP" ) );
+
}
void OxydataWidget::setTable() const
{
DataTable->setText( 0,0, tr( "Weight:" ) );
DataTable->setText( 1,0, tr( "Block" )) ;
DataTable->setText( 2,0, tr( "Group" )) ;
DataTable->setText( 3,0, tr( "Electronegativity" )) ;
DataTable->setText( 4,0, tr( "Atomic radius" )) ;
DataTable->setText( 5,0, tr( "Ionizationenergie" )) ;
DataTable->setText( 6,0, tr( "Density" )) ;
DataTable->setText( 7,0, tr( "Boilingpoint" ) );
DataTable->setText( 8,0, tr( "Meltingpoint" ) );
-
+
}
OxydataTable::OxydataTable(int numRows, int numCols, QWidget *parent,
const char *name) : QTable(numRows, numCols,parent, name)
{
for (int zeile = 0; zeile < numRows; zeile++)
for ( int spalte = 0; spalte < numCols; spalte++ )
{
OxydataQTI *testus = new OxydataQTI (this, OxydataQTI::Never, "hm" );
setItem(zeile, spalte, (QTableItem*)testus);
}
this->setShowGrid( false );
this->setHScrollBarMode(QScrollView::AlwaysOff);
this->horizontalHeader()->hide();
this->verticalHeader()->hide();
this->setTopMargin( 0 );
this->setLeftMargin( 0 );
}
void OxydataTable::paintCell( QPainter *p, int row, int col, const QRect &cr, bool selected)
{
if ( cr.width() == 0 || cr.height() == 0 )
return;
selected = FALSE;
QTableItem *itm = item( row, col );
QColorGroup colgrp = colorGroup();
- if ( itm )
+ if ( itm )
{
if ( row%2 )
colgrp.setColor( QColorGroup::Base, QColor( 180,200,210 ) );
else
colgrp.setColor( QColorGroup::Base, QColor( 230,235,235 ) );
p->save();
itm->paint( p, colgrp, cr, selected );
p->restore();
}
}
OxydataQTI::OxydataQTI(QTable * table, EditType et, const QString & text )
: QTableItem ( table, et, text )
{
}
int OxydataQTI::alignment() const
{
- if ( col()%2 )
+ if ( col()%2 )
{
- return AlignRight | AlignVCenter;
+ return AlignRight | AlignVCenter;
}else return AlignLeft | AlignVCenter;
};
diff --git a/noncore/apps/oxygen/kmolcalc.cpp b/noncore/apps/oxygen/kmolcalc.cpp
index 0ba52da..33666b1 100644
--- a/noncore/apps/oxygen/kmolcalc.cpp
+++ b/noncore/apps/oxygen/kmolcalc.cpp
@@ -1,199 +1,200 @@
-/*
+/*
* kmolcalc.cpp
*
* Copyright (C) 2000,2001 Tomislav Gountchev <tomi@idiom.com>
* Copyright (C) 2002 Carsten Niehaus <cniehaus@handhelds.org>
*/
/**
* KMOLCALC is the calculation engine. It knows about a hashtable of user defined atomic
* weights and group definitions ELSTABLE, and the currently processed formula, stored
- * as a list of elements and their coefficients, ELEMENTS.
+ * as a list of elements and their coefficients, ELEMENTS.
*/
#include "kmolcalc.h"
#include <qdict.h>
#include <qdir.h>
#include <qfile.h>
+#include <qpe/qpeapplication.h>
#include <iostream.h>
/**
* Construct a new calculator object.
*/
KMolCalc::KMolCalc() {
elements = new ElementList;
elstable = NULL;
readElstable();
}
KMolCalc::~KMolCalc() {
delete elements;
}
void KMolCalc::readElstable() {
weight = -1; // not calculated yet
if (elstable) delete elstable;
elstable = new QDict<SubUnit> (197, TRUE);
elstable->setAutoDelete(TRUE);
- mwfile = "/home/opie/opie/noncore/apps/oxygen/kmolweights";
+ mwfile = QPEApplication::qpeDir() +"share/oxygen/kmolweights";
QFile f(mwfile);
if (f.exists()) readMwfile(f);
}
-/**
- * Parse a string S and construct the ElementList this->ELEMENTS, representing the
- * composition of S. Returns 0 if successful, or an error code (currently -1) if
+/**
+ * Parse a string S and construct the ElementList this->ELEMENTS, representing the
+ * composition of S. Returns 0 if successful, or an error code (currently -1) if
* parsing failed.
* The elements is S must be valid element or group symbols, as stored in this->ELSTABLE.
* See help files for correct formula syntax.
*/
QString KMolCalc::readFormula(const QString& s) {
weight = -1;
if (elements) delete elements;
elements = new ElementList;
return KMolCalc::readGroup(s, elements);
}
// read a formula group recursively. Called by readFormula.
QString KMolCalc::readGroup(const QString& s, ElementList* els) {
if (s.isEmpty()) return QString ("Enter a formula."); //ERROR
int sl = s.length();
int i = 0;
QString errors ("OK");
bool ok = TRUE;
while (i < sl && ((s[i] <= '9' && s[i] >= '0') || s[i] == '.')) i++;
- double prefix = (i == 0 ? 1 : s.left(i).toDouble(&ok));
+ double prefix = (i == 0 ? 1 : s.left(i).toDouble(&ok));
if (! ok || i == sl || prefix == 0) return QString ("Bad formula."); // ERROR
ElementList* elstemp = new ElementList;
while (i < sl) {
int j = i;
if (s[i] == '(') {
ElementList* inner = new ElementList;
int level = 1; // count levels of nested ( ).
while (1) {
if (i++ == sl) {
delete inner;
delete elstemp;
return QString ("Bad formula."); //ERROR
}
if (s[i] == '(') level++;
if (s[i] == ')') level--;
if (level == 0) break;
}
errors = KMolCalc::readGroup(s.mid(j+1, i-j-1), inner);
j = ++i;
while (i < sl && ((s[i] <= '9' && s[i] >= '0') || s[i] == '.')) i++;
- double suffix = (i == j ? 1 : s.mid(j, i-j).toDouble(&ok));
+ double suffix = (i == j ? 1 : s.mid(j, i-j).toDouble(&ok));
if (! ok || suffix == 0) {
delete inner;
delete elstemp;
return QString ("Bad formula."); // ERROR
- }
+ }
inner->addTo(*elstemp, suffix);
delete inner;
inner = NULL;
} else if ((s[i] >= 'A' && s[i] <= 'Z') || (s[i] >= 'a' && s[i] <= 'z')) {
- while (++i < sl && ((s[i] >= 'a' && s[i] <= 'z') || s[i] == '*' ||
+ while (++i < sl && ((s[i] >= 'a' && s[i] <= 'z') || s[i] == '*' ||
s[i] == '\''));
QString elname = s.mid(j, i-j);
j = i;
while (i < sl && ((s[i] <= '9' && s[i] >= '0') || s[i] == '.')) i++;
- double suffix = (i == j ? 1 : s.mid(j, i-j).toDouble(&ok));
+ double suffix = (i == j ? 1 : s.mid(j, i-j).toDouble(&ok));
if (! ok || suffix == 0) {
delete elstemp;
return QString ("Bad formula."); // ERROR
}
SubUnit* group = elstable->find(elname);
if (group == 0) {
delete elstemp;
return QString ("Undefined symbol: ") + elname; //ERROR
}
group->addTo(*elstemp, suffix);
} else if (s[i] == '+') {
if (elstemp->isEmpty()) {
delete elstemp;
return QString ("Bad formula."); //ERROR
}
elstemp->addTo(*els, prefix);
delete elstemp;
errors = KMolCalc::readGroup(s.mid(i+1, sl-i-1), els);
return errors;
} else {
delete elstemp;
return QString ("Bad formula."); //ERROR
}
}
elstemp->addTo(*els, prefix);
delete elstemp;
return errors;
}
/**
* Calculate and return the molecular weight of the current chemical formula.
*/
double KMolCalc::getWeight() {
if (weight == -1) weight = elements->getWeight(elstable);
return weight;
}
/**
* Return the elemental composition of the current formula, as a string of tab-separated
* element - percentage pairs, separated by newlines.
*/
QString KMolCalc::getEA() {
if (weight == -1) weight = elements->getWeight(elstable);
if (weight == -1) return QString("ERROR: Couldn't get Mw..."); // ERROR
return elements->getEA(elstable, weight);
}
/**
* Return the empirical formula of the current compound as a QString.
*/
QString KMolCalc::getEmpFormula() {
return elements->getEmpFormula();
}
// Read the element definition file.
void KMolCalc::readMwfile(QFile& f) {
if (! f.open(IO_ReadOnly)) return; //ERROR
QTextStream fs (&f);
QString line;
while (! fs.eof()) {
line = fs.readLine();
SubUnit* s = SubUnit::makeSubUnit(line);
elstable->replace(s->getName(), s);
}
f.close();
}
/**
* Remove a group or element definition from ELSTABLE.
*/
void KMolCalc::undefineGroup (const QString& name) {
elstable->remove (name);
}
/**
- * Add a new element name - atomic weight record to the ELSTABLE hashtable. Assumes
+ * Add a new element name - atomic weight record to the ELSTABLE hashtable. Assumes
* NAME has valid syntax.
*/
void KMolCalc::defineElement (const QString& name, double weight) {
Element* el = new Element(name, weight);
elstable->replace(name, el);
}
/**
* Add a new group definition to the ELSTABLE. Returns 0 if OK, -1 if parsing FORMULA
* fails. Assumes the syntax of grpname is correct.
*/
QString KMolCalc::defineGroup (const QString& grpname, const QString& formula) {
ElementList* els = new ElementList(grpname);
QString error = readGroup(formula, els);
if (error != "OK") return error;
if (els->contains(grpname)) return QString("Can't define a group recursively!\n");
elstable->replace(grpname, els);
return QString("OK");
}
diff --git a/noncore/apps/oxygen/kmolweights b/noncore/apps/oxygen/kmolweights
deleted file mode 100644
index 82cbca0..0000000
--- a/noncore/apps/oxygen/kmolweights
+++ b/dev/null
@@ -1,107 +0,0 @@
-H 1.00794
-He 4.002602
-Li 6.941
-Be 9.012182
-B 10.811
-C 12.011
-N 14.00674
-O 15.9994
-F 18.9984032
-Ne 20.1797
-Na 22.989768
-Mg 24.3050
-Al 26.981539
-Si 28.0855
-P 30.973762
-S 32.066
-Cl 35.4527
-Ar 39.948
-K 39.0983
-Ca 40.078
-Sc 44.955910
-Ti 47.88
-V 50.9415
-Cr 51.9961
-Mn 54.93805
-Fe 55.847
-Co 58.93320
-Ni 58.6934
-Cu 63.546
-Zn 65.39
-Ga 69.723
-Ge 72.61
-As 74.92159
-Se 78.96
-Br 79.904
-Kr 83.80
-Rb 85.4678
-Sr 87.62
-Y 88.90585
-Zr 91.224
-Nb 92.90638
-Mo 95.94
-Tc 98.9063
-Ru 101.07
-Rh 102.90550
-Pd 106.42
-Ag 107.8682
-Cd 112.411
-In 114.82
-Sn 118.710
-Sb 121.757
-Te 127.60
-I 126.90447
-Xe 131.29
-Cs 132.90543
-Ba 137.327
-La 138.9055
-Ce 140.115
-Pr 140.90765
-Nd 144.24
-Pm 146.9151
-Sm 150.36
-Eu 151.965
-Gd 157.25
-Tb 158.92534
-Dy 162.50
-Ho 164.93032
-Er 167.26
-Tm 168.93421
-Yb 173.04
-Lu 174.967
-Hf 178.49
-Ta 180.9479
-W 183.85
-Re 186.207
-Os 190.2
-Ir 192.22
-Pt 195.08
-Au 196.96654
-Hg 200.59
-Tl 204.3833
-Pb 207.2
-Bi 208.98037
-Po 208.9824
-At 209.9871
-Rn 222.0176
-Fr 223.0197
-Ra 226.0254
-Ac 227.0278
-Th 232.0381
-Pa 231.03588
-U 238.0289
-Np 237.0482
-Pu 244.0642
-Am 243.0614
-Cm 247.0703
-Bk 247.0703
-Cf 251.0796
-Es 252.0829
-Fm 257.0951
-Md 258.0986
-No 259.1009
-Lr 260.1053
-Unq 261.1087
-Unp 262.1138
-Unh 263.1182
-Uns 262.1229
diff --git a/noncore/apps/oxygen/oxygendata b/noncore/apps/oxygen/oxygendata
deleted file mode 100644
index 9fd4430..0000000
--- a/noncore/apps/oxygen/oxygendata
+++ b/dev/null
@@ -1,1887 +0,0 @@
-[1]
-Name=Hydrogen
-Symbol=H
-Weight=1.00794
-Block=s
-acidbeh=1
-az=2
-date=1766
-Group=1
-EN=2.10
-MP=13.81
-BP=20.28
-Density=0.084
-IE=13.598
-AR=37.3
-
-[2]
-Name=Helium
-Symbol=He
-Weight=4.002602
-Block=p
-acidbeh=1
-az=2
-date=1895
-Group=8
-EN=
-MP=0.95
-BP=4.216
-Density=0.17
-IE=24.587
-AR=128
-
-[3]
-Name=Lithium
-Symbol=Li
-Weight=6.941
-Block=s
-acidbeh=0
-az=0
-date=1817
-Group=1
-EN=0.98
-MP=453.7
-BP=1615
-Density=0.53
-IE=5.392
-AR=152
-
-[4]
-Name=Beryllium
-Symbol=Be
-Weight=9.012182
-Block=s
-acidbeh=2
-az=0
-date=1798
-Group=2
-EN=1.57
-MP=1560
-BP=3243
-Density=1.85
-IE=9.322
-AR=113.3
-
-[5]
-Name=Boron
-Symbol=B
-Weight=10.811
-Block=p
-acidbeh=3
-az=0
-date=1808
-Group=3
-EN=2.04
-MP=2365
-BP=4275
-Density=2.46
-IE=8.298
-AR=83
-
-[6]
-Name=Carbon
-Symbol=C
-Weight=12.0107
-Block=p
-acidbeh=3
-az=0
-date=0
-Group=4
-EN=2.55
-MP=3825
-BP=5100
-Density=3.51
-IE=11.260
-AR=77.2
-
-[7]
-Name=Nitrogen
-Symbol=N
-Weight=14.0067
-Block=p
-acidbeh=3
-az=2
-date=1772
-Group=5
-EN=3.04
-MP=63.15
-BP=77.344
-Density=1.17
-IE=14.534
-AR=71
-
-[8]
-Name=Oxygen
-Symbol=O
-Weight=15.9994
-Block=p
-acidbeh=3
-az=2
-date=1774
-Group=6
-EN=3.44
-MP=54.8
-BP=90.188
-Density=1.33
-IE=13.618
-AR=60.4
-
-[9]
-Name=Fluorine
-Symbol=F
-Weight=18.9984032
-Block=p
-acidbeh=3
-az=2
-date=1886
-Group=7
-EN=3.98
-MP=53.55
-BP=85.0
-Density=1.58
-IE=17.422
-AR=70.9
-
-[10]
-Name=Neon
-Symbol=Ne
-Weight=20.1797
-Block=p
-acidbeh=1
-az=2
-date=1898
-Group=8
-EN=
-MP=24.55
-BP=27.10
-Density=0.84
-IE=21.564
-AR=150
-
-[11]
-Name=Sodium
-Symbol=Na
-Weight=22.989770
-Block=s
-acidbeh=0
-az=0
-date=1807
-Group=1
-EN=0.93
-MP=371.0
-BP=1156
-Density=0.97
-IE=5.139
-AR=153.7
-
-[12]
-Name=Magnesium
-Symbol=Mg
-Weight=24.3050
-Block=s
-acidbeh=0
-az=0
-date=1808
-Group=2
-EN=1.31
-MP=922
-BP=1380
-Density=1.74
-IE=7.646
-AR=160
-
-[13]
-Name=Aluminum
-Symbol=Al
-Weight=26.981538
-Block=p
-acidbeh=2
-az=0
-date=1825
-Group=3
-EN=1.61
-MP=933.5
-BP=2740
-Density=2.70
-IE=5.986
-AR=143.1
-
-[14]
-Name=Silicon
-Symbol=Si
-Weight=28.0855
-Block=p
-acidbeh=3
-az=0
-date=1823
-Group=4
-EN=1.91
-MP=1683
-BP=2630
-Density=2.33
-IE=8.151
-AR=117
-
-[15]
-Name=Phosphorus
-Symbol=P
-Weight=30.973761
-Block=p
-acidbeh=3
-az=0
-date=1669
-Group=5
-EN=2.19
-MP=317.3
-BP=553
-Density=1.82
-IE=10.486
-AR=93
-
-[16]
-Name=Sulfur
-Symbol=S
-Weight=32.065
-Block=p
-acidbeh=3
-az=0
-date=0
-Group=6
-EN=2.58
-MP=392.2
-BP=717.82
-Density=2.06
-IE=10.360
-AR=104
-
-[17]
-Name=Chlorine
-Symbol=Cl
-Weight=35.453
-Block=p
-acidbeh=3
-az=2
-date=1774
-Group=7
-EN=3.16
-MP=172.17
-BP=239.18
-Density=2.95
-IE=12.967
-AR=99.4
-
-[18]
-Name=Argon
-Symbol=Ar
-Weight=39.948
-Block=p
-acidbeh=1
-az=2
-date=1894
-Group=8
-EN=
-MP=83.95
-BP=87.45
-Density=1.66
-IE=15.759
-AR=174
-
-[19]
-Name=Potassium
-Symbol=K
-Weight=39.0983
-Block=s
-acidbeh=0
-az=0
-date=1807
-Group=1
-EN=0.82
-MP=336.8
-BP=1033
-Density=0.86
-IE=4.341
-AR=227
-
-[20]
-Name=Calcium
-Symbol=Ca
-Weight=40.078
-Block=s
-acidbeh=0
-az=0
-date=1808
-Group=2
-EN=1.00
-MP=1112
-BP=1757
-Density=1.54
-IE=6.113
-AR=197.3
-
-[21]
-Name=Scandium
-Symbol=Sc
-Weight=44.955910
-Block=d
-acidbeh=0
-az=0
-date=1879
-Group=3
-EN=1.36
-MP=1814
-BP=3109
-Density=2.99
-IE=6.54
-AR=160.6
-
-[22]
-Name=Titanium
-Symbol=Ti
-Weight=47.867
-Block=d
-acidbeh=2
-az=0
-date=1791
-Group=4
-EN=1.54
-MP=1935
-BP=3560
-Density=4.51
-IE=6.82
-AR=144.8
-
-[23]
-Name=Vanadium
-Symbol=V
-Weight=50.9415
-Block=d
-acidbeh=2
-az=0
-date=1830
-Group=5
-EN=1.63
-MP=2163
-BP=3650
-Density=6.09
-IE=6.74
-AR=132.1
-
-[24]
-Name=Chromium
-Symbol=Cr
-Weight=51.9961
-Block=d
-acidbeh=2
-az=0
-date=1797
-Group=6
-EN=1.66
-MP=2130
-BP=2945
-Density=7.14
-IE=6.766
-AR=124.9
-
-[25]
-Name=Manganese
-Symbol=Mn
-Weight=54.938049
-Block=d
-acidbeh=2
-az=0
-date=1774
-Group=7
-EN=1.55
-MP=1518
-BP=2235
-Density=7.44
-IE=7.435
-AR=124
-
-[26]
-Name=Iron
-Symbol=Fe
-Weight=55.845
-Block=d
-acidbeh=2
-az=0
-date=0
-Group=8
-EN=1.83
-MP=1518
-BP=3023
-Density=7.87
-IE=7.870
-AR=124.1
-
-[27]
-Name=Cobalt
-Symbol=Co
-Weight=58.933200
-Block=d
-acidbeh=2
-az=0
-date=1737
-Group=8
-EN=1.88
-MP=1768
-BP=3143
-Density=8.89
-IE=7.86
-AR=125.3
-
-[28]
-Name=Nickel
-Symbol=Ni
-Weight=58.6934
-Block=d
-acidbeh=0
-az=0
-date=1751
-Group=8
-EN=1.91
-MP=1726
-BP=3005
-Density=8.91
-IE=7.635
-AR=124.6
-
-[29]
-Name=Copper
-Symbol=Cu
-Weight=63.546
-Block=d
-acidbeh=0
-az=0
-date=0
-Group=1
-EN=1.90
-MP=1356.6
-BP=2840
-Density=8.92
-IE=7.726
-AR=127.8
-
-[30]
-Name=Zinc
-Symbol=Zn
-Weight=65.39
-Block=d
-acidbeh=2
-az=0
-date=1746
-Group=2
-EN=1.65
-MP=692.73
-BP=1180
-Density=7.14
-IE=9.394
-AR=133.2
-
-[31]
-Name=Gallium
-Symbol=Ga
-Weight=69.723
-Block=p
-acidbeh=2
-az=0
-date=1875
-Group=3
-EN=1.81
-MP=302.92
-BP=2478
-Density=5.91
-IE=5.999
-AR=122.1
-
-[32]
-Name=Germanium
-Symbol=Ge
-Weight=72.64
-Block=p
-acidbeh=2
-az=0
-date=1886
-Group=4
-EN=2.01
-MP=1211.5
-BP=3107
-Density=5.32
-IE=7.899
-AR=122.5
-
-[33]
-Name=Arsenic
-Symbol=As
-Weight=74.92160
-Block=p
-acidbeh=2
-az=0
-date=0
-Group=5
-EN=2.18
-MP=1090
-BP=876
-Density=5.72
-IE=9.81
-AR=125
-
-[34]
-Name=Selenium
-Symbol=Se
-Weight=78.96
-Block=p
-acidbeh=3
-az=0
-date=1817
-Group=6
-EN=2.55
-MP=494
-BP=958
-Density=4.82
-IE=9.752
-AR=116
-
-[35]
-Name=Bromine
-Symbol=Br
-Weight=79.904
-Block=p
-acidbeh=3
-az=1
-date=1826
-Group=7
-EN=2.96
-MP=265.95
-BP=331.85
-Density=3.14
-IE=11.814
-AR=114.5
-
-[36]
-Name=Krypton
-Symbol=Kr
-Weight=83.80
-Block=p
-acidbeh=1
-az=2
-date=1898
-Group=8
-EN=
-MP=116
-BP=120.85
-Density=4.48
-IE=13.999
-AR=190
-
-[37]
-Name=Rubidium
-Symbol=Rb
-Weight=85.4678
-Block=s
-acidbeh=0
-Aaz=0
-date=1861
-Group=1
-EN=0.82
-MP=312.63
-BP=961
-Density=1.53
-IE=4.177
-AR=247.5
-
-[38]
-Name=Strontium
-Symbol=Sr
-Weight=87.62
-Block=s
-acidbeh=0
-az=0
-date=1790
-Group=2
-EN=0.95
-MP=1042
-BP=1655
-Density=2.63
-IE=5.695
-AR=215.1
-
-[39]
-Name=Yttrium
-Symbol=Y
-Weight=88.90585
-Block=d
-acidbeh=0
-az=0
-date=1794
-Group=3
-EN=1.22
-MP=1795
-BP=3611
-Density=4.47
-IE=6.38
-AR=181
-
-[40]
-Name=Zirconium
-Symbol=Zr
-Weight=91.224
-Block=d
-acidbeh=2
-az=0
-date=1789
-Group=4
-EN=1.33
-MP=2128
-BP=4682
-Density=6.51
-IE=6.84
-AR=160
-
-[41]
-Name=Niobium
-Symbol=Nb
-Weight=92.90638
-Block=d
-acidbeh=2
-az=0
-date=1801
-Group=5
-EN=1.6
-MP=2742
-BP=5015
-Density=8.58
-IE=6.88
-AR=142.9
-
-[42]
-Name=Molybdenum
-Symbol=Mo
-Weight=95.94
-Block=d
-acidbeh=2
-az=0
-date=1778
-Group=6
-EN=2.16
-MP=2896
-BP=4912
-Density=10.28
-IE=7.099
-AR=136.2
-
-[43]
-Name=Technetium
-Symbol=Tc
-Weight=98.9063
-Block=d
-acidbeh=2
-az=0
-date=1937
-Group=7
-EN=1.9
-MP=2477
-BP=4538
-Density=11.49
-IE=7.28
-AR=135.8
-
-[44]
-Name=Ruthenium
-Symbol=Ru
-Weight=101.07
-Block=d
-acidbeh=2
-az=0
-date=1844
-Group=8
-EN=2.2
-MP=2610
-BP=4425
-Density=12.45
-IE=7.37
-AR=134
-
-[45]
-Name=Rhodium
-Symbol=Rh
-Weight=102.90550
-Block=d
-acidbeh=0
-az=0
-date=1803
-Group=8
-EN=2.28
-MP=2236
-BP=3970
-Density=12.41
-IE=7.46
-AR=134.5
-
-[46]
-Name=Palladium
-Symbol=Pd
-Weight=106.42
-Block=d
-acidbeh=0
-az=0
-date=1803
-Group=8
-EN=2.20
-MP=1825
-BP=3240
-Density=12.02
-IE=8.34
-AR=137.6
-
-[47]
-Name=Silver
-Symbol=Ag
-Weight=107.8682
-Block=d
-acidbeh=0
-az=0
-date=0
-Group=1
-EN=1.93
-MP=1235.1
-BP=2436
-Density=10.49
-IE=7.576
-AR=144.4
-
-[48]
-Name=Cadmium
-Symbol=Cd
-Weight=112.411
-Block=d
-acidbeh=0
-az=0
-date=1817
-Group=2
-EN=1.69
-MP=594.26
-BP=1040
-Density=8.64
-IE=8.993
-AR=148.9
-
-[49]
-Name=Indium
-Symbol=In
-Weight=114.818
-Block=p
-acidbeh=2
-az=0
-date=1863
-Group=3
-EN=1.78
-MP=429.78
-BP=2350
-Density=7.31
-IE=5.786
-AR=162.6
-
-[50]
-Name=Tin
-Symbol=Sn
-Weight=118.710
-Block=p
-acidbeh=2
-az=0
-date=0
-Group=4
-EN=1.96
-MP=505.12
-BP=2876
-Density=7.29
-IE=7.344
-AR=140.5
-
-[51]
-Name=Antimony
-Symbol=Sb
-Weight=121.760
-Block=p
-acidbeh=2
-az=0
-date=0
-Group=5
-EN=2.05
-MP=903.91
-BP=1860
-Density=6.69
-IE=8.641
-AR=145
-
-[52]
-Name=Tellurium
-Symbol=Te
-Weight=127.60
-Block=p
-acidbeh=2
-az=0
-date=1782
-Group=6
-EN=2.1
-MP=722.72
-BP=1261
-Density=6.25
-IE=9.009
-AR=143.2
-
-[53]
-Name=Iodine
-Symbol=I
-Weight=126.90447
-Block=p
-acidbeh=3
-az=0
-date=1804
-Group=7
-EN=2.66
-MP=386.7
-BP=457.5
-Density=4.94
-IE=10.451
-AR=133.1
-
-[54]
-Name=Xenon
-Symbol=Xe
-Weight=131.293
-Block=p
-acidbeh=1
-az=2
-date=1898
-Group=8
-EN=2.6
-MP=161.39
-BP=165.1
-Density=4.49
-IE=12.130
-AR=218
-
-[55]
-Name=Cesium
-Symbol=Cs
-Weight=132.90545
-Block=s
-acidbeh=0
-az=0
-date=1860
-Group=1
-EN=0.79
-MP=301.54
-BP=944
-Density=1.90
-IE=3.894
-AR=265.5
-
-[56]
-Name=Barium
-Symbol=Ba
-Weight=137.237
-Block=s
-acidbeh=0
-az=0
-date=1808
-Group=2
-EN=0.89
-MP=1002
-BP=2078
-Density=3.65
-IE=5.212
-AR=217.3
-
-[57]
-Name=Lanthanum
-Symbol=La
-Weight=138.9055
-Block=f
-acidbeh=0
-az=0
-date=1839
-Group=3
-EN=1.10
-MP=1191
-BP=3737
-Density=6.16
-IE=5.577
-AR=187.7
-
-[58]
-Name=Cerium
-Symbol=Ce
-Weight=140.116
-Block=f
-acidbeh=0
-az=0
-date=1803
-Group=4
-EN=1.12
-MP=1071
-BP=3715
-Density=6.77
-IE=5.47
-AR=182.5
-
-[59]
-Name=Praseodymium
-Symbol=Pr
-Weight=140.90765
-Block=f
-acidbeh=0
-az=0
-date=1885
-Group=5
-EN=1.13
-MP=1204
-BP=3785
-Density=6.48
-IE=5.42
-AR=182.8
-
-[60]
-Name=Neodymium
-Symbol=Nd
-Weight=144.24
-Block=f
-acidbeh=0
-az=0
-date=1925
-Group=6
-EN=1.14
-MP=1294
-BP=3347
-Density=7.00
-IE=5.49
-AR=182.1
-
-[61]
-Name=Promethium
-Symbol=Pm
-Weight=146.9151
-Block=f
-acidbeh=0
-az=3
-date=1945
-Group=7
-EN=1.13
-MP=1315
-BP=3273
-Density=7.22
-IE=5.55
-AR=181.0
-
-[62]
-Name=Samarium
-Symbol=Sm
-Weight=150.36
-Block=f
-acidbeh=0
-az=0
-date=1879
-Group=8
-EN=1.17
-MP=1347
-BP=2067
-Density=7.54
-IE=5.63
-AR=180.2
-
-[63]
-Name=Europium
-Symbol=Eu
-Weight=151.964
-Block=f
-acidbeh=0
-az=0
-date=1901
-Group=8
-EN=1.2
-MP=1095
-BP=1800
-Density=5.25
-IE=5.67
-AR=204.2
-
-[64]
-Name=Gadolinium
-Symbol=Gd
-Weight=157.25
-Block=f
-acidbeh=0
-az=0
-date=1880
-Group=8
-EN=1.20
-MP=1585
-BP=3545
-Density=7.89
-IE=6.14
-AR=180.2
-
-[65]
-Name=Terbium
-Symbol=Tb
-Weight=158.92534
-Block=f
-acidbeh=0
-az=0
-date=1843
-Group=1
-EN=1.1
-MP=1629
-BP=3500
-Density=8.25
-IE=5.85
-AR=178.2
-
-[66]
-Name=Dysprosium
-Symbol=Dy
-Weight=162.50
-Block=f
-acidbeh=0
-az=0
-date=1886
-Group=2
-EN=1.22
-MP=1685
-BP=2840
-Density=8.56
-IE=5.93
-AR=177.3
-
-[67]
-Name=Holmium
-Symbol=Ho
-Weight=164.93032
-Block=f
-acidbeh=0
-az=0
-date=1878
-Group=3
-EN=1.23
-MP=1747
-BP=2968
-Density=8.78
-IE=6.02
-AR=176.6
-
-[68]
-Name=Erbium
-Symbol=Er
-Weight=167.259
-Block=f
-acidbeh=0
-az=0
-date=1843
-Group=4
-EN=1.24
-MP=1802
-BP=3140
-Density=9.05
-IE=6.10
-AR=175.7
-
-[69]
-Name=Thulium
-Symbol=Tm
-Weight=168.93421
-Block=f
-acidbeh=0
-az=0
-date=1879
-Group=5
-EN=1.25
-MP=1818
-BP=2223
-Density=9.32
-IE=6.18
-AR=174.6
-
-[70]
-Name=Ytterbium
-Symbol=Yb
-Weight=173.04
-Block=f
-acidbeh=0
-az=0
-date=1878
-Group=6
-EN=1.1
-MP=1092
-BP=1469
-Density=9.32
-IE=6.254
-AR=194
-
-[71]
-Name=Lutetium
-Symbol=Lu
-Weight=174.967
-Block=f
-acidbeh=0
-az=0
-date=1907
-Group=7
-EN=1.27
-MP=1936
-BP=3668
-Density=9.84
-IE=5.426
-AR=173.4
-
-[72]
-Name=Hafnium
-Symbol=Hf
-Weight=178.49
-Block=d
-acidbeh=2
-az=0
-date=1923
-Group=4
-EN=1.3
-MP=2504
-BP=4875
-Density=13.31
-IE=7.0
-AR=156.4
-
-[73]
-Name=Tantalum
-Symbol=Ta
-Weight=180.9479
-Block=d
-acidbeh=2
-az=0
-date=1802
-Group=5
-EN=1.5
-MP=3293
-BP=5730
-Density=16.68
-IE=7.89
-AR=143
-
-[74]
-Name=Tungsten
-Symbol=W
-Weight=183.84
-Block=d
-acidbeh=2
-az=0
-date=1783
-Group=6
-EN=2.36
-MP=3695
-BP=5825
-Density=19.26
-IE=7.98
-AR=137.0
-
-[75]
-Name=Rhenium
-Symbol=Re
-Weight=186.207
-Block=d
-acidbeh=2
-az=0
-date=1925
-Group=7
-EN=1.9
-MP=3455
-BP=5870
-Density=21.03
-IE=7.88
-AR=137.0
-
-[76]
-Name=Osmium
-Symbol=Os
-Weight=190.23
-Block=d
-acidbeh=2
-az=0
-date=1804
-Group=8
-EN=2.2
-MP=3300
-BP=5300
-Density=22.61
-IE=8.7
-AR=135
-
-[77]
-Name=Iridium
-Symbol=Ir
-Weight=192.217
-Block=d
-acidbeh=0
-az=0
-date=1804
-Group=8
-EN=2.20
-MP=2720
-BP=4700
-Density=22.65
-IE=9.1
-AR=135.7
-
-[78]
-Name=Platinum
-Symbol=Pt
-Weight=195.078
-Block=d
-acidbeh=0
-az=0
-date=1735
-Group=8
-EN=2.28
-MP=2042.1
-BP=4100
-Density=21.45
-IE=9.0
-AR=138
-
-[79]
-Name=Gold
-Symbol=Au
-Weight=196.96654
-Block=d
-acidbeh=0
-az=0
-date=0
-Group=1
-EN=2.54
-MP=1337.58
-BP=3130
-Density=19.32
-IE=9.225
-AR=144.2
-
-[80]
-Name=Mercury
-Symbol=Hg
-Weight=200.59
-Block=d
-acidbeh=0
-az=1
-date=0
-Group=2
-EN=2.00
-MP=234.31
-BP=629.88
-Density=13.55
-IE=10.437
-AR=160
-
-[81]
-Name=Thallium
-Symbol=Tl
-Weight=204.3833
-Block=p
-acidbeh=2
-az=0
-date=1861
-Group=3
-EN=2.04
-MP=577
-BP=1746
-Density=11.85
-IE=6.108
-AR=170.4
-
-[82]
-Name=Lead
-Symbol=Pb
-Weight=207.2
-Block=p
-acidbeh=2
-az=0
-date=0
-Group=4
-EN=2.33
-MP=600.65
-BP=2023
-Density=11.34
-IE=7.416
-AR=175
-
-[83]
-Name=Bismuth
-Symbol=Bi
-Weight=208.98038
-Block=p
-acidbeh=0
-az=0
-date=0
-Group=5
-EN=2.02
-MP=544.59
-BP=1837
-Density=9.80
-IE=7.289
-AR=155
-
-[84]
-Name=Polonium
-Symbol=Po
-Weight=208.9824
-Block=p
-acidbeh=2
-az=3
-date=1898
-Group=6
-EN=2.0
-MP=527
-BP=
-Density=9.20
-IE=8.42
-AR=167.5
-
-[85]
-Name=Astatine
-Symbol=At
-Weight=209.9871
-Block=p
-acidbeh=3
-az=3
-date=1940
-Group=7
-EN=2.2
-MP=575
-BP=610
-Density=
-IE=9.5
-AR=
-
-[86]
-Name=Radon
-Symbol=Rd
-Weight=222.0176
-Block=p
-acidbeh=1
-az=3
-date=1898
-Group=8
-EN=
-MP=202
-BP=211.4
-Density=9.23
-IE=10.748
-AR=
-
-[87]
-Name=Francium
-Symbol=Fr
-Weight=223.0197
-Block=s
-acidbeh=0
-az=3
-date=1939
-Group=1
-EN=0.7
-MP=300
-BP=950
-Density=
-IE=4.0
-AR=270
-
-[88]
-Name=Radium
-Symbol=Ra
-Weight=226.0254
-Block=s
-acidbeh=0
-az=3
-date=1898
-Group=2
-EN=0.89
-MP=973
-BP=1413
-Density=5.50
-IE=5.279
-AR=223
-
-[89]
-Name=Actinium
-Symbol=Ac
-Weight=227.0278
-Block=f
-acidbeh=0
-az=3
-date=1899
-Group=3
-EN=1.1
-MP=1324
-BP=3470
-Density=10.07
-IE=6.9
-AR=187.8
-
-[90]
-Name=Thorium
-Symbol=Th
-Weight=232.0381
-Block=f
-acidbeh=0
-az=3
-date=1828
-Group=4
-EN=1.3
-MP=2028
-BP=5060
-Density=11.72
-IE=6.95
-AR=179.8
-
-[91]
-Name=Protactinium
-Symbol=Pa
-Weight=231.03588
-Block=f
-acidbeh=0
-az=3
-date=1917
-Group=5
-EN=1.5
-MP=1845
-BP=4300
-Density=15.37
-IE=NA
-AR=180.6
-
-[92]
-Name=Uranium
-Symbol=U
-Weight=238.02891
-Block=f
-acidbeh=0
-az=3
-date=1789
-Group=6
-EN=1.38
-MP=1408
-BP=4407
-Density=18.97
-IE=6.08
-AR=138.5
-
-[93]
-Name=Neptunium
-Symbol=Np
-Weight=237.0482
-Block=f
-acidbeh=0
-az=3
-date=1940
-Group=7
-EN=1.36
-MP=912
-BP=4175
-Density=20.48
-IE=
-AR=131
-
-[94]
-Name=Plutonium
-Symbol=Pu
-Weight=244.0642
-Block=f
-acidbeh=0
-az=3
-date=1940
-Group=8
-EN=1.28
-MP=913
-BP=3505
-Density=19.74
-IE=5.8
-AR=151
-
-[95]
-Name=Americium
-Symbol=Am
-Weight=243.0614
-Block=f
-acidbeh=0
-az=4
-date=1945
-Group=8
-EN=1.3
-MP=1449
-BP=2880
-Density=13.67
-IE=6.0
-AR=184
-
-[96]
-Name=Curium
-Symbol=Cm
-Weight=247.0703
-Block=f
-acidbeh=0
-az=4
-date=1944
-Group=8
-EN=1.3
-MP=1620
-BP=
-Density=13.51
-IE=
-AR=
-
-[97]
-Name=Berkelium
-Symbol=Bk
-Weight=247.0703
-Block=f
-acidbeh=0
-az=4
-date=1949
-Group=1
-EN=1.3
-MP=
-BP=
-Density=13.25
-IE=
-AR=
-
-[98]
-Name=Californium
-Symbol=Cf
-Weight=251.0796
-Block=f
-acidbeh=0
-az=4
-date=1950
-Group=2
-EN=1.3
-MP=1170
-BP=
-Density=15.1
-IE=
-AR=
-
-[99]
-Name=Einsteinium
-Symbol=Es
-Weight=252.0829
-Block=f
-acidbeh=0
-az=4
-date=1952
-Group=3
-EN=1.3
-MP=1130
-BP=
-Density=
-IE=
-AR=
-
-[100]
-Name=Fermium
-Symbol=Fm
-Weight=257.0951
-Block=f
-acidbeh=0
-az=4
-date=1953
-Group=4
-EN=1.3
-MP=1800
-BP=
-Density=
-IE=
-AR=
-
-[101]
-Name=Mendelevium
-Symbol=Md
-Weight=258.0986
-Block=f
-acidbeh=0
-az=4
-date=1955
-Group=5
-EN=1.3
-MP=1100
-BP=
-Density=
-IE=
-AR=
-
-[102]
-Name=Nobelium
-Symbol=No
-Weight=259.1009
-Block=f
-acidbeh=0
-az=4
-date=1957
-Group=6
-EN=1.3
-MP=1100
-BP=
-Density=
-IE=
-AR=
-
-[103]
-Name=Lawrencium
-Symbol=Lr
-Weight=262.110
-Block=f
-acidbeh=0
-az=4
-date=1961
-Group=7
-EN=1.3
-MP=1900
-BP=
-Density=
-IE=
-AR=
-
-[104]
-Name=Rutherfordium
-Symbol=Rf
-Weight=261.1089
-Block=d
-acidbeh=2
-az=4
-date=1969
-Group=4
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[105]
-Name=Dubnium
-Symbol=Db
-Weight=262.1144
-Block=d
-acidbeh=2
-az=4
-date=1970
-Group=5
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[106]
-Name=Seaborgium
-Symbol=Sg
-Weight=263.1186
-Block=d
-acidbeh=2
-az=4
-date=1974
-Group=6
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[107]
-Name=Bohrium
-Symbol=Bh
-Weight=262.1231
-Block=d
-acidbeh=2
-az=4
-date=1976
-Group=7
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[108]
-Name=Hassium
-Symbol=Hs
-Weight=265.1306
-Block=d
-acidbeh=2
-az=4
-date=1984
-Group=8
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[109]
-Name=Meitnerium
-Symbol=Mt
-Weight=266.1378
-Block=d
-acidbeh=0
-az=4
-date=1982
-Group=8
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[110]
-Name=Ununnilium
-Symbol=Uun
-Weight=0
-Block=d
-acidbeh=0
-az=4
-date=1987
-Group=8
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[111]
-Name=Unununium
-Symbol=Uuu
-Weight=0
-Block=d
-acidbeh=0
-az=4
-date=1994
-Group=1
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[112]
-Name=Ununbium
-Symbol=Uub
-Weight=0
-Block=d
-acidbeh=0
-az=4
-date=1996
-Group=2
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[113]
-Name=Unnamed
-Symbol=Uut
-Weight=0
-Block=p
-acidbeh=0
-az=4
-date=3333
-Group=3
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[114]
-Name=Ununquadium
-Symbol=Uuq
-Weight=0
-Block=p
-acidbeh=0
-az=4
-date=1996
-Group=4
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[115]
-Name=Unnamed
-Symbol=Uup
-Weight=0
-Block=p
-acidbeh=0
-az=4
-date=3333
-Group=5
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[116]
-Name=Ununhexium
-Symbol=Uuh
-Weight=0
-Block=p
-acidbeh=0
-az=4
-date=1996
-Group=6
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[117]
-Name=Unnamed
-Symbol=Uus
-Weight=0
-Block=p
-acidbeh=0
-az=4
-date=3333
-Group=7
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=
-
-[118]
-Name=Ununoctium
-Symbol=Uuo
-Weight=0
-Block=p
-acidbeh=0
-az=4
-date=1996
-Group=8
-EN=
-MP=
-BP=
-Density=
-IE=
-AR=