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::SrcPoint Class Reference

class for a general source point More...

#include <SourcePoint.hpp>

Inheritance diagram for Nektar::NekMeshUtils::SrcPoint:
Inheritance graph
[legend]
Collaboration diagram for Nektar::NekMeshUtils::SrcPoint:
Collaboration graph
[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 237 of file SourcePoint.hpp.

Constructor & Destructor Documentation

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

constructor for a boundary point without delta

Definition at line 245 of file SourcePoint.hpp.

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

246  : SPBase(l), m_delta(d)
247  {
248  m_type = eSrcPoint;
249  }
SPBase(Array< OneD, NekDouble > l)
Definition: SourcePoint.hpp:63
Nektar::NekMeshUtils::SrcPoint::~SrcPoint ( )
inline

Definition at line 251 of file SourcePoint.hpp.

251 {};

Member Function Documentation

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

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 266 of file SourcePoint.hpp.

References ASSERTL0.

267  {
268  ASSERTL0(false,"Cannot retrieve CAD from this type")
269  }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:198
NekDouble Nektar::NekMeshUtils::SrcPoint::GetDelta ( )
inlinevirtual

get mesh spacing paramter

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 256 of file SourcePoint.hpp.

References m_delta.

257  {
258  return m_delta;
259  }
void Nektar::NekMeshUtils::SrcPoint::SetDelta ( NekDouble  i)
inlinevirtual

Reimplemented from Nektar::NekMeshUtils::SPBase.

Definition at line 261 of file SourcePoint.hpp.

References m_delta.

262  {
263  m_delta = i;
264  }

Friends And Related Function Documentation

friend class MemoryManager< SrcPoint >
friend

Definition at line 240 of file SourcePoint.hpp.

Member Data Documentation

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

Definition at line 272 of file SourcePoint.hpp.

Referenced by GetDelta(), and SetDelta().