fhm.edu.fem.calc
Class FEMCalcTemperature

java.lang.Object
  extended by fhm.edu.fem.calc.FEMCalc
      extended by fhm.edu.fem.calc.FEMCalcGauss
          extended by fhm.edu.fem.calc.FEMCalcTemperature
Direct Known Subclasses:
FEMCalcMembrane

public class FEMCalcTemperature
extends FEMCalcGauss

Class Description: This class extends from the FEMCalcGauss class taking care of the whole calculation. The difference is that this class overwrites the method start() as well as the method calculation() from FEMCalc which is the base-class. It makes use of the method compilation() from FEMCalcGauss. This class is being used when we have a FEM3 File with CTabs used for temperature calculations.

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

Field Summary
protected  double alpha
           
protected  double fxyValue
           
protected static int OUTER_POINTS_LINE_INTEGRAL
           
protected  Vector vectorB
           
 
Fields inherited from class fhm.edu.fem.calc.FEMCalcGauss
INNER_POINTS, OUTER_POINTS
 
Fields inherited from class fhm.edu.fem.calc.FEMCalc
APPROACH_LINEAR, APPROACH_QUADRATIC, completeStiffnessMatrix, femManager, localLogger, startTime, tmpTime, totalTime
 
Constructor Summary
FEMCalcTemperature()
          Create a new FEM Calculator for Temperature Tasks
 
Method Summary
protected  boolean calculate(Calculation calc)
          Do the calculation, overwritten from FEMCalc because we still need to get the results of Vector B into the calculation
protected  boolean createLineIntegral()
          Build the line integral and compile it onto the complete stiffness matrix
protected  boolean createVectorB()
          Do the compilation of the vector B
protected static void displaySpecificResults(Vector u)
          This method displays the specific results for certain nodes we need to compare the results with the ones from the "Schwartz" book
 boolean start()
          Call this method to start the calculation
 
Methods inherited from class fhm.edu.fem.calc.FEMCalcGauss
compilation
 
Methods inherited from class fhm.edu.fem.calc.FEMCalc
getCompleteStiffnessMatrix, getTotalTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha

protected double alpha

fxyValue

protected double fxyValue

OUTER_POINTS_LINE_INTEGRAL

protected static int OUTER_POINTS_LINE_INTEGRAL

vectorB

protected Vector vectorB
Constructor Detail

FEMCalcTemperature

public FEMCalcTemperature()
Create a new FEM Calculator for Temperature Tasks

Method Detail

calculate

protected boolean calculate(Calculation calc)
Do the calculation, overwritten from FEMCalc because we still need to get the results of Vector B into the calculation

Overrides:
calculate in class FEMCalc
Parameters:
calc, - the calculation object
Returns:
true if all went well, false otherwise

createLineIntegral

protected boolean createLineIntegral()
Build the line integral and compile it onto the complete stiffness matrix

Returns:
true if all went well, false otherwise

createVectorB

protected boolean createVectorB()
Do the compilation of the vector B

Returns:
true if all went well, false otherwise

displaySpecificResults

protected static void displaySpecificResults(Vector u)
This method displays the specific results for certain nodes we need to compare the results with the ones from the "Schwartz" book

Parameters:
u, - the result vector

start

public boolean start()
Call this method to start the calculation

Overrides:
start in class FEMCalc
Returns:
true if all went well, false otherwise