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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
    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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #12
0
 def _init(self):
     Application._init(self)
     return
Exemple #13
0
 def _configure(self):
     Application._configure(self)
     self.coupler = self.inventory.coupler
     self.modeller = self.inventory.modeller
     return
Exemple #14
0
 def _defaults(self):
     Application._defaults(self)
     self.inventory.launcher.inventory.nodes = 2
     return
Exemple #15
0
        def __init__(self):
            Application.__init__(self, 'exchange')
            self.coupler = None
            self.modeller = None

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