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

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

#include <trottersuzuki.h>

Inheritance diagram for Hamiltonian:
Hamiltonian2Component

Public Member Functions

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

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.
 

Protected Attributes

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 single component system.

Constructor & Destructor Documentation

Hamiltonian::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 
)

Construct the Hamiltonian of a single component system.

Parameters
[in]gridLattice object.
[in]potentialPotential object.
[in]massMass of the particle.
[in]coupling_aCoupling constant of intra-particle interaction.
[in]LeeHuangYang_coupling_aCoupling constant of the Lee-Huang-Yang term of the first component.
[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: