MAOS
Multithreaded Adaptive Optics Simulator
Cell< T, Dev > Class Template Reference
+ Inheritance diagram for Cell< T, Dev >:
+ Collaboration diagram for Cell< T, Dev >:

Public Member Functions

TMatM ()
 
const TMatM () const
 
void p2pm (cudaStream_t stream=0)
 
 Cell (long nxi=0, long nyi=1)
 
 Cell (long nxi, long nyi, long mx, long my, T *pin=NULL)
 
template<typename L >
 Cell (long nxi, long nyi, L *mx, L *my, T *pin=NULL)
 
 Cell (const Cell &in)
 
Celloperator= (const Cell &in)
 
void init (long nxi=0, long nyi=1)
 
Cell New () const
 
void replace (T *pnew, cudaStream_t stream)
 
- Public Member Functions inherited from CellArray< NumArray< T, Dev > >
CellArray Vector () const
 
CellArray trans (stream_t &stream)
 
 CellArray (long nxi, long nyi=1, NumArray< T, Dev > *pi=NULL, int own=1)
 
 CellArray (long nxi, long nyi, const CellArray &pi, long offset=0)
 
void Zero (cudaStream_t stream=0)
 
void Copy (const CellArray &in, cudaStream_t stream=0)
 
- Public Member Functions inherited from Array< NumArray< T, Dev >, Cpu >
NumArray< T, Dev > & operator() (int ix, int iy)
 
const NumArray< T, Dev > & operator() (int ix, int iy) const
 
NumArray< T, Dev > * Col (int icol)
 
const NumArray< T, Dev > * Col (int icol) const
 
long Nx () const
 
long Ny () const
 
long N () const
 
 operator bool () const
 
void init (long nxi=0, long nyi=1)
 
 Array (long nxi, long nyi=1, NumArray< T, Dev > *pi=NULL, int own=1)
 
 Array (long nxi, long nyi, const Array &pi, long offset=0)
 
 Array (const Array &in)
 
Arrayoperator= (const Array &in)
 
Array Vector () const
 
void deinit ()
 
NumArray< T, Dev > * operator+ (int i)
 
const NumArray< T, Dev > * operator+ (int i) const
 
int NRef () const
 

Data Fields

Array< T *, Pinnedpm_cpu
 
Array< T *, Gpupm
 
- Data Fields inherited from Array< NumArray< T, Dev >, Cpu >
string keywords
 
NumArray< T, Dev > * p
 

Additional Inherited Members

- Public Types inherited from CellArray< NumArray< T, Dev > >
typedef Array< NumArray< T, Dev >, CpuParent
 
- Public Types inherited from Array< NumArray< T, Dev >, Cpu >
typedef NumArray< T, Dev > type
 
- Protected Attributes inherited from Array< NumArray< T, Dev >, Cpu >
long nx
 
long ny
 

Detailed Description

template<typename T, template< typename > class Dev = Cpu>
class Cell< T, Dev >

Cell is a special Array of array of numerical data that can store multiple Arrays of numerical data in continuous region.


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