コード例 #1
0
ファイル: VALD.java プロジェクト: YuryPakhomov/jVALD2
  private void setElement(String code) {

    String[] elion = code.split(point);
    int n = Integer.valueOf(elion[0]).intValue();
    ChemicalElementType chel = new ChemicalElementType();
    chel.setElementSymbol(element[n]);
    chel.setNuclearCharge(Integer.valueOf(elion[0]));
    atom.setChemicalElement(chel);
    IsotopeParametersType isp = new IsotopeParametersType();
    // isp.setMassNumber(Integer.valueOf(elion[1]));
    // ist.setIsotopeParameters(isp);
    is.setIonCharge(Integer.valueOf(elion[1]));
  }