SW4  Git Revision 67ab458ccdb97763a04025b4bf840d7814d6d27f
SW4
 All Classes Pages
Public Member Functions | Public Attributes | List of all members
Sarray Class Reference

Public Member Functions

 Sarray (int nc, int ibeg, int iend, int jbeg, int jend, int kbeg, int kend)
 
 Sarray (int ibeg, int iend, int jbeg, int jend, int kbeg, int kend)
 
 Sarray (int nc, int iend, int jend, int kend)
 
 Sarray (int iend, int jend, int kend)
 
 Sarray (const Sarray &u)
 
 Sarray (Sarray &u, int nc=-1)
 
void define (int iend, int jend, int kend)
 
void define (int nc, int iend, int jend, int kend)
 
void define (int nc, int ibeg, int iend, int jbeg, int jend, int kbeg, int kend)
 
void define (int ibeg, int iend, int jbeg, int jend, int kbeg, int kend)
 
void define (const Sarray &u)
 
double * c_ptr ()
 
void reference (double *new_data)
 
bool in_range (int c, int i, int j, int k)
 
double & operator() (int c, int i, int j, int k)
 
double & operator() (int i, int j, int k)
 
bool is_defined ()
 
int index (int i, int j, int k)
 
void intersection (int ib, int ie, int jb, int je, int kb, int ke, int wind[6])
 
void side_plane (int side, int wind[6], int nGhost=1)
 
void side_plane_fortran (int side, int wind[6], int nGhost=1)
 
bool in_domain (int i, int j, int k)
 
void set_to_zero ()
 
void set_to_minusOne ()
 
void set_value (double scalar)
 
void set_to_random (double llim=0.0, double ulim=1.0)
 
void save_to_disk (const char *fname)
 
int ncomp () const
 
int npts () const
 
void copy (const Sarray &u)
 
double maximum (int c=1)
 
double minimum (int c=1)
 
double sum (int c=1)
 
size_t count_nans ()
 
size_t count_nans (int &cfirst, int &ifirst, int &jfirst, int &kfirst)
 
void insert_subarray (int ib, int ie, int jb, int je, int kb, int ke, double *ar)
 
void insert_subarray (int ib, int ie, int jb, int je, int kb, int ke, float *ar)
 
void assign (const double *ar)
 
void assign (const float *ar)
 
void transposeik ()
 

Public Attributes

int m_ib
 
int m_ie
 
int m_jb
 
int m_je
 
int m_kb
 
int m_ke
 
int m_nc
 
int m_ni
 
int m_nj
 
int m_nk
 

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