Пример #1
0
	def __init__(self):
		initParams = { 'dt' : 0.1,
					'dx': 0.5, 
					'A': 1, 
					'B': 3}

		Equation.__init__(self, 'Brusselator', initParams, dim=1, n_fields=2, N=200, fieldNames=['X', 'Y'])
Пример #2
0
    def __init__(self):
        initParams = {
            'dt': 0.05,
            'mu': 0.1,
            'gamma': 2.75,
            'omega0': 1,
            'omega': 0.7
        }

        initRange = {
            'dt': (0, 0.2),
            'mu': (0, 0.5),
            'gamma': (0, 5),
            'omega0': (0, 2),
            'omega': (0, 2)
        }

        Equation.__init__(self,
                          'Pendulum',
                          initParams,
                          dim=0,
                          n_fields=2,
                          N=1,
                          fieldNames=['theta', 'dtheta/dt'],
                          initRange=initRange)
Пример #3
0
    def __init__(self):
        initParams = {
            'dt': 0.05,
            'dx': 1,
            'alpha': 0.4,
            'mu': 0.1,
            'gamma': 2.75,
            'omega': 0.7
        }

        initRange = {
            'dt': (0, 0.2),
            'dx': (0, 1),
            'alpha': (0, 1),
            'mu': (0, 0.5),
            'gamma': (0, 5),
            'omega': (0, 1)
        }

        Equation.__init__(self,
                          'Duffing',
                          initParams,
                          dim=0,
                          n_fields=2,
                          N=1,
                          fieldNames=['x', 'dx/dt'],
                          initRange=initRange)
Пример #4
0
	def __init__(self):
		initParams = { 'dt' : 0.1,
					'dx': 1, 
					'alpha': 0,
					'beta': -3}

		Equation.__init__(self, 'ComplexGinzburgLandau', initParams, dim=1, n_fields=2, N=200, fieldNames=['Re A', 'Im A'])
Пример #5
0
 def __init__(self):
     initParams = {
         'dt' : 0.1,
         'dx' : 0.5,
         'eps': -0.22,
         'nu': 1
     }
     Equation.__init__(self, 'Turing-Swift-Hohenberg', initParams, fieldNames=['u'])
Пример #6
0
    def __init__(self):
        initParams = {'dt': 0.1, 'dx': 0.5, 'I': 1, 'a': 1, 'b': 1, 'tau': 1}

        Equation.__init__(self,
                          'FitzHugh-Nagumo',
                          initParams,
                          dim=1,
                          n_fields=2,
                          N=200,
                          fieldNames=['v', 'w'])
Пример #7
0
    def __init__(self):
        initParams = { 'dt' : 0.05,
                    'sigma': 10,
                    'rho' : 28,
                    'beta' : 8/3}
        
        initRange = { 'dt' : (0, 0.2),
                    'sigma': (0, 20),
                    'rho' : (0, 40),
                    'beta' : (0, 5)}

        Equation.__init__(self, 'Lorenz', initParams, dim=0, n_fields=3, N=1, fieldNames=['x', 'y', 'z'], initRange=initRange)
Пример #8
0
    def __init__(self):
        initParams = {
            'dt': 0.1,
            'dx': 0.5,
            'eps': 1,
            'eta': 0,
            'gamma': 0.5,
            'k': 0.07,
            'omega': 2
        }

        Equation.__init__(self, 'Pedro', initParams, dim=1)
Пример #9
0
    def __init__(self):
        initParams = {'dt': 0.1, 'dx': 0.5, 'eps': 1, 'alpha': 0}

        Equation.__init__(self, 'Eqntest', initParams, dim=1)