|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.validation.QualityProcedure
public abstract class QualityProcedure
Abstract class to compute quality criteria.
All functions implementing quality criteria have to inherit from
this class. These functions can compute values either on elements
or nodes, and can work either on 2D or 3D meshes.
For these reasons, quality
method's argument is an
Object
, and caller is responsible for passing the
right argument.
Field Summary | |
---|---|
protected TFloatArrayList |
data
|
protected static int |
EDGE
|
protected static int |
FACE
|
protected static int |
NODE
|
protected int |
type
|
protected java.lang.String[] |
usageStr
|
Constructor Summary | |
---|---|
QualityProcedure()
|
Method Summary | |
---|---|
void |
bindResult(TFloatArrayList d)
Make output array visible by the finish() method. |
void |
finish()
Finish quality computations. |
static java.lang.String[] |
getListSubClasses()
|
protected MeshTraitsBuilder |
getMeshTraitsBuilder()
Returns MeshTraitsBuilder instance needed by this class. |
protected float |
getScaleFactor()
Returns default scale factor. |
protected int |
getType()
Return element type. |
abstract float |
quality(java.lang.Object o)
Return the quality factor for a given object. |
protected abstract void |
setValidationFeatures()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int FACE
protected static final int NODE
protected static final int EDGE
protected int type
protected java.lang.String[] usageStr
protected TFloatArrayList data
Constructor Detail |
---|
public QualityProcedure()
Method Detail |
---|
public static java.lang.String[] getListSubClasses()
protected abstract void setValidationFeatures()
protected final int getType()
public abstract float quality(java.lang.Object o)
o
- entity at which quality is computed
Returns quality factor.protected float getScaleFactor()
protected MeshTraitsBuilder getMeshTraitsBuilder()
MeshTraitsBuilder
instance needed by this class.
public void finish()
public final void bindResult(TFloatArrayList d)
finish()
method.
d
- array containing output valuesQualityFloat.setQualityProcedure(org.jcae.mesh.amibe.validation.QualityProcedure)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |