FEJDMath
Class Border3

java.lang.Object
  extended byFEJDMath.MeshBorder
      extended byFEJDMath.Border3

class Border3
extends MeshBorder

Represents an edge of the mesh whose nodes have robin boundary conditions


Field Summary
private  double a
          The values of the boundary conditions
private  double b
          The values of the boundary conditions
private  double[][] BCMatrix
          The matrix used to store the value of the boundary conditions
private  double[] BCVector
          The vector used to store the value of the boundary conditions
 
Fields inherited from class FEJDMath.MeshBorder
 
Constructor Summary
Border3(MeshBorder e, double aa, double bb)
           
 
Method Summary
 void calcBCondition()
          Computes the boundary conditions and modifies the vector and the matrix to take boundary conditions of the first type into account, unlike the mehod described in the book, the modifications due to boundary confitions of the first type are computes at the element level and not at the end
 double geta()
          Returns the coefficient a of the boundary condition
 double getb()
          Returns the coefficient a of the boundary condition
 void seta(double aa)
          Sets the coefficient a to aa
 void setb(double bb)
          Sets the coefficient b to bb
 java.lang.String toString()
          Returns a description of the border, ie its global number and those of its nodes
 java.lang.String toString2()
          Returns only the global number
 
Methods inherited from class FEJDMath.MeshBorder
getGlobalNb, getMeshPoint, getNbOfMeshPoints, getNode, getNode1, getNode2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BCVector

private double[] BCVector
The vector used to store the value of the boundary conditions


BCMatrix

private double[][] BCMatrix
The matrix used to store the value of the boundary conditions


a

private double a
The values of the boundary conditions


b

private double b
The values of the boundary conditions

Constructor Detail

Border3

public Border3(MeshBorder e,
               double aa,
               double bb)
Parameters:
e - the considered MeshBorder
aa - the first value of the boundary condition (the value denoted alpha(x) in the book)
bb - the seceond value of the boundary condition (the value denoted uA(x) in the book)
Method Detail

geta

public double geta()
Returns the coefficient a of the boundary condition


seta

public void seta(double aa)
Sets the coefficient a to aa


getb

public double getb()
Returns the coefficient a of the boundary condition


setb

public void setb(double bb)
Sets the coefficient b to bb


toString

public java.lang.String toString()
Description copied from class: MeshBorder
Returns a description of the border, ie its global number and those of its nodes

Overrides:
toString in class MeshBorder

toString2

public java.lang.String toString2()
Description copied from class: MeshBorder
Returns only the global number

Overrides:
toString2 in class MeshBorder

calcBCondition

public void calcBCondition()
Computes the boundary conditions and modifies the vector and the matrix to take boundary conditions of the first type into account, unlike the mehod described in the book, the modifications due to boundary confitions of the first type are computes at the element level and not at the end

Overrides:
calcBCondition in class MeshBorder