ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
TInnerInterfaceJoint Class Reference

#include <InnerInterfaceJoint.h>

Inheritance diagram for TInnerInterfaceJoint:
Inheritance graph
[legend]
Collaboration diagram for TInnerInterfaceJoint:
Collaboration graph
[legend]

Public Member Functions

 TInnerInterfaceJoint (TBaseCell *neighb0)
 
 TInnerInterfaceJoint (TBaseCell *neighb0, TBaseCell *neighb1)
 
virtual TJointNewInst (double T_0, double T_1, TBaseCell *Me)
 
virtual TJointNewInst ()
 
virtual bool InnerJoint () const
 
void SetChild (TInnerInterfaceJoint *child)
 
TInnerInterfaceJointGetChild (int child) const
 
TBaseCellGetNeighbour (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)
 
TBaseCellGetNeighbour (TBaseCell *Me) const
 
int SetNeighbour (int i, TBaseCell *Neighb)
 
TBaseCellGetNeighbour (int i) const
 
void Delete (TBaseCell *Neighb)
 
TBaseCellGetNeighb (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

TInnerInterfaceJointchildren [2]
 
double Xstart
 
double Ystart
 
double delX
 
double delY
 
int IndexInNeighbor [2]
 
- Protected Attributes inherited from TJoint
JointType ID
 
TBaseCellNeighb0
 
TBaseCellNeighb1
 
int ClipBoard
 
int NeibSubDomainLocalJointNo
 
int MapType
 

Detailed Description

connects two cells on an interface

Constructor & Destructor Documentation

TInnerInterfaceJoint::TInnerInterfaceJoint ( TBaseCell neighb0)

constructor with one initial neighbour

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

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

virtual bool TInnerInterfaceJoint::InnerJoint ( ) const
inlinevirtual

return whether this is an interior joint

Reimplemented from TJointEqN.

TJoint * TInnerInterfaceJoint::NewInst ( double  T_0,
double  T_1,
TBaseCell Me 
)
virtual

create a new instance of the same class

Reimplemented from TJointEqN.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Member Data Documentation

TInnerInterfaceJoint* TInnerInterfaceJoint::children[2]
protected

during refinement the two children are marked in the following list

double TInnerInterfaceJoint::delX
protected

x progress of line

double TInnerInterfaceJoint::delY
protected

y progress of line

int TInnerInterfaceJoint::IndexInNeighbor[2]
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

double TInnerInterfaceJoint::Xstart
protected

x coordinate of the begin of line

double TInnerInterfaceJoint::Ystart
protected

y coordinate of the begin of line


The documentation for this class was generated from the following files: