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

        axisNumber = self._getAxisNumber(axisID)
        C = np.zeros((len(self.refAxis.topo.lIndex[axisNumber]), 3), self.coef.dtype)

        C[:, 0] = np.take(self.coef[:, 0], self.refAxis.topo.lIndex[axisNumber])
        C[:, 1] = np.take(self.coef[:, 1], self.refAxis.topo.lIndex[axisNumber])
        C[:, 2] = np.take(self.coef[:, 2], self.refAxis.topo.lIndex[axisNumber])

        return C
Extract the coefficients for the selected reference
        axis. This should be used only inside design variable functions
Extract the coefficients for the selected reference
axis. This should be used only inside design variable functions
Extract the coefficients for the selected reference axis . This should be used only inside design variable functions
def extractCoef(self, axisID):
        axisNumber = self._getAxisNumber(axisID)
        C = np.zeros((len(self.refAxis.topo.lIndex[axisNumber]), 3), self.coef.dtype)
        C[:, 0] = np.take(self.coef[:, 0], self.refAxis.topo.lIndex[axisNumber])
        C[:, 1] = np.take(self.coef[:, 1], self.refAxis.topo.lIndex[axisNumber])
        C[:, 2] = np.take(self.coef[:, 2], self.refAxis.topo.lIndex[axisNumber])
        return C
def extractCoef ( self , axisID ) : axisNumber = self . _getAxisNumber ( axisID ) C = np . zeros ( ( len ( self . refAxis . topo . lIndex [ axisNumber ] ) , 3 ) , self . coef . dtype ) C [ : , 0 ] = np . take ( self . coef [ : , 0 ] , self . refAxis . topo . lIndex [ axisNumber ] ) C [ : , 1 ] = np . take ( self . coef [ : , 1 ] , self . refAxis . topo . lIndex [ axisNumber ] ) C [ : , 2 ] = np . take ( self . coef [ : , 2 ] , self . refAxis . topo . lIndex [ axisNumber ] ) return C
Extract the coefficients for the selected reference
axis.
Extract the coefficients for the selected reference axis .
"""Extract the coefficients for the selected reference
        axis. This should be used only inside design variable functions"""
self
axisID