org.jcae.mesh.amibe.algos1d
Class RandomLength

java.lang.Object
  extended by org.jcae.mesh.amibe.algos1d.RandomLength

public class RandomLength
extends java.lang.Object

Computes a randomized discretization. This is only useful when debugging, to check that adjacent faces share the same 1D discretization.


Constructor Summary
RandomLength(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomLength

public RandomLength(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.