fhm.edu.fem.calc
Class FEMGaussQuadrature

java.lang.Object
  extended by fhm.edu.fem.calc.FEMGaussQuadrature

public class FEMGaussQuadrature
extends java.lang.Object

Class Description: Calculates the Gauss Quadrature (2.Leistungsnachweis)

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

Field Summary
protected static Logger localLogger
           
 
Method Summary
static MathObject calcDoubleIntegration(double a, double b, double c, double d, java.lang.reflect.Method h1, java.lang.reflect.Method h2, java.lang.reflect.Method q, int z1, int z2, Vector ax, Vector hx, Vector ay, Vector hy)
          Calculate the Gauss-Quadrature to solve an integral
static MathObject calcIntegration(double a, double b, java.lang.reflect.Method h1, java.lang.reflect.Method h2, java.lang.reflect.Method q, int z1, int z2, Vector ax, Vector hx, Vector ay, Vector hy, int figure)
          Calculate the Gauss-Quadrature to solve an integral
static MathObject calcSingleIntegration(double a, double b, java.lang.reflect.Method h1, java.lang.reflect.Method h2, java.lang.reflect.Method q, int z1, int z2, Vector ay, Vector hy)
          Calculate one single integral via the gauss quadrature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localLogger

protected static Logger localLogger
Method Detail

calcDoubleIntegration

public static MathObject calcDoubleIntegration(double a,
                                               double b,
                                               double c,
                                               double d,
                                               java.lang.reflect.Method h1,
                                               java.lang.reflect.Method h2,
                                               java.lang.reflect.Method q,
                                               int z1,
                                               int z2,
                                               Vector ax,
                                               Vector hx,
                                               Vector ay,
                                               Vector hy)
Calculate the Gauss-Quadrature to solve an integral

Parameters:
a, - lower-border of the outer-integral
b, - upper-border of the outer-integral
c, - the lower-border of the inner-integral
d, - the upper-border of the outer-integral
h1, - first part of the integral
h2, - second part of the integral
q, - third part of the integral
z1, - size of the vector in h1 (used to determine the position integer)
z2, - size of the vector in h2 (used to determine the position integer)
ax, - "stuetzstellen" vector of "a" for x
hx - "gewichtung" vector of "h" for x
ay - "stuetzstellen" vector of "a" for y
hy - "gewichtung" vector of "h" for y
figure, - may be FIGURE_TRIANGLE or FIGURE_PARALLELOGRAM
Returns:
result matrix or vector or value or whatever it calculates

calcIntegration

public static MathObject calcIntegration(double a,
                                         double b,
                                         java.lang.reflect.Method h1,
                                         java.lang.reflect.Method h2,
                                         java.lang.reflect.Method q,
                                         int z1,
                                         int z2,
                                         Vector ax,
                                         Vector hx,
                                         Vector ay,
                                         Vector hy,
                                         int figure)
Calculate the Gauss-Quadrature to solve an integral

Parameters:
a, - lower-border of the outer-integral
b, - upper-border of the outer-integral
h1, - first part of the integral
h2, - second part of the integral
q, - third part of the integral
z1, - size of the vector in h1 (used to determine the position integer)
z2, - size of the vector in h2 (used to determine the position integer)
ax, - "stuetzstellen" vector of "a" for x
hx - "gewichtung" vector of "h" for x
ay - "stuetzstellen" vector of "a" for y
hy - "gewichtung" vector of "h" for y
figure, - may be FIGURE_TRIANGLE or FIGURE_PARALLELOGRAM
Returns:
result matrix or vector or value or whatever it calculates

calcSingleIntegration

public static MathObject calcSingleIntegration(double a,
                                               double b,
                                               java.lang.reflect.Method h1,
                                               java.lang.reflect.Method h2,
                                               java.lang.reflect.Method q,
                                               int z1,
                                               int z2,
                                               Vector ay,
                                               Vector hy)
Calculate one single integral via the gauss quadrature

Parameters:
a, - lower-border of the outer-integral
b, - upper-border of the outer-integral
h1, - first part of the integral
h2, - second part of the integral
q, - third part of the integral
z1, - size of the vector in h1 (used to determine the position integer)
z2, - size of the vector in h2 (used to determine the position integer)
ay - "stuetzstellen" vector of "a" for y
hy - "gewichtung" vector of "h" for y
Returns:
result matrix or vector or value or whatever it calculates