Esempio n. 1
0
File: UEIG.py Progetto: hornos/pyf3
 def read( self, opts = None ):
   self.rewind()
   self.clean()
   self.state( 1, self.comment )
   self.state( 2, self.read_nions )
   self.state( 3, self.comment )
   self.state( 4, self.read_efermi )
   self.state( 5, self.comment )
   self.state( 6, self.read_nelect )
   self.state( 7, self.read_eigs )
   File.run( self )
Esempio n. 2
0
File: UPOT.py Progetto: hornos/pyf3
 def read( self, opts = None ):
   self.rewind()
   self.clean()
   self.state( 1, self.comment )
   self.state( 2, self.read_types_header )
   self.state( 3, self.comment )
   self.state( 4, self.read_types )
   File.run( self, 4 )
   self.state( 4 + self.types, self.comment )
   self.state( 4 + self.types + 2, self.comment )
   self.state( 4 + self.types + 3, self.read_ions )
   File.run( self )
   self.geom.gen_species()
Esempio n. 3
0
File: diff.py Progetto: hornos/pyf3
 def read( self, opts = None ):
   self.rewind()
   self.clean()
   self.state( 1,  self.read_name )
   self.state( 2,  self.read_lat_c )
   self.state( 3,  self.read_lat_vec )
   File.run( self, 3 )
   self.state( 6,  self.read_types )
   self.state( 8,  self.comment )
   self.state( 9,  self.read_pt )
   self.state( 10, self.read_positions )
   File.run( self )
   self.geom.gen_species()