MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
NumCell< T, Dev > Class Template Reference
+ Inheritance diagram for NumCell< T, Dev >:
+ Collaboration diagram for NumCell< T, Dev >:

Public Member Functions

TMatM ()
 
const TMatM () const
 
void p2pm (cudaStream_t stream=0)
 
 NumCell (long nxi=0, long nyi=1)
 
 NumCell (long nxi, long nyi, long mx, long my, T *pin=NULL)
 
template<typename L >
 NumCell (long nxi, long nyi, L *mx, L *my, T *pin=NULL)
 
 NumCell (const NumCell &in)
 
NumCelloperator= (const NumCell &in)
 
void init (long nxi=0, long nyi=1)
 
NumCell New () const
 
void replace (T *pnew, cudaStream_t stream)
 
NumCell Vector () const
 
void Copy (const NumCell &in, cudaStream_t stream=0)
 
void Zero (cudaStream_t stream=0)
 
void Write (cudaStream_t stream, file_t *fp) const
 
void Write (cudaStream_t stream, const char *format,...) const
 
- Public Member Functions inherited from CellArray< T >
CellArray Vector () const
 
CellArray trans (stream_t &stream)
 
 CellArray (long nxi, long nyi=1, T *pi=NULL, int own=1)
 
 CellArray (long nxi, long nyi, const CellArray &pi, long offset=0)
 
void Zero (cudaStream_t stream=0)
 
void Write (cudaStream_t stream, file_t *fp) const
 
void Write (cudaStream_t stream, const char *format,...) const
 
- Public Member Functions inherited from Array< T, CpuObj >
T & operator() (int ix, int iy)
 
const T & operator() (int ix, int iy) const
 
T & R (int ix, int iy=0)
 
T * Col (int icol)
 
const T * 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, T *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 ()
 
int NRef () const
 

Data Fields

Array< T *, Gpupm
 
- Data Fields inherited from Array< T, CpuObj >
string keywords
 

Additional Inherited Members

- Public Types inherited from Array< T, CpuObj >
typedef T type
 
- Protected Attributes inherited from Array< T, CpuObj >
long nx
 
long ny
 
T * p
 

Detailed Description

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

NumCell 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: