FEJDMath
Class SimulBCT1Thread

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

class SimulBCT1Thread
extends java.lang.Thread

The thread used to simulate the boundary conditions of the first type


Field Summary
private  double[] lastVector
          The last vector
private  Mesh m
          The mesh on which the computation is performed
private  SkyLine stiffnessMatrix
          The stiffness matrix
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SimulBCT1Thread(Mesh m, double[] lastVector, SkyLine stiffnessMatrix)
          Construcs a new thread for simulating the boundary conditions of first type
 
Method Summary
 void run()
          Performs the simulation, (ie highlight the rows and columns corresponding to dirichlet nodes), sets the diagonal entries of the matrix corresponding to dirichlet nodes to 1 and sets the values of the dirichlet nodes in the last vector
 
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 computation is performed


lastVector

private double[] lastVector
The last vector


stiffnessMatrix

private SkyLine stiffnessMatrix
The stiffness matrix

Constructor Detail

SimulBCT1Thread

public SimulBCT1Thread(Mesh m,
                       double[] lastVector,
                       SkyLine stiffnessMatrix)
Construcs a new thread for simulating the boundary conditions of first type

Method Detail

run

public void run()
Performs the simulation, (ie highlight the rows and columns corresponding to dirichlet nodes), sets the diagonal entries of the matrix corresponding to dirichlet nodes to 1 and sets the values of the dirichlet nodes in the last vector