fhm.edu.fem.constants
Class ApplicationConstants

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

public class ApplicationConstants
extends java.lang.Object

Class Description: This class holds all constants associated with the whole application

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

Field Summary
static int ANIMATION_FRAME_HEIGHT
           
static int ANIMATION_FRAME_WIDTH
           
static int ANIMATION_MEMBRAN_MATERIAL_CONSTANT_G
          FOR ANIMATION STARTUP
static int ANIMATION_MEMBRAN_MATERIAL_CONSTANT_SIGMA
           
static int EXACT_EIGENVALUES_NUMBER
          FOR EIGENVALUES STARTUP Calculation of the exact eigenvalues depending on the Membran's size
static java.lang.String FEM2_FILE_EXTENSION
           
static java.lang.String FEM3_FILE_EXTENSION
          FOR FEMIN CONVERTER
static int MATRIX_HULL
           
static int MATRIX_STANDARD
          FOR FEM STARTUP All Calculations
static int MATRIX_USE
           
static double MEMBRAN_ALGORITHM_EXACTNESS
           
static int MEMBRAN_ALGORITHM_MAX_ITERATIONS
           
static boolean MEMBRAN_CIRCLE_OVERLAPPING_ELEMENTS
          FOR FEM5
static int MEMBRAN_JACOBI
          FOR FEM STARTUP Membran Calculations
static double MEMBRAN_MACHINE_PRECISION
           
static boolean MEMBRAN_NORM_EIGENVECTORS
           
static double MEMBRAN_NORM_EIGENVECTORS_VALUE
           
static int MEMBRAN_NUMBER_OF_EIGENVALUES
           
static int MEMBRAN_ORDER
           
static int MEMBRAN_RAYLEIGH
           
static int MEMBRAN_RAYLEIGH_S
           
static double MEMBRAN_SHIFT_ORIGIN
           
static int MEMBRAN_SVI
           
static int MEMBRAN_SVI_1
           
static int MEMBRAN_SVI_2
           
static int MEMBRAN_SVI_3
           
static int MEMBRAN_SVI_USE
           
static int MEMBRAN_USE
           
static int PERCENTAGE_LENGTH
           
static int SIZE_CHAR
           
static int SIZE_DOUBLE
           
static int SIZE_INT
           
static double SPANNER_ENHANCE_MOVEMENT_FACTOR
          FOR FEM6
static int SPANNER_STIFFNESSMATRIX_INTEGRAL
           
static int SPANNER_STIFFNESSMATRIX_SMATRICES
           
static int SPANNER_STIFFNESSMATRIX_USE
           
static java.lang.String VERSION
          GLOBAL For the whole Application
 
Method Summary
static java.lang.String convertPercentageToString(double value)
          This function converts the given number into a string and also allows the user to trim the number (most likely does not work with e-# or e+# numbers yet.
static java.lang.String getAnimationHelpText()
          Retrieve the help text for calculating an animation
static java.lang.String getConverterHelpText()
          Retrieve the help text for the converter
static java.lang.String getEigenvaluesHelpText()
          Retrieve the help text for calculating the exact eigenvalues
static java.lang.String getHelpText()
          Retrieve the help text for the application
static java.lang.String getStartupText()
          Retrieve the startup text for the application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANIMATION_FRAME_HEIGHT

public static final int ANIMATION_FRAME_HEIGHT
See Also:
Constant Field Values

ANIMATION_FRAME_WIDTH

public static final int ANIMATION_FRAME_WIDTH
See Also:
Constant Field Values

ANIMATION_MEMBRAN_MATERIAL_CONSTANT_G

public static final int ANIMATION_MEMBRAN_MATERIAL_CONSTANT_G
FOR ANIMATION STARTUP

See Also:
Constant Field Values

ANIMATION_MEMBRAN_MATERIAL_CONSTANT_SIGMA

public static final int ANIMATION_MEMBRAN_MATERIAL_CONSTANT_SIGMA
See Also:
Constant Field Values

EXACT_EIGENVALUES_NUMBER

public static final int EXACT_EIGENVALUES_NUMBER
FOR EIGENVALUES STARTUP Calculation of the exact eigenvalues depending on the Membran's size

See Also:
Constant Field Values

FEM2_FILE_EXTENSION

public static final java.lang.String FEM2_FILE_EXTENSION
See Also:
Constant Field Values

FEM3_FILE_EXTENSION

public static final java.lang.String FEM3_FILE_EXTENSION
FOR FEMIN CONVERTER

See Also:
Constant Field Values

MATRIX_HULL

public static final int MATRIX_HULL
See Also:
Constant Field Values

MATRIX_STANDARD

public static final int MATRIX_STANDARD
FOR FEM STARTUP All Calculations

See Also:
Constant Field Values

MATRIX_USE

public static final int MATRIX_USE
See Also:
Constant Field Values

MEMBRAN_ALGORITHM_EXACTNESS

public static final double MEMBRAN_ALGORITHM_EXACTNESS
See Also:
Constant Field Values

MEMBRAN_ALGORITHM_MAX_ITERATIONS

public static final int MEMBRAN_ALGORITHM_MAX_ITERATIONS
See Also:
Constant Field Values

MEMBRAN_CIRCLE_OVERLAPPING_ELEMENTS

public static final boolean MEMBRAN_CIRCLE_OVERLAPPING_ELEMENTS
FOR FEM5

See Also:
Constant Field Values

MEMBRAN_JACOBI

public static final int MEMBRAN_JACOBI
FOR FEM STARTUP Membran Calculations

See Also:
Constant Field Values

MEMBRAN_MACHINE_PRECISION

public static final double MEMBRAN_MACHINE_PRECISION
See Also:
Constant Field Values

MEMBRAN_NORM_EIGENVECTORS

public static final boolean MEMBRAN_NORM_EIGENVECTORS
See Also:
Constant Field Values

MEMBRAN_NORM_EIGENVECTORS_VALUE

public static final double MEMBRAN_NORM_EIGENVECTORS_VALUE
See Also:
Constant Field Values

MEMBRAN_NUMBER_OF_EIGENVALUES

public static final int MEMBRAN_NUMBER_OF_EIGENVALUES
See Also:
Constant Field Values

MEMBRAN_ORDER

public static final int MEMBRAN_ORDER
See Also:
Constant Field Values

MEMBRAN_RAYLEIGH

public static final int MEMBRAN_RAYLEIGH
See Also:
Constant Field Values

MEMBRAN_RAYLEIGH_S

public static final int MEMBRAN_RAYLEIGH_S
See Also:
Constant Field Values

MEMBRAN_SHIFT_ORIGIN

public static final double MEMBRAN_SHIFT_ORIGIN
See Also:
Constant Field Values

MEMBRAN_SVI

public static final int MEMBRAN_SVI
See Also:
Constant Field Values

MEMBRAN_SVI_1

public static final int MEMBRAN_SVI_1
See Also:
Constant Field Values

MEMBRAN_SVI_2

public static final int MEMBRAN_SVI_2
See Also:
Constant Field Values

MEMBRAN_SVI_3

public static final int MEMBRAN_SVI_3
See Also:
Constant Field Values

MEMBRAN_SVI_USE

public static final int MEMBRAN_SVI_USE
See Also:
Constant Field Values

MEMBRAN_USE

public static final int MEMBRAN_USE
See Also:
Constant Field Values

PERCENTAGE_LENGTH

public static final int PERCENTAGE_LENGTH
See Also:
Constant Field Values

SIZE_CHAR

public static final int SIZE_CHAR
See Also:
Constant Field Values

SIZE_DOUBLE

public static final int SIZE_DOUBLE
See Also:
Constant Field Values

SIZE_INT

public static final int SIZE_INT
See Also:
Constant Field Values

SPANNER_ENHANCE_MOVEMENT_FACTOR

public static final double SPANNER_ENHANCE_MOVEMENT_FACTOR
FOR FEM6

See Also:
Constant Field Values

SPANNER_STIFFNESSMATRIX_INTEGRAL

public static final int SPANNER_STIFFNESSMATRIX_INTEGRAL
See Also:
Constant Field Values

SPANNER_STIFFNESSMATRIX_SMATRICES

public static final int SPANNER_STIFFNESSMATRIX_SMATRICES
See Also:
Constant Field Values

SPANNER_STIFFNESSMATRIX_USE

public static final int SPANNER_STIFFNESSMATRIX_USE
See Also:
Constant Field Values

VERSION

public static java.lang.String VERSION
GLOBAL For the whole Application

Method Detail

convertPercentageToString

public static java.lang.String convertPercentageToString(double value)
This function converts the given number into a string and also allows the user to trim the number (most likely does not work with e-# or e+# numbers yet. It is currently only used to shorten the percentage displays

Parameters:
value, - the number fo convert
Returns:
String, the trimmed string representation of the number

getAnimationHelpText

public static java.lang.String getAnimationHelpText()
Retrieve the help text for calculating an animation

Returns:
the eigenvalues help text

getConverterHelpText

public static java.lang.String getConverterHelpText()
Retrieve the help text for the converter

Returns:
the converter help text

getEigenvaluesHelpText

public static java.lang.String getEigenvaluesHelpText()
Retrieve the help text for calculating the exact eigenvalues

Returns:
the eigenvalues help text

getHelpText

public static java.lang.String getHelpText()
Retrieve the help text for the application

Returns:
the help text

getStartupText

public static java.lang.String getStartupText()
Retrieve the startup text for the application

Returns:
the startup text