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

#include <BdSphere.h>

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

Public Member Functions

 TBdSphere (int id)
 
void SetParams (double m_x, double m_y, double m_z, double r)
 
virtual int GetXYZofTS (double T, double S, double &X, double &Y, double &Z)
 
virtual int GetTSofXYZ (double X, double Y, double Z, double &T, double &S)
 
virtual int GetXYZandTS (int N_Points, double *LinComb, double *xp, double *yp, double *zp, double *tp, double *sp, double &X, double &Y, double &Z, double &T, double &S)
 
virtual int ReadIn (std::ifstream &dat)
 
- Public Member Functions inherited from TBoundComp3D
 TBoundComp3D (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

double M_x
 
double M_y
 
double M_z
 
double R
 
- Protected Attributes inherited from TBoundComp
int ID
 
BoundTypes Type
 
bool FreeBoundaryStatus
 
int refID
 

Detailed Description

a Sphere as a component of a boundary part

Member Function Documentation

int TBdSphere::GetTSofXYZ ( double  X,
double  Y,
double  Z,
double &  T,
double &  S 
)
virtual

return the parameter value T, S of coordinates

Implements TBoundComp3D.

int TBdSphere::GetXYZandTS ( int  N_Points,
double *  LinComb,
double *  xp,
double *  yp,
double *  zp,
double *  tp,
double *  sp,
double &  X,
double &  Y,
double &  Z,
double &  T,
double &  S 
)
virtual

return parameters and coordinates of a given linear combination of vertices

Implements TBoundComp3D.

int TBdSphere::GetXYZofTS ( double  T,
double  S,
double &  X,
double &  Y,
double &  Z 
)
virtual

return the coordinates of parameter value T, S

Implements TBoundComp3D.

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

read parameter from input file

Implements TBoundComp.

void TBdSphere::SetParams ( double  m_x,
double  m_y,
double  m_z,
double  r 
)

set all parameters to the given values

Member Data Documentation

double TBdSphere::M_x
protected

coordinates of mid point of the Sphere

double TBdSphere::R
protected

Radius


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