Skip to content

Commit

Permalink
Directive for IRLS
Browse files Browse the repository at this point in the history
  • Loading branch information
fourndo committed Jan 31, 2016
1 parent ab1c3c4 commit 25a1712
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions SimPEG/Directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,19 @@ def endIter(self):



# class UpdateReferenceModel(Parameter):
#==============================================================================
# class update_IRLS(InversionDirective):
#
# m_iter = None
# eps0 = None
# epsEnd = None
# phi_m = None
#
# def endIter(self):
#
# if getattr(self,'m_iter', None) is None:
#
# self._reg.m = self.invProb.curModel
#
#==============================================================================

# mref0 = None

# def nextIter(self):
# mref = getattr(self, 'm_prev', None)
# if mref is None:
# if self.debug: print 'UpdateReferenceModel is using mref0'
# mref = self.mref0
# self.m_prev = self.invProb.m_current
# return mref

0 comments on commit 25a1712

Please sign in to comment.