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

#include <BdSpline.h>

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

Public Member Functions

 TBdSpline (int id, int N_Splines)
 
void SetParams (double *params)
 
int GetN_Splines ()
 
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 Attributes

int N_Splines
 
double * Params
 
- Protected Attributes inherited from TBoundComp
int ID
 
BoundTypes Type
 
bool FreeBoundaryStatus
 
int refID
 

Detailed Description

splie function as a component of a boundary part

Constructor & Destructor Documentation

TBdSpline::TBdSpline ( int  id,
int  N_Splines 
)

constructor initializes the parameter array

Member Function Documentation

virtual int TBdSpline::GetN_InitVerts ( )
inlinevirtual

get number of initial vertices on this component

Implements TBoundComp2D.

int TBdSpline::GetN_Splines ( )

get number of splines

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

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

Implements TBoundComp2D.

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

return new inner points for a good boundary approximation return the coordinates of parameter value T

Implements TBoundComp2D.

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

read parameter from input file

Implements TBoundComp.

void TBdSpline::SetParams ( double *  params)

set all parameters

Member Data Documentation

int TBdSpline::N_Splines
protected

number of subsplines

double* TBdSpline::Params
protected

array for all parameters


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