(self)
Generate a quadratic mesh.
Generate a quadratic mesh.
Generate a quadratic mesh .
def generate_quadratic(self):
        """Generate a quadratic mesh."""
        if self.V2 is None:
            self.V2, self.E2, self.Edges = generate_quadratic(self.V, self.E,
                                                              return_edges=True)
            self.X2 = self.V2[:, 0]
            self.Y2 = self.V2[:, 1]
            self.newID = self.nv + np.arange(self.Edges.shape[0])
def generate_quadratic ( self ) : if self . V2 is None : self . V2 , self . E2 , self . Edges = generate_quadratic ( self . V , self . E , return_edges = True ) self . X2 = self . V2 [ : , 0 ] self . Y2 = self . V2 [ : , 1 ] self . newID = self . nv + np . arange ( self . Edges . shape [ 0 ] )