Massively Parallel Trotter-Suzuki Solver  1.6.2
Hamiltonian Class Reference

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

#include <trottersuzuki.h>

Inheritance diagram for Hamiltonian:

## 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] grid Lattice object. [in] potential Potential object. [in] mass Mass of the particle. [in] coupling_a Coupling constant of intra-particle interaction. [in] LeeHuangYang_coupling_a Coupling constant of the Lee-Huang-Yang term of the first component. [in] angular_velocity The frame of reference rotates with this angular velocity. [in] rot_coord_x X coordinate of the center of rotation. [in] rot_coord_y Y coordinate of the center of rotation.

The documentation for this class was generated from the following files:
• /home/pwittek/trotter-suzuki-mpi/src/trottersuzuki.h
• /home/pwittek/trotter-suzuki-mpi/src/model.cpp