FEJDMath
Class Renumbering

java.lang.Object
  extended byFEJDMath.Renumbering

public class Renumbering
extends java.lang.Object

This class permits to find a better numbering for the mesh


Field Summary
static int NB
          The global number of the next element which will be created
 
Constructor Summary
Renumbering()
           
 
Method Summary
static void addLink(MeshPoint n1, MeshPoint n2)
          Creates a link between the MeshPoint n1 and n2
static void McKee(Mesh m, boolean newNetFile)
          Algorithm of reverse Cuthill Mc Kee applied to the Mesh m if the shape-functions are quadratic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NB

public static int NB
The global number of the next element which will be created

Constructor Detail

Renumbering

public Renumbering()
Method Detail

addLink

public static void addLink(MeshPoint n1,
                           MeshPoint n2)
Creates a link between the MeshPoint n1 and n2


McKee

public static void McKee(Mesh m,
                         boolean newNetFile)
Algorithm of reverse Cuthill Mc Kee applied to the Mesh m if the shape-functions are quadratic. If displaysBA is true, a window will be displayed with the size of the profile before and after the renumbering. If newNetFile is true, a new net File will be created