Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed wrapper code for deprecated routines #146

Merged
merged 1 commit into from
Jul 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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