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

base class of sizing point for octree construction these carry information the octree needs and have various types More...

#include <SourcePoint.hpp>

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

Public Member Functions

 SPBase (Array< OneD, NekDouble > l)
 
virtual ~SPBase ()
 
SPType GetType ()
 
Array< OneD, NekDoubleGetLoc ()
 
virtual NekDouble GetDelta ()
 
virtual void SetDelta (NekDouble i)
 
virtual void GetCAD (int &surf, Array< OneD, NekDouble > &uv)
 
bool HasDelta ()
 
bool Isboundary ()
 

Protected Attributes

SPType m_type
 type More...
 
Array< OneD, NekDoublem_loc
 x,y,z location More...
 

Friends

class MemoryManager< SPBase >
 

Detailed Description

base class of sizing point for octree construction these carry information the octree needs and have various types

Definition at line 59 of file SourcePoint.hpp.

Constructor & Destructor Documentation

◆ SPBase()

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

Definition at line 64 of file SourcePoint.hpp.

References m_loc.

65  {
66  m_loc = l;
67  }
Array< OneD, NekDouble > m_loc
x,y,z location

◆ ~SPBase()

virtual Nektar::NekMeshUtils::SPBase::~SPBase ( )
inlinevirtual

Definition at line 69 of file SourcePoint.hpp.

69 {}

Member Function Documentation

◆ GetCAD()

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

Reimplemented in Nektar::NekMeshUtils::SrcPoint, Nektar::NekMeshUtils::BPoint, and Nektar::NekMeshUtils::CPoint.

Definition at line 91 of file SourcePoint.hpp.

92  {
93  boost::ignore_unused(surf, uv);
94  }

◆ GetDelta()

virtual NekDouble Nektar::NekMeshUtils::SPBase::GetDelta ( )
inlinevirtual

Reimplemented in Nektar::NekMeshUtils::SrcPoint, Nektar::NekMeshUtils::BPoint, and Nektar::NekMeshUtils::CPoint.

Definition at line 81 of file SourcePoint.hpp.

82  {
83  return 0.0;
84  }

◆ GetLoc()

Array<OneD, NekDouble> Nektar::NekMeshUtils::SPBase::GetLoc ( )
inline

Definition at line 76 of file SourcePoint.hpp.

References m_loc.

77  {
78  return m_loc;
79  }
Array< OneD, NekDouble > m_loc
x,y,z location

◆ GetType()

SPType Nektar::NekMeshUtils::SPBase::GetType ( )
inline

Definition at line 71 of file SourcePoint.hpp.

References m_type.

72  {
73  return m_type;
74  }

◆ HasDelta()

bool Nektar::NekMeshUtils::SPBase::HasDelta ( )
inline

Definition at line 96 of file SourcePoint.hpp.

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

97  {
98  bool ret;
99  if(m_type == eCBoundary || m_type == eSrcPoint)
100  {
101  ret = true;
102  }
103  else
104  {
105  ret = false;
106  }
107  return ret;
108  }

◆ Isboundary()

bool Nektar::NekMeshUtils::SPBase::Isboundary ( )
inline

Definition at line 110 of file SourcePoint.hpp.

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

111  {
112  bool ret;
113  if(m_type == eCBoundary || m_type == ePBoundary)
114  {
115  ret = true;
116  }
117  else
118  {
119  ret = false;
120  }
121  return ret;
122  }

◆ SetDelta()

virtual void Nektar::NekMeshUtils::SPBase::SetDelta ( NekDouble  i)
inlinevirtual

Reimplemented in Nektar::NekMeshUtils::SrcPoint, Nektar::NekMeshUtils::BPoint, and Nektar::NekMeshUtils::CPoint.

Definition at line 86 of file SourcePoint.hpp.

87  {
88  boost::ignore_unused(i);
89  }

Friends And Related Function Documentation

◆ MemoryManager< SPBase >

friend class MemoryManager< SPBase >
friend

Definition at line 62 of file SourcePoint.hpp.

Member Data Documentation

◆ m_loc

Array<OneD, NekDouble> Nektar::NekMeshUtils::SPBase::m_loc
protected

x,y,z location

Definition at line 128 of file SourcePoint.hpp.

Referenced by Nektar::NekMeshUtils::BPoint::ChangeType(), GetLoc(), and SPBase().

◆ m_type

SPType Nektar::NekMeshUtils::SPBase::m_type
protected