QCComplexField< rank > Class Template Reference

Class designed to encapsulate the Complex Scalar Field information and is derived from the QCField object. In this case the information is maintained in the base class QCField, which is essentially a BLITZ++ dynamic array. More...

#include <qccomplexfield.h>

Inheritance diagram for QCComplexField< rank >:

QCField< complexType, rank > List of all members.

Public Member Functions

Constructors
 QCComplexField (void)
 Standard Constructor.
 QCComplexField (int noOfRows, int noOfCols)
 Overloaded Constructor designed to set the size of the field upon construction.
 ~QCComplexField (void)
 Standard Destructor.
Initializing Operations
void initializeToZero ()
 Initializes all elements of the Field to zero value.
void initializeToUnity (bool realPart, bool imagPart)
 Initializes all elements of the Field to unity. The real and imaginary parts are initialized to unity if boolean is set to true.
Initializing Operations
Array< fieldType, rank > realPart ()
 Returns Blitz++ Array of real parts of the array.
Array< fieldType, rank > imaginaryPart ()
 Returns Blitz++ Array of imaginary parts of the array.
I/O Operations
bool writeRealToFile (const char *fileName)
 Writes only the real values of the field to file.
bool writeImagToFile (const char *fileName)
 Writes only the imaginary values of the field to file.
bool writeNormToFile (const char *fileName)
 Writes the Norm of each value of the field to file.
void setFormatCSV ()
 Sets the format of the field as comma separated values (CSV).
void setFormatGNU ()
 Sets the format of the field as GNUPlot format (GNU).

Detailed Description

template<int rank>
class QCComplexField< rank >

Class designed to encapsulate the Complex Scalar Field information and is derived from the QCField object. In this case the information is maintained in the base class QCField, which is essentially a BLITZ++ dynamic array.

Author:
Shekhar S. Chandra

Definition at line 60 of file qccomplexfield.h.


Constructor & Destructor Documentation

template<int rank>
QCComplexField< rank >::QCComplexField int  noOfRows,
int  noOfCols
 

Overloaded Constructor designed to set the size of the field upon construction.

Todo:
remove this - redundant

Definition at line 145 of file qccomplexfield.h.

References QCField< complexType, rank >::setSize().


The documentation for this class was generated from the following file:
Generated on Sat May 13 13:22:49 2006 for Quantum Construct (qC++) by  doxygen 1.4.6-NO