Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
Inheritance graph
[legend]
Collaboration diagram for Nektar::NekMeshUtils::SPBase:
Collaboration graph
[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 58 of file SourcePoint.hpp.

Constructor & Destructor Documentation

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

Definition at line 63 of file SourcePoint.hpp.

References m_loc.

64  {
65  m_loc = l;
66  }
Array< OneD, NekDouble > m_loc
x,y,z location
virtual Nektar::NekMeshUtils::SPBase::~SPBase ( )
inlinevirtual

Definition at line 68 of file SourcePoint.hpp.

68 {}

Member Function Documentation

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

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

Definition at line 80 of file SourcePoint.hpp.

81  {
82  return 0.0;
83  }
Array<OneD, NekDouble> Nektar::NekMeshUtils::SPBase::GetLoc ( )
inline

Definition at line 75 of file SourcePoint.hpp.

References m_loc.

76  {
77  return m_loc;
78  }
Array< OneD, NekDouble > m_loc
x,y,z location
SPType Nektar::NekMeshUtils::SPBase::GetType ( )
inline

Definition at line 70 of file SourcePoint.hpp.

References m_type.

71  {
72  return m_type;
73  }
bool Nektar::NekMeshUtils::SPBase::HasDelta ( )
inline

Definition at line 89 of file SourcePoint.hpp.

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

90  {
91  bool ret;
92  if(m_type == eCBoundary || m_type == eSrcPoint)
93  {
94  ret = true;
95  }
96  else
97  {
98  ret = false;
99  }
100  return ret;
101  }
bool Nektar::NekMeshUtils::SPBase::Isboundary ( )
inline

Definition at line 103 of file SourcePoint.hpp.

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

104  {
105  bool ret;
106  if(m_type == eCBoundary || m_type == ePBoundary)
107  {
108  ret = true;
109  }
110  else
111  {
112  ret = false;
113  }
114  return ret;
115  }
virtual void Nektar::NekMeshUtils::SPBase::SetDelta ( NekDouble  i)
inlinevirtual

Friends And Related Function Documentation

friend class MemoryManager< SPBase >
friend

Definition at line 61 of file SourcePoint.hpp.

Member Data Documentation

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

x,y,z location

Definition at line 121 of file SourcePoint.hpp.

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

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