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 73 of file PtsField.h.

Constructor & Destructor Documentation

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

Definition at line 81 of file PtsField.h.

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

Definition at line 83 of file PtsField.h.

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

Member Function Documentation

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

Definition at line 91 of file PtsField.h.

References m_distSq.

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

Member Data Documentation

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

Definition at line 78 of file PtsField.h.

NekDouble Nektar::LibUtilities::PtsPoint::m_distSq

Definition at line 79 of file PtsField.h.

Referenced by operator<().

int Nektar::LibUtilities::PtsPoint::m_idx

Definition at line 77 of file PtsField.h.