Nektar++
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 65 of file PtsField.h.

Constructor & Destructor Documentation

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

Definition at line 73 of file PtsField.h.

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

Definition at line 75 of file PtsField.h.

76  :
77  m_idx(idx),
78  m_coords(coords),
79  m_distSq(distSq)
80  {
81  };
Array< OneD, NekDouble > m_coords
Definition: PtsField.h:70

Member Function Documentation

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

Definition at line 83 of file PtsField.h.

References m_distSq.

84  {
85  return (m_distSq < comp.m_distSq);
86  };

Member Data Documentation

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

Definition at line 70 of file PtsField.h.

NekDouble Nektar::LibUtilities::PtsPoint::m_distSq

Definition at line 71 of file PtsField.h.

Referenced by operator<().

int Nektar::LibUtilities::PtsPoint::m_idx

Definition at line 69 of file PtsField.h.