Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
Nektar::NekMeshUtils::CPoint Class Reference

class for a curvature based samlping Point More...

#include <SourcePoint.hpp>

Inheritance diagram for Nektar::NekMeshUtils::CPoint:
Inheritance graph
[legend]
Collaboration diagram for Nektar::NekMeshUtils::CPoint:
Collaboration graph
[legend]

Public Member Functions

 CPoint (int i, Array< OneD, NekDouble > uv, Array< OneD, NekDouble > l, NekDouble d)
 constructor for a valid point (has radius of curvature) More...
 
 ~CPoint ()
 
NekDouble GetDelta ()
 get mesh spacing paramter More...
 
void GetCAD (int &surf, Array< OneD, NekDouble > &uv)
 gets the corresponding cad information for the point More...
 
void SetDelta (NekDouble i)
 
- Public Member Functions inherited from Nektar::NekMeshUtils::SPBase
 SPBase (Array< OneD, NekDouble > l)
 
virtual ~SPBase ()
 
SPType GetType ()
 
Array< OneD, NekDoubleGetLoc ()
 
bool HasDelta ()
 
bool Isboundary ()
 

Private Attributes

int sid
 surf id More...
 
Array< OneD, NekDoublem_uv
 uv coord on surf More...
 
NekDouble m_ti
 
NekDouble m_delta
 delta parameter More...
 

Friends

class MemoryManager< CPoint >
 

Additional Inherited Members

- Protected Attributes inherited from Nektar::NekMeshUtils::SPBase
SPType m_type
 type More...
 
Array< OneD, NekDoublem_loc
 x,y,z location More...
 

Detailed Description

class for a curvature based samlping Point

Definition at line 129 of file SourcePoint.hpp.

Constructor & Destructor Documentation

Nektar::NekMeshUtils::CPoint::CPoint ( int  i,
Array< OneD, NekDouble uv,
Array< OneD, NekDouble l,
NekDouble  d 
)
inline

constructor for a valid point (has radius of curvature)

Definition at line 137 of file SourcePoint.hpp.

References Nektar::NekMeshUtils::eCBoundary, and Nektar::NekMeshUtils::SPBase::m_type.

139  : SPBase(l), sid(i), m_uv(uv), m_delta(d)
140  {
141  m_type = eCBoundary;
142  }
NekDouble m_delta
delta parameter
Array< OneD, NekDouble > m_uv
uv coord on surf
SPBase(Array< OneD, NekDouble > l)
Definition: SourcePoint.hpp:63
Nektar::NekMeshUtils::CPoint::~CPoint ( )
inline

Definition at line 144 of file SourcePoint.hpp.

144 {};

Member Function Documentation

void Nektar::NekMeshUtils::CPoint::GetCAD ( int &  surf,
Array< OneD, NekDouble > &  uv 
)
inlinevirtual

gets the corresponding cad information for the point

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 157 of file SourcePoint.hpp.

References m_uv, and sid.

158  {
159  surf = sid;
160  uv = m_uv;
161  }
Array< OneD, NekDouble > m_uv
uv coord on surf
NekDouble Nektar::NekMeshUtils::CPoint::GetDelta ( )
inlinevirtual

get mesh spacing paramter

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 149 of file SourcePoint.hpp.

References m_delta.

150  {
151  return m_delta;
152  }
NekDouble m_delta
delta parameter
void Nektar::NekMeshUtils::CPoint::SetDelta ( NekDouble  i)
inlinevirtual

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 163 of file SourcePoint.hpp.

References m_delta.

164  {
165  m_delta = i;
166  }
NekDouble m_delta
delta parameter

Friends And Related Function Documentation

friend class MemoryManager< CPoint >
friend

Definition at line 132 of file SourcePoint.hpp.

Member Data Documentation

NekDouble Nektar::NekMeshUtils::CPoint::m_delta
private

delta parameter

Definition at line 175 of file SourcePoint.hpp.

Referenced by GetDelta(), and SetDelta().

NekDouble Nektar::NekMeshUtils::CPoint::m_ti
private

Definition at line 173 of file SourcePoint.hpp.

Array<OneD, NekDouble> Nektar::NekMeshUtils::CPoint::m_uv
private

uv coord on surf

Definition at line 172 of file SourcePoint.hpp.

Referenced by GetCAD().

int Nektar::NekMeshUtils::CPoint::sid
private

surf id

Definition at line 170 of file SourcePoint.hpp.

Referenced by GetCAD().