Class XcrysdenReader

  • All Implemented Interfaces:
    javajs.api.GenericLineReader

    public class XcrysdenReader
    extends AtomSetCollectionReader
    Version:
    1.1
    Author:
    Pieremanuele Canepa, Massachusetts Institute of Technology, Room 13-5001 Department of Materials Science and Engineering Massachusetts Institute of Technology 77 Massachusetts Avenue Cambridge, MA 02139 http://www.xcrysden.org http://www.xcrysden.org/doc/XSF.html
    • Field Detail

      • nAtoms

        private int nAtoms
      • animation

        private boolean animation
      • unitCellData

        private float[] unitCellData
      • animationStep

        private int animationStep
    • Constructor Detail

      • XcrysdenReader

        public XcrysdenReader()
    • Method Detail

      • checkLine

        protected boolean checkLine()
                             throws java.lang.Exception
        Overrides:
        checkLine in class AtomSetCollectionReader
        Returns:
        true if need to read new line
        Throws:
        java.lang.Exception
      • readUnitCell

        private void readUnitCell()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setUnitCell

        private void setUnitCell()
      • setSymmetry

        private void setSymmetry()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readCoordinates

        private boolean readCoordinates()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception