Class UniformLength

  extended by org.jcae.mesh.amibe.algos1d.UniformLength

public class UniformLength
extends java.lang.Object

Computes a new discretization so that all edges have a uniform length. On each edge, compute the number of subdivisions so that all segments have the same length, which must be less than the given criterion. The previous discretization nodes and edges are deleted, and replaced by newer ones.

Constructor Summary
UniformLength(MMesh1D m, java.util.Map<java.lang.String,java.lang.String> options)
          Creates a UniformLength instance.
Method Summary
 void compute()
          Explores each edge of the mesh and calls the discretisation method.
 boolean computeEdge(SubMesh1D submesh1d)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public UniformLength(MMesh1D m,
                     java.util.Map<java.lang.String,java.lang.String> options)
Creates a UniformLength instance.

m - the MMesh1D instance to refine.
Method Detail


public void compute()
Explores each edge of the mesh and calls the discretisation method.


public boolean computeEdge(SubMesh1D submesh1d)