org.jcae.mesh.amibe.algos1d
Class UniformLengthDeflection
java.lang.Object
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 |
UniformLengthDeflection
public UniformLengthDeflection(MMesh1D m,
java.util.Map<java.lang.String,java.lang.String> options)
- Creates a
UniformLengthDeflection
instance.
- Parameters:
m
- the MMesh1D
instance to refine.
compute
public void compute()
- Explores each edge of the mesh and calls the discretisation method.
computeEdge
public boolean computeEdge(SubMesh1D submesh1d)