Chombo + EB + MF  3.2
Public Member Functions | Private Attributes | List of all members
Sort::CmpGreaterIndex< T > Class Template Reference

Compares m_a[i] > m_a[j]. More...

#include <InsertionSort.H>

Public Member Functions

 CmpGreaterIndex (const T *const a)
 
bool operator() (const int i, const int j) const
 

Private Attributes

const T *const m_a
 

Detailed Description

template<typename T>
class Sort::CmpGreaterIndex< T >

Compares m_a[i] > m_a[j].

Allows for sorting an index instead of the actual array

Constructor & Destructor Documentation

◆ CmpGreaterIndex()

template<typename T >
Sort::CmpGreaterIndex< T >::CmpGreaterIndex ( const T *const  a)
inline

Member Function Documentation

◆ operator()()

template<typename T >
bool Sort::CmpGreaterIndex< T >::operator() ( const int  i,
const int  j 
) const
inline

Member Data Documentation

◆ m_a

template<typename T >
const T* const Sort::CmpGreaterIndex< T >::m_a
private

The documentation for this class was generated from the following file: