Skip to content

Commit

Permalink
removed wrapper code for deprecated routines (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewu63 committed Jul 22, 2022
1 parent 511e70c commit d786ca8
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pygeo/parameterization/DVGeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,10 +739,6 @@ def addGlobalDV(self, dvName, value, func, lower=None, upper=None, scale=1.0, co
config = [config]
self.DV_listGlobal[dvName] = geoDVGlobal(dvName, value, lower, upper, scale, func, config)

def addGeoDVGlobal(self, *args, **kwargs):
warnings.warn("addGeoDVGlobal will be deprecated, use addGlobalDV instead")
return self.addGlobalDV(*args, **kwargs)

def addLocalDV(
self, dvName, lower=None, upper=None, scale=1.0, axis="y", volList=None, pointSelect=None, config=None
):
Expand Down Expand Up @@ -840,10 +836,6 @@ def addLocalDV(

return self.DV_listLocal[dvName].nVal

def addGeoDVLocal(self, *args, **kwargs):
warnings.warn("addGeoDVLocal will be deprecated, use addLocalDV instead")
return self.addLocalDV(*args, **kwargs)

def addSpanwiseLocalDV(
self,
dvName,
Expand Down Expand Up @@ -1015,10 +1007,6 @@ def addSpanwiseLocalDV(

return self.DV_listSpanwiseLocal[dvName].nVal

def addGeoDVSpanwiseLocal(self, *args, **kwargs):
warnings.warn("addGeoDVSpanwiseLocal will be deprecated, use addSpanwiseLocalDV instead")
return self.addSpanwiseLocalDV(*args, **kwargs)

def addLocalSectionDV(
self,
dvName,
Expand Down Expand Up @@ -1282,10 +1270,6 @@ def addCompositeDV(self, dvName, ptSetName=None, u=None, scale=None):
self.DVComposite = geoDVComposite(dvName, values, NDV, u, scale=scale, s=s)
self.useComposite = True

def addGeoDVSectionLocal(self, *args, **kwargs):
warnings.warn("addGeoDVSectionLocal will be deprecated, use addLocalSectionDV instead")
return self.addLocalSectionDV(*args, **kwargs)

def getSymmetricCoefList(self, volList=None, pointSelect=None, tol=1e-8):
"""
Determine the pairs of coefs that need to be constrained for symmetry.
Expand Down

0 comments on commit d786ca8

Please sign in to comment.