Ejemplo n.º 1
0
    def __init__(self, name="CitcomS"):
        """Constructor. Inventory object is not initialized yet.
        """
        Application.__init__(self, name)

        # channel for debugging output
        self._info = journal.debug("application")
        return
Ejemplo n.º 2
0
    def __init__(self, name="CitcomS"):
        '''Constructor. Inventory object is not initialized yet.
        '''
        Application.__init__(self, name)

        # channel for debugging output
        self._info = journal.debug("application")
        return
Ejemplo n.º 3
0
 def _configure(self):
     Application._configure(self)
     self.modeller = self.inventory.modeller
     self.surfaceMesher = self.inventory.surfaceMesher
     self.layout = self.inventory.layout
     self.controller = self.inventory.controller
     self.fluid = self.inventory.fluid
     self.solid = self.inventory.solid
     self.coupler = self.inventory.coupler
     return
Ejemplo n.º 4
0
 def __init__(self):
     Application.__init__(self, 'shock')
     self.modeller = None
     self.surfaceMesher = None
     self.layout = None
     self.controller = None
     self.fluid = None
     self.solid = None
     self.coupler = None
     return
Ejemplo n.º 5
0
 def __init__(self):
     Application.__init__(self, 'shock')
     self.modeller = None
     self.surfaceMesher = None
     self.layout = None
     self.controller = None
     self.fluid = None
     self.solid = None
     self.coupler = None
     return
Ejemplo n.º 6
0
 def _configure(self):
     Application._configure(self)
     self.modeller = self.inventory.modeller
     self.surfaceMesher = self.inventory.surfaceMesher
     self.layout = self.inventory.layout
     self.controller = self.inventory.controller
     self.fluid = self.inventory.fluid
     self.solid = self.inventory.solid
     self.coupler = self.inventory.coupler
     return
Ejemplo n.º 7
0
    def _init(self):
        """Called by mpi.Application.__init__(). Inventory object becomes available.
        """
        Application._init(self)

        # self.nodes is the # of CPUs for this simulation, used by the
        # scheduler and launcher
        #
        # self.getNodes is defined in the child classes
        self.nodes = self.getNodes()
        return
Ejemplo n.º 8
0
    def _init(self):
        '''Called by mpi.Application.__init__(). Inventory object becomes available.
        '''
        Application._init(self)

        # self.nodes is the # of CPUs for this simulation, used by the
        # scheduler and launcher
        #
        # self.getNodes is defined in the child classes
        self.nodes = self.getNodes()
        return
Ejemplo n.º 9
0
    def __init__(self, name="coupled-application"):
        Application.__init__(self, name)

        self.solver = None
        self.solverCommunicator = None
        self.myPlus = []
        self.remotePlus = []

        self.comm = None
        self.rank = 0
        self.nodes = 0

        self._info = journal.debug(name)
        return
Ejemplo n.º 10
0
    def __init__(self, name):
        mpiApplication.__init__(self, name)

        # This holds the root dictionary
        self._dictionarySource = None
        self._dictionary = Dictionary(StGermain.Base.IO.Dictionary.new())

        self.comm = None
        self.rank = None
        self.nodes = None
        self.solver = None
        #ccccc
        self.controller = None

        self._context = None

        return
Ejemplo n.º 11
0
	def __init__( self, name ):
		mpiApplication.__init__( self, name )

		# This holds the root dictionary
		self._dictionarySource = None
		self._dictionary = Dictionary( StGermain.Base.IO.Dictionary.new() )

		self.comm = None
		self.rank = None
		self.nodes = None
		self.solver = None
		#ccccc
		self.controller = None

		self._context = None

		return
Ejemplo n.º 12
0
 def _init(self):
     Application._init(self)
     return
Ejemplo n.º 13
0
 def _configure(self):
     Application._configure(self)
     self.coupler = self.inventory.coupler
     self.modeller = self.inventory.modeller
     return
Ejemplo n.º 14
0
 def _defaults(self):
     Application._defaults(self)
     self.inventory.launcher.inventory.nodes = 2
     return
Ejemplo n.º 15
0
        def __init__(self):
            Application.__init__(self, 'exchange')
            self.coupler = None
            self.modeller = None

            return
Ejemplo n.º 16
0
 def __init__(self):
     Application.__init__(self, "simple")
     return
Ejemplo n.º 17
0
 def __init__(self, name="citcom"):
     Application.__init__(self, name)
     self.exchanger = None
     return
Ejemplo n.º 18
0
 def _init(self):
     base._init(self)
     return
Ejemplo n.º 19
0
 def _fini(self):
     base._fini(self)
     return
Ejemplo n.º 20
0
	def configure( self, registry ):
		report = mpiApplication.configure( self, registry )
		self._dictionary = PyreDictionary.addProperties( self, registry )
		PyreDictionary.linkComponentDictionaries( self )
		return report
Ejemplo n.º 21
0
 def __init__(self, name):
     base.__init__(self, name)
     self._normalizeSysArgv()
     return
Ejemplo n.º 22
0
 def __init__(self):
     Application.__init__(self, "ports")
     return
Ejemplo n.º 23
0
 def configure(self, registry):
     report = mpiApplication.configure(self, registry)
     self._dictionary = PyreDictionary.addProperties(self, registry)
     PyreDictionary.linkComponentDictionaries(self)
     return report
Ejemplo n.º 24
0
 def _defaults(self):
     Application._defaults(self)
     self.inventory.launcher.inventory.nodes = 2
     return
Ejemplo n.º 25
0
 def __init__(self, name="citcom"):
     Application.__init__(self, name)
     self.exchanger = None
     return
Ejemplo n.º 26
0
 def _init(self):
     Application._init(self)
     return
Ejemplo n.º 27
0
 def __init__(self):
     Application.__init__(self, "simple")
     return
Ejemplo n.º 28
0
 def __init__(self):
     Application.__init__(self, "ports")
     return