|
|
implementation of a triangle element with lines as edges, and 3 nodes in the corners
TopoTriangle2d (TopoNode2d* n1, TopoNode2d* n2,TopoNode2d* n3, TopoLineEdge2d* e1,TopoLineEdge2d* e2, TopoLineEdge2d* e3)
| TopoTriangle2d |
construct a triangle by giving the edges and the nodes -> constructor will automatically add the triangle in the element list of the nodes -> .... in the neiighbours list of the edges like this everything is kept in order (linking to each other)
~TopoTriangle2d ()
| ~TopoTriangle2d |
void draw (QPainter *p)
| draw |
[virtual]
see abstract base class
Reimplemented from TopoClass.
double surface ()
| surface |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
void setLocMat (uint localnodeI, uint localnodeJ, double value)
| setLocMat |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
double locMat (uint localnodeI, uint localnodeJ)
| locMat |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
void setLocForce (uint localnodeJ, double value)
| setLocForce |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
double locForce ( uint localnodeJ)
| locForce |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
double localBasisFunc (int nodeI, double coor1, double coor2)
| localBasisFunc |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
double localBasisFuncD1 (int nodeI, double coor1, double coor2)
| localBasisFuncD1 |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
double localBasisFuncD2 (int nodeI, double coor1, double coor2)
| localBasisFuncD2 |
[virtual]
see abstract base class
Reimplemented from TopoElement2d.
bool testTopoTriangle2d ()
| testTopoTriangle2d |
[static]
a test function of all the functionality
Matrix33 localStiffMatrix | localStiffMatrix |
[private]
Vector3D localForceVect | localForceVect |
[private]
void calcSurf ()
| calcSurf |
[protected]
method to calculate the surface of a triangle