#NEWLINE# def getRHS( self , tInd , F ) : #NEWLINE# #INDENT# dt = self . timeSteps [ tInd ] #NEWLINE# B_n = np . c_ [ [ F [ ( src , 'b' , tInd ) ] for src in self . survey . srcList ] ] . T #NEWLINE# if ( B_n . shape [ 0 ] is not 1 ) : #NEWLINE# #INDENT# raise NotImplementedError ( 'getRHS not implemented for this shape of B_n' ) #NEWLINE# #UNINDENT# RHS = ( ( ( 1.0 / dt ) * self . MfMui ) * B_n [ 0 , : , : ] ) #NEWLINE# return RHS