Nektar++
Public Member Functions | Private Attributes | Friends | List of all members
Nektar::NekMeshUtils::SrcPoint Class Reference

class for a general source point More...

#include <SourcePoint.hpp>

Inheritance diagram for Nektar::NekMeshUtils::SrcPoint:
[legend]

Public Member Functions

 SrcPoint (Array< OneD, NekDouble > l, NekDouble d)
 constructor for a boundary point without delta More...
 
 ~SrcPoint ()
 
NekDouble GetDelta ()
 get mesh spacing paramter More...
 
void SetDelta (NekDouble i)
 
void GetCAD (int &surf, Array< OneD, NekDouble > &uv)
 
- 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

NekDouble m_delta
 

Friends

class MemoryManager< SrcPoint >
 

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 general source point

Definition at line 245 of file SourcePoint.hpp.

Constructor & Destructor Documentation

◆ SrcPoint()

Nektar::NekMeshUtils::SrcPoint::SrcPoint ( Array< OneD, NekDouble l,
NekDouble  d 
)
inline

constructor for a boundary point without delta

Definition at line 253 of file SourcePoint.hpp.

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

254  : SPBase(l), m_delta(d)
255  {
256  m_type = eSrcPoint;
257  }
SPBase(Array< OneD, NekDouble > l)
Definition: SourcePoint.hpp:64

◆ ~SrcPoint()

Nektar::NekMeshUtils::SrcPoint::~SrcPoint ( )
inline

Definition at line 259 of file SourcePoint.hpp.

259 {};

Member Function Documentation

◆ GetCAD()

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

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 274 of file SourcePoint.hpp.

References Nektar::ErrorUtil::efatal, and NEKERROR.

275  {
276  boost::ignore_unused(surf, uv);
277  NEKERROR(ErrorUtil::efatal, "Cannot retrieve CAD from this type")
278  }
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mod...
Definition: ErrorUtil.hpp:209

◆ GetDelta()

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

get mesh spacing paramter

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 264 of file SourcePoint.hpp.

265  {
266  return m_delta;
267  }

◆ SetDelta()

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

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 269 of file SourcePoint.hpp.

270  {
271  m_delta = i;
272  }

Friends And Related Function Documentation

◆ MemoryManager< SrcPoint >

friend class MemoryManager< SrcPoint >
friend

Definition at line 248 of file SourcePoint.hpp.

Member Data Documentation

◆ m_delta

NekDouble Nektar::NekMeshUtils::SrcPoint::m_delta
private

Definition at line 281 of file SourcePoint.hpp.