![]() |
Ice Sheet System Model
4.18
Code documentation
|
#include <Triangle.h>
Public Member Functions | |
Triangle () | |
Triangle (Mesh *Th, long i, long j, long k) | |
Triangle (BamgVertex *v0, BamgVertex *v1, BamgVertex *v2) | |
const BamgVertex & | operator[] (int i) const |
BamgVertex & | operator[] (int i) |
const BamgVertex * | operator() (int i) const |
BamgVertex *& | operator() (int i) |
void | Echo () |
double | Length () const |
int | swap (short a1, int=0) |
long | Optim (short a, int=0) |
int | Locked (int a) const |
int | Hidden (int a) const |
int | GetAllflag (int a) |
short | NuEdgeTriangleAdj (int i) const |
AdjacentTriangle | Adj (int i) const |
Triangle * | TriangleAdj (int i) const |
void | Renumbering (Triangle *tb, Triangle *te, long *renu) |
void | Renumbering (BamgVertex *vb, BamgVertex *ve, long *renu) |
void | SetAdjAdj (short a) |
void | SetAdj2 (short a, Triangle *t, short aat) |
void | SetSingleVertexToTriangleConnectivity () |
void | SetHidden (int a) |
void | SetLocked (int a) |
void | SetMarkUnSwap (int a) |
void | SetUnMarkUnSwap (int a) |
void | Set (const Triangle &, const Mesh &, Mesh &) |
int | In (BamgVertex *v) const |
BamgVertex * | GetVertex (int i) |
Data Fields | |
long long | det |
union { | |
Triangle * link | |
long color | |
}; | |
Private Attributes | |
BamgVertex * | vertices [3] |
Triangle * | adj [3] |
short | AdjEdgeIndex [3] |
Friends | |
class | AdjacentTriangle |
Definition at line 13 of file Triangle.h.
bamg::Triangle::Triangle | ( | void | ) |
Definition at line 13 of file Triangle.cpp.
bamg::Triangle::Triangle | ( | Mesh * | Th, |
long | i, | ||
long | j, | ||
long | k | ||
) |
Definition at line 17 of file Triangle.cpp.
bamg::Triangle::Triangle | ( | BamgVertex * | v0, |
BamgVertex * | v1, | ||
BamgVertex * | v2 | ||
) |
Definition at line 34 of file Triangle.cpp.
|
inline |
Definition at line 35 of file Triangle.h.
|
inline |
Definition at line 36 of file Triangle.h.
|
inline |
Definition at line 37 of file Triangle.h.
|
inline |
Definition at line 38 of file Triangle.h.
void bamg::Triangle::Echo | ( | void | ) |
double bamg::Triangle::Length | ( | ) | const |
Definition at line 51 of file Triangle.cpp.
int bamg::Triangle::swap | ( | short | a1, |
int | koption = 0 |
||
) |
Definition at line 226 of file Triangle.cpp.
long bamg::Triangle::Optim | ( | short | a, |
int | koption = 0 |
||
) |
Definition at line 115 of file Triangle.cpp.
int bamg::Triangle::Locked | ( | int | a | ) | const |
Definition at line 108 of file Triangle.cpp.
int bamg::Triangle::Hidden | ( | int | a | ) | const |
Definition at line 105 of file Triangle.cpp.
int bamg::Triangle::GetAllflag | ( | int | a | ) |
Definition at line 102 of file Triangle.cpp.
short bamg::Triangle::NuEdgeTriangleAdj | ( | int | i | ) | const |
Definition at line 111 of file Triangle.cpp.
AdjacentTriangle bamg::Triangle::Adj | ( | int | i | ) | const |
Definition at line 48 of file Triangle.cpp.
Triangle * bamg::Triangle::TriangleAdj | ( | int | i | ) | const |
Definition at line 223 of file Triangle.cpp.
Definition at line 147 of file Triangle.cpp.
void bamg::Triangle::Renumbering | ( | BamgVertex * | vb, |
BamgVertex * | ve, | ||
long * | renu | ||
) |
Definition at line 154 of file Triangle.cpp.
void bamg::Triangle::SetAdjAdj | ( | short | a | ) |
Definition at line 171 of file Triangle.cpp.
void bamg::Triangle::SetAdj2 | ( | short | a, |
Triangle * | t, | ||
short | aat | ||
) |
Definition at line 182 of file Triangle.cpp.
void bamg::Triangle::SetSingleVertexToTriangleConnectivity | ( | ) |
Definition at line 213 of file Triangle.cpp.
void bamg::Triangle::SetHidden | ( | int | a | ) |
Definition at line 194 of file Triangle.cpp.
void bamg::Triangle::SetLocked | ( | int | a | ) |
Definition at line 202 of file Triangle.cpp.
void bamg::Triangle::SetMarkUnSwap | ( | int | a | ) |
Definition at line 208 of file Triangle.cpp.
void bamg::Triangle::SetUnMarkUnSwap | ( | int | a | ) |
Definition at line 218 of file Triangle.cpp.
Definition at line 159 of file Triangle.cpp.
|
inline |
Definition at line 63 of file Triangle.h.
|
inline |
Definition at line 64 of file Triangle.h.
|
friend |
Definition at line 15 of file Triangle.h.
|
private |
Definition at line 18 of file Triangle.h.
|
private |
Definition at line 19 of file Triangle.h.
|
private |
Definition at line 20 of file Triangle.h.
long long bamg::Triangle::det |
Definition at line 23 of file Triangle.h.
Triangle* bamg::Triangle::link |
Definition at line 25 of file Triangle.h.
long bamg::Triangle::color |
Definition at line 26 of file Triangle.h.
union { ... } |