Massively Parallel Trotter-Suzuki Solver  1.6.2
Public Member Functions | Public Attributes | List of all members
Hamiltonian2Component Class Reference

This class defines the Hamiltonian of a two component system. More...

#include <trottersuzuki.h>

Inheritance diagram for Hamiltonian2Component:
Hamiltonian

Public Member Functions

double azimuthal_potential_b (double x, int angular_momentum)
 
 Hamiltonian2Component (Lattice *grid, Potential *potential=0, Potential *potential_b=0, double mass=1., double mass_b=1., double coupling_a=0., double coupling_ab=0., double coupling_b=0., double omega_r=0, double omega_i=0, double angular_velocity=0., double rot_coord_x=0, double rot_coord_y=0)
 
- Public Member Functions inherited from Hamiltonian
double azimuthal_potential (double x, int angular_momentum)
 
 Hamiltonian (Lattice *grid, Potential *potential=0, double mass=1., double coupling_a=0., double LeeHuangYang_coupling_a=0., double angular_velocity=0., double rot_coord_x=0, double rot_coord_y=0)
 

Public Attributes

double mass_b
 Mass of the second component.
 
double coupling_ab
 Coupling constant of the inter-particles interaction.
 
double coupling_b
 Coupling constant of the intra-particles interaction of the second component.
 
double omega_r
 Real part of the Rabi coupling.
 
double omega_i
 Imaginary part of the Rabi coupling.
 
Potentialpotential_b
 External potential for the second component.
 
- Public Attributes inherited from Hamiltonian
Potentialpotential
 Potential object.
 
double mass
 Mass of the particle.
 
double coupling_a
 Coupling constant of intra-particle interaction.
 
double LeeHuangYang_coupling_a
 Coupling constant of the Lee-Huang-Yang term.
 
double angular_velocity
 The frame of reference rotates with this angular velocity.
 
double rot_coord_x
 X coordinate of the center of rotation.
 
double rot_coord_y
 Y coordinate of the center of rotation.
 

Additional Inherited Members

- Protected Attributes inherited from Hamiltonian
bool self_init
 Whether the potential is initialized in the Hamiltonian constructor or not.
 
Lattice * grid
 Lattice object.
 

Detailed Description

This class defines the Hamiltonian of a two component system.

Constructor & Destructor Documentation

Hamiltonian2Component::Hamiltonian2Component ( Lattice *  grid,
Potential potential = 0,
Potential potential_b = 0,
double  mass = 1.,
double  mass_b = 1.,
double  coupling_a = 0.,
double  coupling_ab = 0.,
double  coupling_b = 0.,
double  omega_r = 0,
double  omega_i = 0,
double  angular_velocity = 0.,
double  rot_coord_x = 0,
double  rot_coord_y = 0 
)

Construct the Hamiltonian of a two component system.

Parameters
[in]gridLattice object.
[in]potentialPotential of the first component.
[in]potential_bPotential of the second component.
[in]massMass of the first-component's particles.
[in]mass_bMass of the second-component's particles.
[in]coupling_aCoupling constant of intra-particle interaction for the first component.
[in]coupling_abCoupling constant of inter-particle interaction between the two components.
[in]coupling_bCoupling constant of intra-particle interaction of the second component.
[in]omega_rReal part of the Rabi coupling.
[in]omega_iImaginary part of the Rabi coupling.
[in]angular_velocityThe frame of reference rotates with this angular velocity.
[in]rot_coord_xX coordinate of the center of rotation.
[in]rot_coord_yY coordinate of the center of rotation.

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