Class PeriodicTable
- java.lang.Object
-
- com.actelion.research.chem.forcefield.mmff.PeriodicTable
-
public final class PeriodicTable extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
row(int ano)
Returns which row in the periodic table an atom with given atomic number is in.static int
rowtm(int ano)
Returns which row in the periodic table an atom is in with transition metals having their row number multiplied by 10.
-
-
-
Method Detail
-
row
public static int row(int ano)
Returns which row in the periodic table an atom with given atomic number is in.- Parameters:
ano
- Atomic number of the given atom.- Returns:
- The periodic table row of the given atom.
-
rowtm
public static int rowtm(int ano)
Returns which row in the periodic table an atom is in with transition metals having their row number multiplied by 10. Hydrogen is counted in row 0 while helium is counted in row 2.- Parameters:
ano
- The atoms atomic number.- Returns:
- The periodic table row.
-
-