Example #1
0
    def __init__(self, sc_calculator, name="no name"):
        """
		Constructor. Creates the 2p5 SC accelerator node element.
		"""
        SC_Base_AccNode.__init__(self, sc_calculator, name)
        self.setType("SC2p5Drb")
        self.pipe_radius = 1.0
Example #2
0
	def __init__(self, sc_calculator, name = "no name"):			
		"""
		Constructor. Creates the 2p5 SC accelerator node element.
		"""
		SC_Base_AccNode.__init__(self, sc_calculator, name)
		self.setType("SC2p5Drb")
		self.pipe_radius = 1.0
Example #3
0
    def __init__(self, sc_calculator, name="no name"):
        """
		Constructor. Creates the 2p5 SC accelerator node element.
		"""
        SC_Base_AccNode.__init__(self, sc_calculator, name)
        self.setType("SC2p5D")
        self.boundary = None
Example #4
0
	def __init__(self, sc_calculator, name = "no name"):			
		"""
		Constructor. Creates the 2p5 SC accelerator node element.
		"""
		SC_Base_AccNode.__init__(self, sc_calculator, name)
		self.setType("SC2p5D")
		self.boundary = None
Example #5
0
	def __init__(self, sc_calculator, name = "no name"):			
		"""
		Constructor. Creates the Uniform Ellipses SC accelerator node element.
		"""
		SC_Base_AccNode.__init__(self, sc_calculator, name)
		self.setType("UnifEllsSC")
		self.pipe_radius = 1.0
Example #6
0
    def __init__(self, sc_calculator, name="no name"):
        """
		Constructor. Creates the Uniform Ellipses SC accelerator node element.
		"""
        SC_Base_AccNode.__init__(self, sc_calculator, name)
        self.setType("UnifEllsSC")
        self.pipe_radius = 1.0
Example #7
0
 def __init__(self, sc_calculator, name='envsolver'):
     SC_Base_AccNode.__init__(self, sc_calculator, name)
     self.setType('envsolver')
     self.sc_calculator = sc_calculator
Example #8
0
    def __init__(self, sc_calculator, lattice_functions, name="no name"):
        """
		Constructor. Creates the SC accelerator node element.
		"""
        SC_Base_AccNode.__init__(self, sc_calculator, name)
        self.setType("FrozenSC")