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

#include <BdCircle.h>

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

Public Member Functions

 TBdCircle (int id)
 
void SetParams (double xmid, double ymid, double radius_a, double radius_b, double phi1, double phi2)
 
virtual int GetXYofT (double T, double &X, double &Y)
 
virtual int GetTofXY (double X, double Y, double &T)
 
virtual int ReadIn (std::ifstream &dat)
 
virtual int GetN_InitVerts ()
 
virtual int GenInitVerts (double *&points, int I_points, int *&edges, int I_edges)
 
- Public Member Functions inherited from TBoundComp2D
 TBoundComp2D (int id)
 
- Public Member Functions inherited from TBoundComp
 TBoundComp (int id, int ref=-1)
 
int GetID () const
 
BoundTypes GetType () const
 
bool IsFreeBoundary () const
 
void SetFreeBoundaryStatus (bool status)
 
void ChangeType (BoundTypes New_Type)
 
void SetRefID (int _ref)
 
int GetRefID () const
 

Protected Member Functions

int GetN_InitVertsSub (double Phi_a, double Phi_b, int Level)
 
int GenInitVertsSub (double Phi_a, double Phi_b, int Level, double *&points, int &I_points, int *&edges, int &I_edges)
 

Protected Attributes

double Xmid
 
double Ymid
 
double Radius_a
 
double Radius_b
 
double Phi1
 
double Phi2
 
- Protected Attributes inherited from TBoundComp
int ID
 
BoundTypes Type
 
bool FreeBoundaryStatus
 
int refID
 

Detailed Description

a part of a circle as a component of a boundary part

Member Function Documentation

int TBdCircle::GetN_InitVerts ( )
virtual

get number of initial vertices on this component

Implements TBoundComp2D.

int TBdCircle::GetTofXY ( double  X,
double  Y,
double &  T 
)
virtual

return the parameter value T of coordinates (X, Y)

Implements TBoundComp2D.

int TBdCircle::GetXYofT ( double  T,
double &  X,
double &  Y 
)
virtual

return the coordinates of parameter value T

Implements TBoundComp2D.

int TBdCircle::ReadIn ( std::ifstream &  dat)
virtual

read parameter from input file

Implements TBoundComp.

void TBdCircle::SetParams ( double  xmid,
double  ymid,
double  radius_a,
double  radius_b,
double  phi1,
double  phi2 
)

set all parameters to the given values

Member Data Documentation

double TBdCircle::Phi1
protected

begin angle

double TBdCircle::Phi2
protected

end angle

double TBdCircle::Radius_a
protected

radii of the arc

double TBdCircle::Xmid
protected

x coordinate of midpoint

double TBdCircle::Ymid
protected

y coordinate of midpoint


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