Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshSaja committed Jan 18, 2023
1 parent 3e6680c commit e3916c9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pygeo/mphys/mphys_dvgeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,6 @@ def nom_addESPVariable(self, desmptr_name, isComposite=False, **kwargs):
if not isComposite:
self.add_input(desmptr_name, distributed=False, shape=val.shape, val=val)

def nom_addLinearConstraintForComposite(self, name):
self.DVCon.addLinearCompositeConstraint(name)
nval = self.DVGeo.getNDV()
comm = self.comm
if comm.rank == 0:
self.add_output(name, distributed=True, val=np.ones((nval,)), shape=nval)
else:
self.add_output(name, distributed=True, shape=(0,))

def nom_addThicknessConstraints2D(self, name, leList, teList, nSpan=10, nChord=10):
self.DVCon.addThicknessConstraints2D(leList, teList, nSpan, nChord, lower=1.0, name=name)
comm = self.comm
Expand Down

0 comments on commit e3916c9

Please sign in to comment.