home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume24
/
chemtab
/
part02
/
element.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-03-12
|
797b
|
29 lines
/*
* chemtab - a periodic table data base (C) 1990 Jim King (pulsar@lsrhs)
*
* element.h Contains the structure for all the elements, *e.
*/
#include "tune.h"
#define NEW(X) (struct X *)malloc(sizeof(struct X))
struct elem {
char name[18], /* Atomic Name */
sym[4]; /* Atomic Symbol */
float amass, /* Atomic Mass */
eneg, /* Electronegativity */
spht, /* Specific Heat */
arad, /* Atomic Radius */
dens; /* Density of the Solid */
int anum, /* Atomic Number */
melt, /* Melting point, deg C */
boil, /* Boiling point, deg C */
fio, /* First Ionization Energy, cal */
year, /* Year Discovered */
val, /* Valence Electrons */
fam, /* Family (1-18, new system) */
row; /* Horizontal rows */
struct elem *next; /* linked list */
} *e;