Chombo + EB + MF  3.2
Public Member Functions | Private Attributes | List of all members
Sort::Move2Array< T1, T2 > Class Template Reference

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

#include <InsertionSort.H>

Public Member Functions

 Move2Array (T1 *const array0, T2 *const array1)
 
void copy (const int i, const int j)
 
void save (const int i)
 
void restore (const int i)
 

Private Attributes

T1 m_tmp0
 
T2 m_tmp1
 
T1 *const m_array0
 
T2 *const m_array1
 

Detailed Description

template<typename T1, typename T2>
class Sort::Move2Array< T1, T2 >

Mover for use with 'rearrangeToIndex'.

Moves elements for 2 arrays

Constructor & Destructor Documentation

◆ Move2Array()

template<typename T1 , typename T2 >
Sort::Move2Array< T1, T2 >::Move2Array ( T1 *const  array0,
T2 *const  array1 
)
inline

Member Function Documentation

◆ copy()

template<typename T1 , typename T2 >
void Sort::Move2Array< T1, T2 >::copy ( const int  i,
const int  j 
)
inline

◆ save()

template<typename T1 , typename T2 >
void Sort::Move2Array< T1, T2 >::save ( const int  i)
inline

◆ restore()

template<typename T1 , typename T2 >
void Sort::Move2Array< T1, T2 >::restore ( const int  i)
inline

Member Data Documentation

◆ m_tmp0

template<typename T1 , typename T2 >
T1 Sort::Move2Array< T1, T2 >::m_tmp0
private

◆ m_tmp1

template<typename T1 , typename T2 >
T2 Sort::Move2Array< T1, T2 >::m_tmp1
private

◆ m_array0

template<typename T1 , typename T2 >
T1* const Sort::Move2Array< T1, T2 >::m_array0
private

◆ m_array1

template<typename T1 , typename T2 >
T2* const Sort::Move2Array< T1, T2 >::m_array1
private

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