pygeo/parameterization/DVGeo.py
def restoreCoef(self, coef, axisID):
        """Restore the coefficients for the selected reference
        axis. This should be used inside design variable functions"""

        # Reset
        axisNumber = self._getAxisNumber(axisID)
        np.put(self.coef[:, 0], self.refAxis.topo.lIndex[axisNumber], coef[:, 0])
        np.put(self.coef[:, 1], self.refAxis.topo.lIndex[axisNumber], coef[:, 1])
        np.put(self.coef[:, 2], self.refAxis.topo.lIndex[axisNumber], coef[:, 2])
Restore the coefficients for the selected reference
        axis. This should be used inside design variable functions
Restore the coefficients for the selected reference
axis. This should be used inside design variable functions
Restore the coefficients for the selected reference axis . This should be used inside design variable functions
def restoreCoef(self, coef, axisID):
        axisNumber = self._getAxisNumber(axisID)
        np.put(self.coef[:, 0], self.refAxis.topo.lIndex[axisNumber], coef[:, 0])
        np.put(self.coef[:, 1], self.refAxis.topo.lIndex[axisNumber], coef[:, 1])
        np.put(self.coef[:, 2], self.refAxis.topo.lIndex[axisNumber], coef[:, 2])
def restoreCoef ( self , coef , axisID ) : axisNumber = self . _getAxisNumber ( axisID ) np . put ( self . coef [ : , 0 ] , self . refAxis . topo . lIndex [ axisNumber ] , coef [ : , 0 ] ) np . put ( self . coef [ : , 1 ] , self . refAxis . topo . lIndex [ axisNumber ] , coef [ : , 1 ] ) np . put ( self . coef [ : , 2 ] , self . refAxis . topo . lIndex [ axisNumber ] , coef [ : , 2 ] )
Restore the coefficients for the selected reference
axis.
Restore the coefficients for the selected reference axis .
"""Restore the coefficients for the selected reference
        axis. This should be used inside design variable functions""" # Reset
self
coef
axisID