#include <mrtr_segment_bilineartri.H>
Inheritance diagram for MOERTEL::Segment_BiLinearTri:


Public Member Functions | |
Constructors and destructors | |
| Segment_BiLinearTri (int id, int nnode, int *nodeId, int out) | |
| Standard Constructor. | |
| Segment_BiLinearTri (int out) | |
| Empty Constructor. | |
| Segment_BiLinearTri (MOERTEL::Segment_BiLinearTri &old) | |
| Copy Constructor. | |
| virtual | ~Segment_BiLinearTri () |
| Destructor. | |
| MOERTEL::Segment * | Clone () |
| Deep copy this instance of Segment_BiLinearTri and return pointer to the copy. | |
Public members | |
| int * | Pack (int *size) |
| Pack some data from this class to an int vector of length size so it can be communicated using MPI. | |
| bool | UnPack (int *pack) |
| Unpack some data an int vector and store data in this class. | |
| double * | BuildNormal (double *xi) |
| Build an outward normal at segment coordinates xi. | |
| double | Area () |
| Compute and return the area of this Segment_BiLinearTri. | |
| double | Metric (double *xi, double g[], double G[][3]) |
| not implemented | |
| bool | LocalCoordinatesOfNode (int lid, double *xi) |
| Get local coords of a node attached to this segment with local node Id lid. | |
Protected Member Functions | |
| Segment_BiLinearTri | operator= (const Segment &old) |
This class defines a 3-noded linear 2D triangle interface surface segment.
Important:
Upon construction, the user must assure that the nodes attached to this segment are given in counter-clockwise order such that the outward normal to the domain points out from the screen:
Node 2
o
/ |
/ |
/ |
/ | <-------|
/ | domain surface |
/ | ------
/ |
/ |
/ |
o----------o
Node 0 Node 1The reason for this is that the outward normal to the interface is implicitly defined by the orientation of the segments. There is no way for the MOERTEL package to check the orientation of the segments as they are passed in by the user and most obscure results will be produced when the orientation is uncorrect!
The MOERTEL::Segment_BiLinearTri class supports the ostream& operator <<
|
||||||||||||||||||||
|
Standard Constructor.
|
|
|
Empty Constructor. To be used for communicating Segment_BiLinearTri classes among processes together with Pack and UnPack |
|
|
Copy Constructor. Makes a deep copy of a Segment_BiLinearTri |
1.3.9.1