Пример #1
0
 def __init__(self, shape, id = 0, pressure = units.pressure.atm,
              mcweights = (0.9,0,0.1) ):
     base.__init__(self, shape)
     self._id = id
     self._pressure = pressure
     self.mcweights = mcweights
     return
Пример #2
0
 def __init__(self,
              shape,
              id=0,
              pressure=units.pressure.atm,
              mcweights=(0.9, 0, 0.1)):
     base.__init__(self, shape)
     self._id = id
     self._pressure = pressure
     self.mcweights = mcweights
     return
Пример #3
0
 def __init__(self, shape, id = 0):
     base.__init__(self, shape)
     self._id = id
     return