コード例 #1
0
ファイル: Mesh.py プロジェクト: bmi-forum/bmi-pyre
	def __init__( self, name, layout, facility = "Mesh" ):
		Component.__init__( self, name, facility )
		self.inventory.MeshLayout = layout

		self._dictionary = Dictionary( StGermain.Base.IO.Dictionary.new() )
		self.inventory.MeshLayout._dictionarySource = self # meshlayout writes to the same dictionary, not its own
		return
コード例 #2
0
    def __init__(self, name, layout, facility="Mesh"):
        Component.__init__(self, name, facility)
        self.inventory.MeshLayout = layout

        self._dictionary = Dictionary(StGermain.Base.IO.Dictionary.new())
        self.inventory.MeshLayout._dictionarySource = self  # meshlayout writes to the same dictionary, not its own
        return
コード例 #3
0
ファイル: RegularMeshLayout.py プロジェクト: geodynamics/snac
 def __init__(self, name="regularMeshLayout", facility="MeshLayout"):
     Component.__init__(self, name, facility)
     return
コード例 #4
0
ファイル: Mesh.py プロジェクト: bmi-forum/bmi-pyre
	def __init__( self, name = "dummy", facility = "Meshayout" ):
		Component.__init__( self, name, facility )
		return
コード例 #5
0
 def __init__(self, name="dummy", facility="Meshayout"):
     Component.__init__(self, name, facility)
     return