OptPmePencil< T > Class Template Reference

#include <fftlib.h>

List of all members.

Public Member Functions

 OptPmePencil ()
 ~OptPmePencil ()
void base_init (OptPmePencilInitMsg *msg)
void order_init (int nBlocks)

Public Attributes

OptPmePencilInitMsgData initdata
Lattice lattice
PmeReduction evir
int imsg
int _iter
float * data
float * many_to_many_data
int * many_to_many_nb
float * work
int * send_order
void * handle
bool single_pencil


Detailed Description

template<class T>
class OptPmePencil< T >

Definition at line 72 of file fftlib.h.


Constructor & Destructor Documentation

template<class T>
OptPmePencil< T >::OptPmePencil (  )  [inline]

Definition at line 74 of file fftlib.h.

00074                  {
00075     data = 0;
00076     work = 0;
00077     send_order = 0;
00078   }

template<class T>
OptPmePencil< T >::~OptPmePencil (  )  [inline]

Definition at line 79 of file fftlib.h.

00079                   {
00080     delete [] data;
00081     delete [] work;
00082     delete [] send_order;
00083   }


Member Function Documentation

template<class T>
void OptPmePencil< T >::base_init ( OptPmePencilInitMsg msg  )  [inline]

Definition at line 84 of file fftlib.h.

00084                                            {
00085     initdata = msg->data;
00086   }

template<class T>
void OptPmePencil< T >::order_init ( int  nBlocks  )  [inline]

Definition at line 87 of file fftlib.h.

00087                                {
00088     send_order = new int[nBlocks];
00089     for ( int i=0; i<nBlocks; ++i ) send_order[i] = i;
00090     Random rand(CkMyPe());
00091     rand.reorder(send_order,nBlocks);
00092   }


Member Data Documentation

template<class T>
int OptPmePencil< T >::_iter

Definition at line 97 of file fftlib.h.

template<class T>
float* OptPmePencil< T >::data

Definition at line 98 of file fftlib.h.

Referenced by OptPmePencil< CBase_OptPmeXPencil >::OptPmePencil(), and OptPmePencil< CBase_OptPmeXPencil >::~OptPmePencil().

template<class T>
PmeReduction OptPmePencil< T >::evir

Definition at line 95 of file fftlib.h.

template<class T>
void* OptPmePencil< T >::handle

Definition at line 103 of file fftlib.h.

template<class T>
int OptPmePencil< T >::imsg

Definition at line 96 of file fftlib.h.

template<class T>
OptPmePencilInitMsgData OptPmePencil< T >::initdata

Definition at line 93 of file fftlib.h.

Referenced by OptPmePencil< CBase_OptPmeXPencil >::base_init().

template<class T>
Lattice OptPmePencil< T >::lattice

Definition at line 94 of file fftlib.h.

template<class T>
float* OptPmePencil< T >::many_to_many_data

Definition at line 99 of file fftlib.h.

template<class T>
int* OptPmePencil< T >::many_to_many_nb

Definition at line 100 of file fftlib.h.

template<class T>
int* OptPmePencil< T >::send_order

Definition at line 102 of file fftlib.h.

Referenced by OptPmePencil< CBase_OptPmeXPencil >::OptPmePencil(), OptPmePencil< CBase_OptPmeXPencil >::order_init(), and OptPmePencil< CBase_OptPmeXPencil >::~OptPmePencil().

template<class T>
bool OptPmePencil< T >::single_pencil

Definition at line 104 of file fftlib.h.

template<class T>
float* OptPmePencil< T >::work

Definition at line 101 of file fftlib.h.

Referenced by OptPmePencil< CBase_OptPmeXPencil >::OptPmePencil(), and OptPmePencil< CBase_OptPmeXPencil >::~OptPmePencil().


The documentation for this class was generated from the following file:
Generated on Thu Nov 23 01:17:19 2017 for NAMD by  doxygen 1.4.7