fhm.edu.fem.calc.objects
Class MembraneFunctions

java.lang.Object
  extended by fhm.edu.fem.calc.objects.MembraneFunctions

public class MembraneFunctions
extends java.lang.Object

Class Description: This class holds the methods to calculate the Fourier Coefficients via the double-integral and also a static method to calculate w0 at a given point (x,y)

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

Field Summary
protected static double dimensionA
           
protected static double dimensionB
           
protected static Logger localLogger
           
static java.lang.String ONE
           
protected static double outValueX
           
protected static double outValueY
           
protected static double outValueZ
           
static java.lang.String SIN_M_X_A
           
static java.lang.String SIN_N_Y_B
           
static java.lang.String W0_X_Y
           
static java.lang.String ZERO
           
 
Constructor Summary
MembraneFunctions()
           
 
Method Summary
static java.lang.reflect.Method getMethod(java.lang.String methodName)
          Get the proper method
static double one(java.lang.Double xi, java.lang.Double eta, java.lang.Integer position)
          Helper Method
static double sinM(java.lang.Double x, java.lang.Double y, java.lang.Integer m)
          Calculate sin(m*pi*(x/a)
static double sinN(java.lang.Double x, java.lang.Double y, java.lang.Integer n)
          Calculate sin(n*pi*(y/b)
static void storeMembraneValues(double outX, double outY, double outZ, double dimA, double dimB)
          To remember the membran's size and the "auslenkungs"-point
static double w0(java.lang.Double x, java.lang.Double y, java.lang.Integer position)
          Static Method to calculate w(0)
static double zero(java.lang.Double xi, java.lang.Double eta, java.lang.Integer position)
          Helper Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dimensionA

protected static double dimensionA

dimensionB

protected static double dimensionB

localLogger

protected static Logger localLogger

ONE

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

outValueX

protected static double outValueX

outValueY

protected static double outValueY

outValueZ

protected static double outValueZ

SIN_M_X_A

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

SIN_N_Y_B

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

W0_X_Y

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

ZERO

public static final java.lang.String ZERO
See Also:
Constant Field Values
Constructor Detail

MembraneFunctions

public MembraneFunctions()
Method Detail

getMethod

public static java.lang.reflect.Method getMethod(java.lang.String methodName)
                                          throws java.lang.SecurityException,
                                                 java.lang.NoSuchMethodException
Get the proper method

Parameters:
methodName, - the method name taken from the constants in this class
Returns:
the method
Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException

one

public static double one(java.lang.Double xi,
                         java.lang.Double eta,
                         java.lang.Integer position)
Helper Method

Parameters:
xi -
eta -
position -
Returns:

sinM

public static double sinM(java.lang.Double x,
                          java.lang.Double y,
                          java.lang.Integer m)
Calculate sin(m*pi*(x/a)

Parameters:
x, - the x value
y, - the y value (not used in this method)
m, - the integer m
Returns:
the result

sinN

public static double sinN(java.lang.Double x,
                          java.lang.Double y,
                          java.lang.Integer n)
Calculate sin(n*pi*(y/b)

Parameters:
x, - the x value (not used in this method)
y, - the y value
m, - the integer m
Returns:
the result

storeMembraneValues

public static void storeMembraneValues(double outX,
                                       double outY,
                                       double outZ,
                                       double dimA,
                                       double dimB)
To remember the membran's size and the "auslenkungs"-point

Parameters:
midX, - middle point X
midY, - middle point Y
midZ, - middle point Z

w0

public static double w0(java.lang.Double x,
                        java.lang.Double y,
                        java.lang.Integer position)
Static Method to calculate w(0)

Parameters:
x, - the x-value of the point to calculate w(0) for
y, - the y-value of the point to calculate w(0) for
position, - the position integer (not used in this method)
Returns:
double, the w(0) at the required point (x,y)

zero

public static double zero(java.lang.Double xi,
                          java.lang.Double eta,
                          java.lang.Integer position)
Helper Method

Parameters:
xi -
eta -
position -
Returns: