Nektar++
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:
[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 136 of file SourcePoint.hpp.

Constructor & Destructor Documentation

◆ CPoint()

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 144 of file SourcePoint.hpp.

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

146  : SPBase(l), sid(i), m_uv(uv), m_delta(d)
147  {
148  m_type = eCBoundary;
149  }
NekDouble m_delta
delta parameter
Array< OneD, NekDouble > m_uv
uv coord on surf
SPBase(Array< OneD, NekDouble > l)
Definition: SourcePoint.hpp:64

◆ ~CPoint()

Nektar::NekMeshUtils::CPoint::~CPoint ( )
inline

Definition at line 151 of file SourcePoint.hpp.

151 {};

Member Function Documentation

◆ GetCAD()

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 164 of file SourcePoint.hpp.

165  {
166  surf = sid;
167  uv = m_uv;
168  }
Array< OneD, NekDouble > m_uv
uv coord on surf

◆ GetDelta()

NekDouble Nektar::NekMeshUtils::CPoint::GetDelta ( )
inlinevirtual

get mesh spacing paramter

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 156 of file SourcePoint.hpp.

157  {
158  return m_delta;
159  }
NekDouble m_delta
delta parameter

◆ SetDelta()

void Nektar::NekMeshUtils::CPoint::SetDelta ( NekDouble  i)
inlinevirtual

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 170 of file SourcePoint.hpp.

171  {
172  m_delta = i;
173  }
NekDouble m_delta
delta parameter

Friends And Related Function Documentation

◆ MemoryManager< CPoint >

friend class MemoryManager< CPoint >
friend

Definition at line 139 of file SourcePoint.hpp.

Member Data Documentation

◆ m_delta

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

delta parameter

Definition at line 182 of file SourcePoint.hpp.

◆ m_ti

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

Definition at line 180 of file SourcePoint.hpp.

◆ m_uv

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

uv coord on surf

Definition at line 179 of file SourcePoint.hpp.

◆ sid

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

surf id

Definition at line 177 of file SourcePoint.hpp.