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

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