FEJDMath
Class SolutionThread

java.lang.Object
  extended byjava.lang.Thread
      extended byFEJDMath.SolutionThread
All Implemented Interfaces:
java.lang.Runnable

class SolutionThread
extends java.lang.Thread

The thread used to solve the problem


Field Summary
private  double[] lastVector
          The last vector
private  Mesh m
          The mesh on which the calculation is performed
private  SkyLine stiffnessMatrix
          The stiffness matrix
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SolutionThread(Mesh m, double[] lastVector, SkyLine stiffnessMatrix)
          Constructs a new thread for solving the problem
 
Method Summary
 void run()
          Solves the problem, ie calls the methods of skyline to make the decomposition and perform the back anf forward substitution, mesh points are then set to their right temperature
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m

private Mesh m
The mesh on which the calculation is performed


lastVector

private double[] lastVector
The last vector


stiffnessMatrix

private SkyLine stiffnessMatrix
The stiffness matrix

Constructor Detail

SolutionThread

public SolutionThread(Mesh m,
                      double[] lastVector,
                      SkyLine stiffnessMatrix)
Constructs a new thread for solving the problem

Method Detail

run

public void run()
Solves the problem, ie calls the methods of skyline to make the decomposition and perform the back anf forward substitution, mesh points are then set to their right temperature