fhm.edu.fem.constants
Class GaussConstants

java.lang.Object
  extended by fhm.edu.fem.constants.GaussConstants

public class GaussConstants
extends java.lang.Object

Class Description: The constants class holding all necessary variables for the Gauss algorithm

Author:
Thomas Woellert (thomas@woellert.net), Stefan Weissbach (weissbst@gmx.de)

Field Summary
static int APPROACH_LINEAR
           
static int APPROACH_QUADRATIC
           
static int FIGURE_QUADRAT
           
static int FIGURE_TRIANGLE
           
protected static Logger localLogger
           
static int VALUE_A
           
static int VALUE_H
           
 
Method Summary
static double evaluateDForFigure(double eta, int figure)
          Calculate the D for a specific figure
static Vector get(int n, int value)
          Retrieve a specific "a" or "H" constant depending on "n"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPROACH_LINEAR

public static final int APPROACH_LINEAR
See Also:
Constant Field Values

APPROACH_QUADRATIC

public static final int APPROACH_QUADRATIC
See Also:
Constant Field Values

FIGURE_QUADRAT

public static final int FIGURE_QUADRAT
See Also:
Constant Field Values

FIGURE_TRIANGLE

public static final int FIGURE_TRIANGLE
See Also:
Constant Field Values

localLogger

protected static Logger localLogger

VALUE_A

public static final int VALUE_A
See Also:
Constant Field Values

VALUE_H

public static final int VALUE_H
See Also:
Constant Field Values
Method Detail

evaluateDForFigure

public static double evaluateDForFigure(double eta,
                                        int figure)
                                 throws java.lang.IllegalArgumentException
Calculate the D for a specific figure

Parameters:
eta, - the eta to use
figure, - the figure might be FIGURE_TRIANGLE or FIGURE_PARALLELOGRAM
Returns:
the result
Throws:
java.lang.IllegalArgumentException

get

public static Vector get(int n,
                         int value)
Retrieve a specific "a" or "H" constant depending on "n"

Parameters:
n, - which n is needed (may be 2 to 10)
value, - may be VALUE_A or VALUE_H
Returns:
the vector