Class UniformLengthDeflection

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

public class UniformLengthDeflection
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
UniformLengthDeflection(MMesh1D m, java.util.Map<java.lang.String,java.lang.String> options)
          Creates a UniformLengthDeflection 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 UniformLengthDeflection(MMesh1D m,
                               java.util.Map<java.lang.String,java.lang.String> options)
Creates a UniformLengthDeflection 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)