remove SrcType, put rx list first in inputs for src

This commit is contained in:
Lindsey Heagy
2015-05-10 16:54:55 -07:00
parent 64574369c3
commit 3b427d8a85
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -6,8 +6,9 @@ class DipoleSrc(Survey.BaseSrc):
current = 1
def __init__(self, locA, locB, rxList, **kwargs):
super(DipoleSrc, self).__init__((locA, locB), 'dipole', rxList, **kwargs)
def __init__(self, rxList, locA, locB, **kwargs):
super(DipoleSrc, self).__init__(rxList, **kwargs)
self.loc = (locA, locB)
self._rhsDict = {}
def getRhs(self, mesh):