OpenAtom  Version1.5a
size2d Class Reference

== Size or location in a regular 2D array More...

#include <util.h>

Public Member Functions

 size2d (int ni, int nj)
 
int ni (void) const
 
int nj (void) const
 
int nx (void) const
 
int ny (void) const
 
int operator[] (int i) const
 
int getIndex (int i, int j) const
 
int getIndex (const size2d &at) const
 
int getTotal (void) const
 
int getVolume (void) const
 

Private Attributes

int sz [2]
 

Detailed Description

== Size or location in a regular 2D array

Definition at line 59 of file util.h.


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