org.jcae.mesh.amibe.algos1d
Class UniformLength

java.lang.Object
  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

UniformLength

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

Parameters:
m - the MMesh1D instance to refine.
Method Detail

compute

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


computeEdge

public boolean computeEdge(SubMesh1D submesh1d)