|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFEJDMath.Elem
FEJDMath.Triangle
Represents a triangular element of the mesh
Field Summary | |
private int |
marks
The number of split edges of the triangle, -1 if the triangle has already been split (used for the refinement) |
private java.util.Vector |
Neigh
Array containing the neighbors of the element |
Fields inherited from class FEJDMath.Elem |
|
Constructor Summary | |
Triangle(int nb,
Node n0,
Node n1,
Node n2)
|
|
Triangle(int nb,
Node n0,
Node n1,
Node n2,
MeshPoint[] arr)
|
Method Summary | |
void |
addMark()
Add a mark the triangle |
void |
addNeigh(Triangle t)
Add the Triangle n to the list of neighbours of the Triangle |
void |
addNeigh(Triangle[] triangleArray)
Add the array of Triangle tabTriangle to the list of neighbours of the Triangle |
Matrix22 |
calcJacobiAt(int i)
Computes the Jacobi of the element at the ith quadrature point |
void |
deleteNeigh()
Deletes neighbours of the Triangle |
int |
getNbOfMarks()
Returns the number of Marks of the triangle |
int |
getNbOfNeigh()
Returns the number of neighbours of the Triangle |
Triangle |
getNeigh(int i)
Returns the ith neighbour of the Triangle |
int |
getNumberOfNodes()
Returns the number of Nodes (of summits) of the element |
void |
setMarks(int m)
Sets the Marks of the triangle to m |
java.lang.String |
toString()
Returns a description of the element |
java.lang.String |
toString2()
Returns a description of the elements and the global number of its neighbors |
Vector2 |
xi2x(int i)
Performs the transformation from Xi to X of the ith quadrature point, used for the computation of the values of f |
Methods inherited from class FEJDMath.Elem |
calcElementMatrix, calcElementVector, clone, getGlobalNb, getMeshPoint, getNbOfMeshPoints, getNode, setMeshPoint, setNbOfMeshPoints |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.util.Vector Neigh
private int marks
Constructor Detail |
public Triangle(int nb, Node n0, Node n1, Node n2, MeshPoint[] arr)
nb
- the global nb of the Trianglen0
- the first node of the trianglen1
- the second node of the trianglen2
- the third node of the trianglepublic Triangle(int nb, Node n0, Node n1, Node n2)
nb
- the global number of the Trianglen0
- the first node of the trianglen1
- the second node of the trianglen2
- the third node of the triangleMethod Detail |
public int getNumberOfNodes()
Elem
getNumberOfNodes
in class Elem
public Matrix22 calcJacobiAt(int i)
Elem
calcJacobiAt
in class Elem
public Vector2 xi2x(int i)
Elem
xi2x
in class Elem
public java.lang.String toString()
Elem
toString
in class Elem
public int getNbOfMarks()
public void setMarks(int m)
public void addMark()
public Triangle getNeigh(int i)
public int getNbOfNeigh()
public void deleteNeigh()
public void addNeigh(Triangle t)
public void addNeigh(Triangle[] triangleArray)
public java.lang.String toString2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |