QC2ComponentBEC< rank > Class Template Reference

Class designed to represent the quantum system of a 2 component Bose-Einstein condensate and all its numerical calculations. Derived from the QCBEC object to achieve this. More...

#include <qc2componentbec.h>

Inheritance diagram for QC2ComponentBEC< rank >:

QCBEC< rank > QCQuantumSystem< complexType, rank > List of all members.

Public Member Functions

Constructors
 QC2ComponentBEC (void)
 Standard Constructor.
 ~QC2ComponentBEC (void)
 Standard Destructor.
void setSize (int noOfRows, int noOfCols)
 Sets the size of the Field destroying data currently held.
Input Functions
void setg11 (parameterType g11)
 Sets the self interaction parameter g11 (interaction of component 1 with itself).
void setg12 (parameterType g12)
 Sets the interaction parameter g12 (interaction of component 1 with component 2).
void setg22 (parameterType g22)
 Sets the self interaction parameter g22 (interaction of component 2 with itself).
void setg21 (parameterType g21)
 Sets the self interaction parameter g21 (interaction of component 2 with component 1).
Output Functions
parameterType getg11 ()
 Returns the self interaction parameter g11 (interaction of component 1 with itself).
parameterType getg12 ()
 Returns the interaction parameter g12 (interaction of component 1 with component 2).
parameterType getg22 ()
 Returns the self interaction parameter g22 (interaction of component 2 with itself).
parameterType getg21 ()
 Returns the self interaction parameter g21 (interaction of component 2 with component 1).
Array< complexType, rank > * accessComp1 ()
 Returns the Blitz++ Array containing component 1 data.
Array< complexType, rank > * accessComp2 ()
 Returns the Blitz++ Array containing component 2 data.
Physical Operations
void windPhase ()
 Applies Phase Winding to the phase of the condensate.
void constantPhase ()
 Applies Constant Phase value to the phase of the condensate.
void randomPhase ()
 Applies random phase values to the phase of the condensate.
void applyPhaseDisturbance ()
 Applies a phase disturbance (of type II, see the QCPhase object) to the condensate.
void evolve (bool forwards)
 Evolves the condensate one timestep according to the parameters stored. Evolution is either forward or backward depending on the boolean value of "forwards".
void setupSteadyState ()
 Sets up a steady state solution of the condensate according to the parameters stored.
void writeResults ()
 Writes the Probability Density and the Phase of the Condensate.
void writeImage (int shot, string filePrefix, string extension)
 Writes the current state of the 2-component field to file (with built in seqencing system).

Protected Attributes

QCComplexField< rank > OrderParameter2
 Object representing the Order Parameter of the second component.

Detailed Description

template<int rank>
class QC2ComponentBEC< rank >

Class designed to represent the quantum system of a 2 component Bose-Einstein condensate and all its numerical calculations. Derived from the QCBEC object to achieve this.

Author:
Shekhar S. Chandra

Definition at line 38 of file qc2componentbec.h.


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