FEJDMath
Class Border2

java.lang.Object
  extended byFEJDMath.MeshBorder
      extended byFEJDMath.Border2

public class Border2
extends MeshBorder

Represents a border of the mesh whose nodes have neumann boundary conditions


Field Summary
private  double a
          The value of the boundary condition
private  double[] BCVector
          The vector used to store the value of the boundary conditions
 
Fields inherited from class FEJDMath.MeshBorder
 
Constructor Summary
Border2(MeshBorder e, double aa)
           
 
Method Summary
 void calcBCondition()
          Computes the boundary conditions and adds them to the last vector
 double geta()
          Returns the coefficient a of the boundary condition
 void seta(double aa)
          Sets the coefficient a to aa
 java.lang.String toString()
          Returns a decription of the border
 java.lang.String toString2()
          Returns a decription of the border containing only its global number and the value of a
 
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


a

private double a
The value of the boundary condition

Constructor Detail

Border2

public Border2(MeshBorder e,
               double aa)
Parameters:
e - the considered MeshBorder
aa - the value of the boundary condition
Method Detail

toString

public java.lang.String toString()
Returns a decription of the border

Overrides:
toString in class MeshBorder

toString2

public java.lang.String toString2()
Returns a decription of the border containing only its global number and the value of a

Overrides:
toString2 in class MeshBorder

geta

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


seta

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


calcBCondition

public void calcBCondition()
Computes the boundary conditions and adds them to the last vector

Overrides:
calcBCondition in class MeshBorder