ckcomplex Struct Reference

#include <ckcomplex.h>

Collaboration diagram for ckcomplex:

Collaboration graph
[legend]

Public Member Functions

 ckcomplex (RealType _re=0., RealType _im=0.)
 ~ckcomplex ()
RealType getMagSqr (void) const
ckcomplex operator+ (ckcomplex a)
ckcomplex conj (void)
void operator+= (ckcomplex a)
ckcomplex operator * (RealType a)
bool notzero () const
void operator *= (ckcomplex a)
ckcomplex operator * (ckcomplex a)
void operator-= (ckcomplex a)
ckcomplex multiplyByi ()
void * operator new[] (size_t size)
void operator delete[] (void *buf)

Data Fields

RealType re
RealType im

Detailed Description

Definition at line 13 of file ckcomplex.h.


Constructor & Destructor Documentation

ckcomplex::ckcomplex ( RealType  _re = 0.,
RealType  _im = 0. 
) [inline]

Definition at line 18 of file ckcomplex.h.

Referenced by conj(), multiplyByi(), operator *(), and operator+().

ckcomplex::~ckcomplex (  )  [inline]

Definition at line 22 of file ckcomplex.h.


Member Function Documentation

RealType ckcomplex::getMagSqr ( void   )  const [inline]

Definition at line 24 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::operator+ ( ckcomplex  a  )  [inline]

Definition at line 28 of file ckcomplex.h.

References ckcomplex(), im, and re.

ckcomplex ckcomplex::conj ( void   )  [inline]

Definition at line 32 of file ckcomplex.h.

References ckcomplex(), im, and re.

void ckcomplex::operator+= ( ckcomplex  a  )  [inline]

Definition at line 36 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::operator * ( RealType  a  )  [inline]

Definition at line 40 of file ckcomplex.h.

References ckcomplex(), im, and re.

bool ckcomplex::notzero (  )  const [inline]

Definition at line 44 of file ckcomplex.h.

References im, and re.

void ckcomplex::operator *= ( ckcomplex  a  )  [inline]

Definition at line 46 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::operator * ( ckcomplex  a  )  [inline]

Definition at line 54 of file ckcomplex.h.

References ckcomplex(), im, and re.

void ckcomplex::operator-= ( ckcomplex  a  )  [inline]

Definition at line 59 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::multiplyByi (  )  [inline]

Definition at line 64 of file ckcomplex.h.

References ckcomplex(), im, and re.

void* ckcomplex::operator new[] ( size_t  size  )  [inline]

Definition at line 68 of file ckcomplex.h.

References malloc().

void ckcomplex::operator delete[] ( void *  buf  )  [inline]

Definition at line 73 of file ckcomplex.h.

References free().


Field Documentation

RealType ckcomplex::re

Definition at line 14 of file ckcomplex.h.

Referenced by conj(), getMagSqr(), multiplyByi(), notzero(), operator *(), operator *=(), operator+(), operator+=(), operator-=(), LineFFTArray::receiveGridMessage(), LineFFTArray::sendGridMessages(), and LineFFTArray::startFFT().

RealType ckcomplex::im

Definition at line 15 of file ckcomplex.h.

Referenced by conj(), getMagSqr(), multiplyByi(), notzero(), operator *(), operator *=(), operator+(), operator+=(), operator-=(), and LineFFTArray::startFFT().


The documentation for this struct was generated from the following file:
Generated on Sun Jun 29 13:30:37 2008 for Charm++ by  doxygen 1.5.1