|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFEJDMath.MeshBorder
Represents an border of the mesh
Field Summary | |
private int |
globalNb
The blobal number of the border |
private MeshPoint[] |
tabMeshPoint
Array containing the meshpoints of the border |
Constructor Summary | |
MeshBorder(int nb,
Node nn1,
Node nn2)
|
|
MeshBorder(int nb,
Node nn1,
Node nn2,
MeshPoint[] mpTbl)
|
|
MeshBorder(MeshBorder e)
|
Method Summary | |
void |
calcBCondition()
Computes the boundary conditions (not for meshborders, only for borders...) |
int |
getGlobalNb()
Returns the global number of the edge |
MeshPoint |
getMeshPoint(int i)
Returns the ith MeshPoint |
int |
getNbOfMeshPoints()
Returns the number of MeshPoints of the border |
Node |
getNode(int i)
Returns the ith node (the same as getNode1() and getNode2() but may be used in a loop) |
Node |
getNode1()
Returns the first node |
Node |
getNode2()
Returns the second node |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private MeshPoint[] tabMeshPoint
private int globalNb
Constructor Detail |
public MeshBorder(int nb, Node nn1, Node nn2)
nb
- the global number of the bordernn1
- the first node of the bordernn2
- the second node of the borderpublic MeshBorder(int nb, Node nn1, Node nn2, MeshPoint[] mpTbl)
nb
- the global number of the bordernn1
- the first node of the bordernn2
- the second node of the bordermpTbl
- the array of the border's MeshPointspublic MeshBorder(MeshBorder e)
e
- an MeshBorder whose data will be copied into the new borderMethod Detail |
public java.lang.String toString()
public java.lang.String toString2()
public int getGlobalNb()
public MeshPoint getMeshPoint(int i)
public Node getNode(int i)
public Node getNode1()
public Node getNode2()
public int getNbOfMeshPoints()
public void calcBCondition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |