#include <InnerInterfaceJoint.h>
Public Member Functions | |
TInnerInterfaceJoint (TBaseCell *neighb0) | |
TInnerInterfaceJoint (TBaseCell *neighb0, TBaseCell *neighb1) | |
virtual TJoint * | NewInst (double T_0, double T_1, TBaseCell *Me) |
virtual TJoint * | NewInst () |
virtual bool | InnerJoint () const |
void | SetChild (TInnerInterfaceJoint *child) |
TInnerInterfaceJoint * | GetChild (int child) const |
TBaseCell * | GetNeighbour (int i) const |
void | SetParams (double xstart, double ystart, double delx, double dely) |
void | GetParams (double &xstart, double &ystart, double &delx, double &dely) const |
double | GetLength () const |
void | GetNormal (double &nx, double &ny) const |
void | GetTangent (double &tx, double &ty) const |
int | GetIndexInNeighbor (TBaseCell const *const neigh) |
void | SetIndexInNeighbor (TBaseCell *neigh, int index) |
Public Member Functions inherited from TJointEqN | |
TJointEqN (TBaseCell *neighb0) | |
TJointEqN (TBaseCell *neighb0, TBaseCell *neighb1) | |
virtual int | CheckMatchingRef (TBaseCell *Me, int J_i, struct StoreGeom &Tmp) |
virtual int | CheckMatchingRef (TBaseCell *Me, int J_i, StoreGeomMortar &Tmp) |
Public Member Functions inherited from TJoint | |
JointType | GetType () |
void | ChangeType (JointType New_ID) |
void | SetMapType () |
void | SetMapType (int maptype) |
int | GetMapType () const |
int | GetNeighbourEdgeIndex (TBaseCell *, int) |
int | SetNeighbour (TBaseCell *Neighb) |
TBaseCell * | GetNeighbour (TBaseCell *Me) const |
int | SetNeighbour (int i, TBaseCell *Neighb) |
TBaseCell * | GetNeighbour (int i) const |
void | Delete (TBaseCell *Neighb) |
TBaseCell * | GetNeighb (int i) const |
void | GetMapperRef (const int *&MapVerts, const int *&MapFaces) |
void | GetMapperOrig (const int *&MapVerts, const int *&MapEdges) |
void | SetClipBoard (int value) |
int | GetClipBoard () |
void | SetNeibSubDomainLocalJointNo (int value) |
int | GetNeibSubDomainLocalJointNo () |
Public Attributes | |
int | NeibGlobalCellNo [2] |
int | SubDomainsID [2] |
Protected Attributes | |
TInnerInterfaceJoint * | children [2] |
double | Xstart |
double | Ystart |
double | delX |
double | delY |
int | IndexInNeighbor [2] |
Protected Attributes inherited from TJoint | |
JointType | ID |
TBaseCell * | Neighb0 |
TBaseCell * | Neighb1 |
int | ClipBoard |
int | NeibSubDomainLocalJointNo |
int | MapType |
connects two cells on an interface
TInnerInterfaceJoint::TInnerInterfaceJoint | ( | TBaseCell * | neighb0 | ) |
constructor with one initial neighbour
TInnerInterfaceJoint * TInnerInterfaceJoint::GetChild | ( | int | child | ) | const |
return one of the two children of this edge
int TInnerInterfaceJoint::GetIndexInNeighbor | ( | TBaseCell const *const | neigh | ) |
set/get the index of this joint in given neighbor
get the index of this joint in given neighbor
double TInnerInterfaceJoint::GetLength | ( | ) | const |
Compute the length of this edge
TBaseCell * TInnerInterfaceJoint::GetNeighbour | ( | int | i | ) | const |
Get either one of the two neighbors
void TInnerInterfaceJoint::GetNormal | ( | double & | nx, |
double & | ny | ||
) | const |
the unit normal of this edge
void TInnerInterfaceJoint::GetParams | ( | double & | xstart, |
double & | ystart, | ||
double & | delx, | ||
double & | dely | ||
) | const |
get the coordinates of the start point and the vector pointing to the second point
void TInnerInterfaceJoint::GetTangent | ( | double & | tx, |
double & | ty | ||
) | const |
the unit tangential of this edge
|
inlinevirtual |
return whether this is an interior joint
Reimplemented from TJointEqN.
create a new instance of the same class
Reimplemented from TJointEqN.
void TInnerInterfaceJoint::SetChild | ( | TInnerInterfaceJoint * | child | ) |
Remember which joints are children of this joint
void TInnerInterfaceJoint::SetIndexInNeighbor | ( | TBaseCell * | neigh, |
int | index | ||
) |
set the index of this joint in given neighbor
void TInnerInterfaceJoint::SetParams | ( | double | xstart, |
double | ystart, | ||
double | delx, | ||
double | dely | ||
) |
set/get the coordinates of the start point and the vector pointing to the second point
set the coordinates of the start point and the vector pointing to the second point
|
protected |
during refinement the two children are marked in the following list
|
protected |
x progress of line
|
protected |
y progress of line
|
protected |
The index of this joint in the two neighbors
int TInnerInterfaceJoint::NeibGlobalCellNo[2] |
global cell number of the neibs' cell, which contains this joint
|
protected |
x coordinate of the begin of line
|
protected |
y coordinate of the begin of line