Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Nektar::LibUtilities::PtsPoint Class Reference

#include <PtsField.h>

Collaboration diagram for Nektar::LibUtilities::PtsPoint:
Collaboration graph
[legend]

Public Member Functions

 PtsPoint ()
 
 PtsPoint (int idx, Array< OneD, NekDouble > coords, NekDouble distSq)
 
bool operator< (const PtsPoint &comp) const
 

Public Attributes

int m_idx
 
Array< OneD, NekDoublem_coords
 
NekDouble m_distSq
 

Detailed Description

Definition at line 74 of file PtsField.h.

Constructor & Destructor Documentation

Nektar::LibUtilities::PtsPoint::PtsPoint ( )
inline

Definition at line 82 of file PtsField.h.

82 {};
Nektar::LibUtilities::PtsPoint::PtsPoint ( int  idx,
Array< OneD, NekDouble coords,
NekDouble  distSq 
)
inline

Definition at line 84 of file PtsField.h.

85  :
86  m_idx(idx),
87  m_coords(coords),
88  m_distSq(distSq)
89  {
90  };
Array< OneD, NekDouble > m_coords
Definition: PtsField.h:79

Member Function Documentation

bool Nektar::LibUtilities::PtsPoint::operator< ( const PtsPoint comp) const
inline

Definition at line 92 of file PtsField.h.

References m_distSq.

93  {
94  return (m_distSq < comp.m_distSq);
95  };

Member Data Documentation

Array<OneD, NekDouble> Nektar::LibUtilities::PtsPoint::m_coords

Definition at line 79 of file PtsField.h.

NekDouble Nektar::LibUtilities::PtsPoint::m_distSq

Definition at line 80 of file PtsField.h.

Referenced by operator<().

int Nektar::LibUtilities::PtsPoint::m_idx

Definition at line 78 of file PtsField.h.