Added python module for native solution and parameter setting
[pde-python.git] / waves.py
blobdedf922b5f6c9bc6fa8f9af0e081e640ca68b557
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 1.3.36
4 # Don't modify this file, modify the SWIG interface instead.
5 # This file is compatible with both classic and new-style classes.
7 import _waves
8 import new
9 new_instancemethod = new.instancemethod
10 try:
11 _swig_property = property
12 except NameError:
13 pass # Python < 2.2 doesn't have 'property'.
14 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
15 if (name == "thisown"): return self.this.own(value)
16 if (name == "this"):
17 if type(value).__name__ == 'PySwigObject':
18 self.__dict__[name] = value
19 return
20 method = class_type.__swig_setmethods__.get(name,None)
21 if method: return method(self,value)
22 if (not static) or hasattr(self,name):
23 self.__dict__[name] = value
24 else:
25 raise AttributeError("You cannot add attributes to %s" % self)
27 def _swig_setattr(self,class_type,name,value):
28 return _swig_setattr_nondynamic(self,class_type,name,value,0)
30 def _swig_getattr(self,class_type,name):
31 if (name == "thisown"): return self.this.own()
32 method = class_type.__swig_getmethods__.get(name,None)
33 if method: return method(self)
34 raise AttributeError,name
36 def _swig_repr(self):
37 try: strthis = "proxy of " + self.this.__repr__()
38 except: strthis = ""
39 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
41 import types
42 try:
43 _object = types.ObjectType
44 _newclass = 1
45 except AttributeError:
46 class _object : pass
47 _newclass = 0
48 del types
51 Exm = _waves.Exm
52 Ex = _waves.Ex
53 setParameters = _waves.setParameters