NeoPZ
Public Member Functions | Public Attributes | Private Member Functions | List of all members
TPZBlendNACA Class Reference

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 &)
 

Detailed Description

Special map to NACA. Geometry.

Author
caju2008 < caju@skol >

Definition at line 22 of file tpzblendnaca.h.

Constructor & Destructor Documentation

◆ TPZBlendNACA() [1/2]

TPZBlendNACA::TPZBlendNACA ( )

Default constructor.

Definition at line 21 of file tpzblendnaca.cpp.

◆ TPZBlendNACA() [2/2]

TPZBlendNACA::TPZBlendNACA ( REAL  cord,
int  FourDigits,
REAL  angle,
TPZVec< REAL > &  x0 
)

Constructor.

Definition at line 25 of file tpzblendnaca.cpp.

References fM, fP, fTT, and fX0.

◆ ~TPZBlendNACA()

TPZBlendNACA::~TPZBlendNACA ( )

Default destructor.

Definition at line 36 of file tpzblendnaca.cpp.

Member Function Documentation

◆ dyc() [1/2]

template<class Type >
Type TPZBlendNACA::dyc ( Type  x)
private

Definition at line 84 of file tpzblendnaca.cpp.

References fCord, fM, and fP.

Referenced by ParametricDomainNodeCoord(), xl(), xu(), yl(), and yu().

◆ dyc() [2/2]

template<>
REAL TPZBlendNACA::dyc ( REAL  x)

◆ M()

template<class Type >
Type TPZBlendNACA::M ( )
private

Definition at line 50 of file tpzblendnaca.cpp.

References fCord, and fFourDigits.

Referenced by ParametricDomainNodeCoord().

◆ NearestParameter() [1/2]

template<class Type >
void TPZBlendNACA::NearestParameter ( TPZVec< REAL > &  pt,
int &  uplow,
int  maxPt,
Type &  Result 
)
private

Definition at line 151 of file tpzblendnaca.cpp.

References fabs, fCord, xla(), xua(), yla(), and yua().

Referenced by ParametricDomainNodeCoord(), and ProjectPoint().

◆ NearestParameter() [2/2]

template<>
void TPZBlendNACA::NearestParameter ( TPZVec< REAL > &  pt,
int &  uplow,
int  maxPt,
REAL &  Result 
)

◆ P()

template<class Type >
Type TPZBlendNACA::P ( )
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().

◆ ParametricDomainNodeCoord()

virtual void TPZBlendNACA::ParametricDomainNodeCoord ( int  node,
TPZVec< REAL > &  nodeCoord 
)
inlinevirtual

Definition at line 50 of file tpzblendnaca.h.

References dyc(), M(), NearestParameter(), P(), TT(), xl(), xu(), yc(), yl(), yt(), and yu().

◆ ProjectPoint() [1/2]

template<class Type >
void TPZBlendNACA::ProjectPoint ( TPZVec< Type > &  pt,
int  maxPt = 1000 
)


Definition at line 264 of file tpzblendnaca.cpp.

References NearestParameter(), xla(), xua(), yla(), and yua().

◆ ProjectPoint() [2/2]

template<>
void TPZBlendNACA::ProjectPoint ( TPZVec< REAL > &  pt,
int  maxPt 
)

◆ TT()

template<class Type >
Type TPZBlendNACA::TT ( )
private

Definition at line 59 of file tpzblendnaca.cpp.

References fCord, and fFourDigits.

Referenced by ParametricDomainNodeCoord().

◆ xl() [1/2]

template<class Type >
Type TPZBlendNACA::xl ( Type  x)
private

Inferior profile.

Definition at line 133 of file tpzblendnaca.cpp.

References atan, dyc(), sin, and yt().

Referenced by ParametricDomainNodeCoord(), xla(), and yla().

◆ xl() [2/2]

template<>
REAL TPZBlendNACA::xl ( REAL  x)

◆ xla() [1/2]

template<class Type >
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().

◆ xla() [2/2]

template<>
REAL TPZBlendNACA::xla ( REAL  x)

◆ xu() [1/2]

template<class Type >
Type TPZBlendNACA::xu ( Type  x)
private

Superior profile.

Definition at line 115 of file tpzblendnaca.cpp.

References atan, dyc(), sin, and yt().

Referenced by ParametricDomainNodeCoord(), xua(), and yua().

◆ xu() [2/2]

template<>
REAL TPZBlendNACA::xu ( REAL  x)

◆ xua() [1/2]

template<class Type >
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().

◆ xua() [2/2]

template<>
REAL TPZBlendNACA::xua ( REAL  x)

◆ yc() [1/2]

template<class Type >
Type TPZBlendNACA::yc ( Type  x)
private

Mean line for the wing.

Definition at line 68 of file tpzblendnaca.cpp.

References fCord, fM, and fP.

Referenced by ParametricDomainNodeCoord(), yl(), and yu().

◆ yc() [2/2]

template<>
REAL TPZBlendNACA::yc ( REAL  x)

◆ yl() [1/2]

template<class Type >
Type TPZBlendNACA::yl ( Type  x)
private

Definition at line 141 of file tpzblendnaca.cpp.

References atan, cos(), dyc(), yc(), and yt().

Referenced by ParametricDomainNodeCoord(), xla(), and yla().

◆ yl() [2/2]

template<>
REAL TPZBlendNACA::yl ( REAL  x)

◆ yla() [1/2]

template<class Type >
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().

◆ yla() [2/2]

template<>
REAL TPZBlendNACA::yla ( REAL  x)

◆ yt() [1/2]

template<class Type >
Type TPZBlendNACA::yt ( Type  x)
private

Thickness.

Definition at line 99 of file tpzblendnaca.cpp.

References fCord, fTT, and sqrt.

Referenced by ParametricDomainNodeCoord(), xl(), xu(), yl(), and yu().

◆ yt() [2/2]

template<>
REAL TPZBlendNACA::yt ( REAL  x)

◆ yu() [1/2]

template<class Type >
Type TPZBlendNACA::yu ( Type  x)
private

Definition at line 125 of file tpzblendnaca.cpp.

References atan, cos(), dyc(), yc(), and yt().

Referenced by ParametricDomainNodeCoord(), xua(), and yua().

◆ yu() [2/2]

template<>
REAL TPZBlendNACA::yu ( REAL  x)

◆ yua() [1/2]

template<class Type >
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().

◆ yua() [2/2]

template<>
REAL TPZBlendNACA::yua ( REAL  x)

Member Data Documentation

◆ fAngle

REAL TPZBlendNACA::fAngle

Definition at line 98 of file tpzblendnaca.h.

Referenced by xla(), xua(), yla(), and yua().

◆ fCord

REAL TPZBlendNACA::fCord

Definition at line 96 of file tpzblendnaca.h.

Referenced by dyc(), M(), NearestParameter(), TT(), xla(), xua(), yc(), yla(), yt(), and yua().

◆ fFourDigits

int TPZBlendNACA::fFourDigits

Definition at line 97 of file tpzblendnaca.h.

Referenced by M(), P(), and TT().

◆ fM

REAL TPZBlendNACA::fM

Definition at line 101 of file tpzblendnaca.h.

Referenced by dyc(), TPZBlendNACA(), and yc().

◆ fP

REAL TPZBlendNACA::fP

Definition at line 100 of file tpzblendnaca.h.

Referenced by dyc(), TPZBlendNACA(), and yc().

◆ fTT

REAL TPZBlendNACA::fTT

Definition at line 102 of file tpzblendnaca.h.

Referenced by TPZBlendNACA(), and yt().

◆ fX0

REAL TPZBlendNACA::fX0[3]

Definition at line 99 of file tpzblendnaca.h.

Referenced by TPZBlendNACA(), xla(), xua(), yla(), and yua().


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