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

Mover for use with 'rearrangeToIndex'. More...

#include <InsertionSort.H>

Public Member Functions

 Move1Array (T *const array)
 
void copy (const int i, const int j)
 
void save (const int i)
 
void restore (const int i)
 

Private Attributes

m_tmp
 
T *const m_array
 

Detailed Description

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

Mover for use with 'rearrangeToIndex'.

Moves elements for 1 array

Constructor & Destructor Documentation

◆ Move1Array()

template<typename T >
Sort::Move1Array< T >::Move1Array ( T *const  array)
inline

Member Function Documentation

◆ copy()

template<typename T >
void Sort::Move1Array< T >::copy ( const int  i,
const int  j 
)
inline

◆ save()

template<typename T >
void Sort::Move1Array< T >::save ( const int  i)
inline

◆ restore()

template<typename T >
void Sort::Move1Array< T >::restore ( const int  i)
inline

Member Data Documentation

◆ m_tmp

template<typename T >
T Sort::Move1Array< T >::m_tmp
private

◆ m_array

template<typename T >
T* const Sort::Move1Array< T >::m_array
private

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