Sort::Move2Array< T1, T2 > Class Template Reference

#include <InsertionSort.H>

List of all members.


Detailed Description

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

Mover for use with 'rearrangeToIndex'.

Moves elements for 2 arrays

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


Constructor & Destructor Documentation

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


Member Function Documentation

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

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

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


Member Data Documentation

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

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

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

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:

Generated on Tue Jun 27 03:28:09 2017 for Chombo + EB + MF by  doxygen 1.5.5