pygeo/parameterization/DVGeo.py
def writeLinks(self, fileName):
        """Write the links attaching the control points to the reference axes

        Parameters
        ----------
        fileName : str
            Filename for tecplot file. Should have .dat extension
        """
        self._finalize()
        f = openTecplot(fileName, 3)
        f.write("ZONE NODES=%d ELEMENTS=%d ZONETYPE=FELINESEG\n" % (self.nPtAttach * 2, self.nPtAttach))
        f.write("DATAPACKING=POINT\n")
        for ipt in range(self.nPtAttach):
            pt1 = self.refAxis.curves[self.curveIDs[ipt]](self.links_s[ipt])
            pt2 = self.links_x[ipt] + pt1

            f.write(f"{pt1[0]:.12g} {pt1[1]:.12g} {pt1[2]:.12g}\n")
            f.write(f"{pt2[0]:.12g} {pt2[1]:.12g} {pt2[2]:.12g}\n")
        for i in range(self.nPtAttach):
            f.write("%d %d\n" % (2 * i + 1, 2 * i + 2))

        closeTecplot(f)
Write the links attaching the control points to the reference axes

        Parameters
        ----------
        fileName : str
            Filename for tecplot file. Should have .dat extension
        
Write the links attaching the control points to the reference axes
Parameters

fileName : str
Filename for tecplot file. Should have .dat extension
Write the links attaching the control points to the reference axes Parameters fileName : str Filename for tecplot file . Should have . dat extension
def writeLinks(self, fileName):
        self._finalize()
        f = openTecplot(fileName, 3)
        f.write("ZONE NODES=%d ELEMENTS=%d ZONETYPE=FELINESEG\n" % (self.nPtAttach * 2, self.nPtAttach))
        f.write("DATAPACKING=POINT\n")
        for ipt in range(self.nPtAttach):
            pt1 = self.refAxis.curves[self.curveIDs[ipt]](self.links_s[ipt])
            pt2 = self.links_x[ipt] + pt1
            f.write(f"{pt1[0]:.12g} {pt1[1]:.12g} {pt1[2]:.12g}\n")
            f.write(f"{pt2[0]:.12g} {pt2[1]:.12g} {pt2[2]:.12g}\n")
        for i in range(self.nPtAttach):
            f.write("%d %d\n" % (2 * i + 1, 2 * i + 2))
        closeTecplot(f)
def writeLinks ( self , fileName ) : self . _finalize ( ) f = openTecplot ( fileName , 3 ) f . write ( "ZONE NODES=%d ELEMENTS=%d ZONETYPE=FELINESEG\n" % ( self . nPtAttach * 2 , self . nPtAttach ) ) f . write ( "DATAPACKING=POINT\n" ) for ipt in range ( self . nPtAttach ) : pt1 = self . refAxis . curves [ self . curveIDs [ ipt ] ] ( self . links_s [ ipt ] ) pt2 = self . links_x [ ipt ] + pt1 f . write ( f"{pt1[0]:.12g} {pt1[1]:.12g} {pt1[2]:.12g}\n" ) f . write ( f"{pt2[0]:.12g} {pt2[1]:.12g} {pt2[2]:.12g}\n" ) for i in range ( self . nPtAttach ) : f . write ( "%d %d\n" % ( 2 * i + 1 , 2 * i + 2 ) ) closeTecplot ( f )
Write the links attaching the control points to the reference axes
Parameters
Write the links attaching the control points to the reference axes Parameters
"""Write the links attaching the control points to the reference axes

        Parameters
        ----------
        fileName : str
            Filename for tecplot file. Should have .dat extension
        """
self
fileName