Nektar++
Public Member Functions | Public Attributes | List of all members
Nektar::LibUtilities::Interpolator::PtsPoint Class Reference

Public Member Functions

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

Public Attributes

int idx
 
Array< OneD, NekDoublecoords
 
NekDouble dist
 

Detailed Description

Definition at line 150 of file LibUtilities/BasicUtils/Interpolator.h.

Constructor & Destructor Documentation

◆ PtsPoint() [1/2]

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

◆ PtsPoint() [2/2]

Nektar::LibUtilities::Interpolator::PtsPoint::PtsPoint ( int  idx,
Array< OneD, NekDouble coords,
NekDouble  dist 
)
inline

Definition at line 159 of file LibUtilities/BasicUtils/Interpolator.h.

160 : idx(idx), coords(coords), dist(dist){};

Member Function Documentation

◆ operator<()

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

Definition at line 162 of file LibUtilities/BasicUtils/Interpolator.h.

163 {
164 return (dist < comp.dist);
165 };

References dist.

Member Data Documentation

◆ coords

Array<OneD, NekDouble> Nektar::LibUtilities::Interpolator::PtsPoint::coords

◆ dist

NekDouble Nektar::LibUtilities::Interpolator::PtsPoint::dist

Definition at line 155 of file LibUtilities/BasicUtils/Interpolator.h.

Referenced by operator<().

◆ idx

int Nektar::LibUtilities::Interpolator::PtsPoint::idx