#include <qcfield.h>
Public Member Functions | |
Constructors | |
| QCField (void) | |
| Standard Constructor. | |
| QCField (int noOfRows, int noOfCols) | |
| Overloaded Constructor designed to set the size of the field upon construction. | |
| ~QCField (void) | |
| Standard Destructor. | |
Array Operations | |
| void | setSize (int noOfRows, int noOfCols) |
| Sets the size of the Field destroying data currently held. | |
| void | resize (int noOfRows, int noOfCols) |
| Resizes the Field while perserving data currently held (if within resized area). | |
| Array< T, rank > * | accessArray () |
| Returns a Blitz++ Array pointer to the Field. | |
| Array< T, rank > & | array () |
| Returns a Blitz++ Array of the Field. | |
Information Operations | |
| int | noOfRows () |
| Returns the number of Rows (x-direction) in the Field. | |
| int | noOfColumns () |
| Returns the number of Columns (y-direction) in the Field. | |
| int | height () |
| Returns the height (z-direction) in the Field. | |
Data Operations | |
| void | assignElement (int atRow, int atCol, T value) |
| Assigns value to a particular element in the Field. | |
| void | assignElement (int atRow, int atCol, int atHeight, T value) |
| Assigns value to a particular element in the 3-D Field. | |
| T | retrieveElement (int atRow, int atCol) |
| Returns value at row and column provided. | |
| T | retrieveElement (int atRow, int atCol, int atHeight) |
| Returns value at row, column and height provided. | |
I/O Operations | |
| void | dumpToStdErr () |
| Writes values (in Blitz++ Array format) from the Field to standard error device. | |
| bool | readFromFile (const char *fileName) |
| Reads values from file in Blitz++ Array format and stores in the Field. Returns true if successful. | |
| bool | writeToFile (const char *fileName) |
| Writes values to file in Blitz++ Array format from the Field. Returns true if successful. | |
Protected Attributes | |
| Array< T, rank > | Field |
| Multi-Dimensional Array holding Field Values. | |
Definition at line 47 of file qcfield.h.
1.4.6-NO