Example #1
0
 def __init__(self, problem, options, app_options=None,
              volumes=None, output_prefix='he:', **kwargs):
     """Bypasses PDESolverApp.__init__()!"""
     Application.__init__(self, problem.conf, options, output_prefix,
                          **kwargs)
     self.problem = problem
     self.setup_options(app_options=app_options)
     self.setup_output_info(self.problem, self.options)
     self.volumes = volumes
     self.micro_coors = None
Example #2
0
 def __init__(self, problem, options, app_options=None,
              volumes=None, output_prefix='he:', **kwargs):
     """Bypasses PDESolverApp.__init__()!"""
     Application.__init__(self, problem.conf, options, output_prefix,
                          **kwargs)
     self.problem = problem
     self.setup_options(app_options=app_options)
     self.setup_output_info(self.problem, self.options)
     self.volumes = volumes
     self.micro_coors = None
Example #3
0
    def __init__( self, problem, options,
                  volume = None, output_prefix = 'he:', **kwargs ):
        """Bypasses SimpleApp.__init__()!"""
        Application.__init__( self, problem.conf, options, output_prefix,
                              **kwargs )
        self.problem = problem
        self.setup_options()
        self.setup_output_info( self.problem, self.options )

        if volume is None:
            self.volume = self.problem.evaluate(self.app_options.total_volume)

        else:
            self.volume = volume
Example #4
0
    def __init__(self, problem, options, app_options=None,
                 volume=None, output_prefix='he:', **kwargs):
        """Bypasses PDESolverApp.__init__()!"""
        Application.__init__( self, problem.conf, options, output_prefix,
                              **kwargs )
        self.problem = problem
        self.setup_options(app_options=app_options)
        self.setup_output_info( self.problem, self.options )

        if volume is None:
            self.volume = self.problem.evaluate(self.app_options.total_volume)

        else:
            self.volume = volume