NeoPZ
|
Special map to NACA. Geometry. More...
#include <tpzblendnaca.h>
Public Member Functions | |
TPZBlendNACA () | |
Default constructor. More... | |
TPZBlendNACA (REAL cord, int FourDigits, REAL angle, TPZVec< REAL > &x0) | |
Constructor. More... | |
~TPZBlendNACA () | |
Default destructor. More... | |
template<class Type > | |
Type | xua (Type x) |
More... | |
template<class Type > | |
Type | yua (Type x) |
template<class Type > | |
Type | xla (Type x) |
inferior profile More... | |
template<class Type > | |
Type | yla (Type x) |
template<class Type > | |
void | ProjectPoint (TPZVec< Type > &pt, int maxPt=1000) |
More... | |
virtual void | ParametricDomainNodeCoord (int node, TPZVec< REAL > &nodeCoord) |
template<> | |
REAL | yc (REAL x) |
template<> | |
REAL | dyc (REAL x) |
template<> | |
REAL | yt (REAL x) |
template<> | |
REAL | xu (REAL x) |
template<> | |
REAL | yu (REAL x) |
template<> | |
REAL | xl (REAL x) |
template<> | |
REAL | yl (REAL x) |
template<> | |
void | NearestParameter (TPZVec< REAL > &pt, int &uplow, int maxPt, REAL &Result) |
template<> | |
REAL | xua (REAL x) |
template<> | |
REAL | yua (REAL x) |
template<> | |
REAL | xla (REAL x) |
template<> | |
REAL | yla (REAL x) |
template<> | |
void | ProjectPoint (TPZVec< REAL > &pt, int maxPt) |
Public Attributes | |
REAL | fCord |
int | fFourDigits |
REAL | fAngle |
REAL | fX0 [3] |
REAL | fP |
REAL | fM |
REAL | fTT |
Private Member Functions | |
template<class Type > | |
Type | P () |
Creates a geometric element according to the type of the father element. More... | |
template<class Type > | |
Type | M () |
template<class Type > | |
Type | TT () |
template<class Type > | |
Type | yc (Type x) |
Mean line for the wing. More... | |
template<class Type > | |
Type | dyc (Type x) |
template<class Type > | |
Type | yt (Type x) |
Thickness. More... | |
template<class Type > | |
Type | xu (Type x) |
Superior profile. More... | |
template<class Type > | |
Type | yu (Type x) |
template<class Type > | |
Type | xl (Type x) |
Inferior profile. More... | |
template<class Type > | |
Type | yl (Type x) |
template<class Type > | |
void | NearestParameter (TPZVec< REAL > &pt, int &uplow, int maxPt, Type &) |
Special map to NACA. Geometry.
Definition at line 22 of file tpzblendnaca.h.
TPZBlendNACA::TPZBlendNACA | ( | ) |
Default constructor.
Definition at line 21 of file tpzblendnaca.cpp.
TPZBlendNACA::TPZBlendNACA | ( | REAL | cord, |
int | FourDigits, | ||
REAL | angle, | ||
TPZVec< REAL > & | x0 | ||
) |
TPZBlendNACA::~TPZBlendNACA | ( | ) |
Default destructor.
Definition at line 36 of file tpzblendnaca.cpp.
|
private |
Definition at line 84 of file tpzblendnaca.cpp.
Referenced by ParametricDomainNodeCoord(), xl(), xu(), yl(), and yu().
REAL TPZBlendNACA::dyc | ( | REAL | x | ) |
|
private |
Definition at line 50 of file tpzblendnaca.cpp.
References fCord, and fFourDigits.
Referenced by ParametricDomainNodeCoord().
|
private |
Definition at line 151 of file tpzblendnaca.cpp.
References fabs, fCord, xla(), xua(), yla(), and yua().
Referenced by ParametricDomainNodeCoord(), and ProjectPoint().
void TPZBlendNACA::NearestParameter | ( | TPZVec< REAL > & | pt, |
int & | uplow, | ||
int | maxPt, | ||
REAL & | Result | ||
) |
|
private |
Creates a geometric element according to the type of the father element.
Definition at line 41 of file tpzblendnaca.cpp.
References fFourDigits.
Referenced by ParametricDomainNodeCoord().
|
inlinevirtual |
void TPZBlendNACA::ProjectPoint | ( | TPZVec< Type > & | pt, |
int | maxPt = 1000 |
||
) |
Definition at line 264 of file tpzblendnaca.cpp.
References NearestParameter(), xla(), xua(), yla(), and yua().
void TPZBlendNACA::ProjectPoint | ( | TPZVec< REAL > & | pt, |
int | maxPt | ||
) |
|
private |
Definition at line 59 of file tpzblendnaca.cpp.
References fCord, and fFourDigits.
Referenced by ParametricDomainNodeCoord().
|
private |
Inferior profile.
Definition at line 133 of file tpzblendnaca.cpp.
References atan, dyc(), sin, and yt().
Referenced by ParametricDomainNodeCoord(), xla(), and yla().
REAL TPZBlendNACA::xl | ( | REAL | x | ) |
Type TPZBlendNACA::xla | ( | Type | x | ) |
inferior profile
Definition at line 248 of file tpzblendnaca.cpp.
References cos(), fAngle, fCord, fX0, sin, xl(), and yl().
Referenced by NearestParameter(), and ProjectPoint().
REAL TPZBlendNACA::xla | ( | REAL | x | ) |
|
private |
Superior profile.
Definition at line 115 of file tpzblendnaca.cpp.
References atan, dyc(), sin, and yt().
Referenced by ParametricDomainNodeCoord(), xua(), and yua().
REAL TPZBlendNACA::xu | ( | REAL | x | ) |
Type TPZBlendNACA::xua | ( | Type | x | ) |
with attack angle superior profile
Definition at line 231 of file tpzblendnaca.cpp.
References cos(), fAngle, fCord, fX0, sin, xu(), and yu().
Referenced by NearestParameter(), and ProjectPoint().
REAL TPZBlendNACA::xua | ( | REAL | x | ) |
|
private |
Mean line for the wing.
Definition at line 68 of file tpzblendnaca.cpp.
Referenced by ParametricDomainNodeCoord(), yl(), and yu().
REAL TPZBlendNACA::yc | ( | REAL | x | ) |
|
private |
Definition at line 141 of file tpzblendnaca.cpp.
References atan, cos(), dyc(), yc(), and yt().
Referenced by ParametricDomainNodeCoord(), xla(), and yla().
REAL TPZBlendNACA::yl | ( | REAL | x | ) |
Type TPZBlendNACA::yla | ( | Type | x | ) |
Definition at line 256 of file tpzblendnaca.cpp.
References cos(), fAngle, fCord, fX0, sin, xl(), and yl().
Referenced by NearestParameter(), and ProjectPoint().
REAL TPZBlendNACA::yla | ( | REAL | x | ) |
|
private |
Thickness.
Definition at line 99 of file tpzblendnaca.cpp.
References fCord, fTT, and sqrt.
Referenced by ParametricDomainNodeCoord(), xl(), xu(), yl(), and yu().
REAL TPZBlendNACA::yt | ( | REAL | x | ) |
|
private |
Definition at line 125 of file tpzblendnaca.cpp.
References atan, cos(), dyc(), yc(), and yt().
Referenced by ParametricDomainNodeCoord(), xua(), and yua().
REAL TPZBlendNACA::yu | ( | REAL | x | ) |
Type TPZBlendNACA::yua | ( | Type | x | ) |
Definition at line 240 of file tpzblendnaca.cpp.
References cos(), fAngle, fCord, fX0, sin, xu(), and yu().
Referenced by NearestParameter(), and ProjectPoint().
REAL TPZBlendNACA::yua | ( | REAL | x | ) |
REAL TPZBlendNACA::fAngle |
REAL TPZBlendNACA::fCord |
int TPZBlendNACA::fFourDigits |
Definition at line 97 of file tpzblendnaca.h.
REAL TPZBlendNACA::fM |
Definition at line 101 of file tpzblendnaca.h.
Referenced by dyc(), TPZBlendNACA(), and yc().
REAL TPZBlendNACA::fP |
Definition at line 100 of file tpzblendnaca.h.
Referenced by dyc(), TPZBlendNACA(), and yc().
REAL TPZBlendNACA::fTT |
Definition at line 102 of file tpzblendnaca.h.
Referenced by TPZBlendNACA(), and yt().
REAL TPZBlendNACA::fX0[3] |
Definition at line 99 of file tpzblendnaca.h.
Referenced by TPZBlendNACA(), xla(), xua(), yla(), and yua().