Beispiel #1
0
 def setup_options( self ):
     SimpleApp.setup_options( self )
     
     if self.options.phase_velocity:
         process_options = AcousticBandGapsApp.process_options_pv
     else:
         process_options = AcousticBandGapsApp.process_options
     self.app_options += process_options( self.conf.options )
Beispiel #2
0
    def setup_options( self ):
        SimpleApp.setup_options( self )
        opts = SchroedingerApp.process_options( self.conf.options )
        if self.options.dft:
            opts += SchroedingerApp.process_dft_options( self.conf.options )
        self.app_options += opts

        funmod = self.conf.funmod

        hook = self.app_options.iter_hook
        if hook is not None:
            hook = getattr( funmod, hook )
        self.iter_hook = hook
Beispiel #3
0
 def setup_options( self ):
     SimpleApp.setup_options( self )
     po = HomogenizationEngine.process_options
     self.app_options += po( self.conf.options )
    def setup_options(self):
        SimpleApp.setup_options(self)
        opts = SchroedingerApp.process_options(self.conf.options)

        self.app_options += opts