GPUE
v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
|
#include <vort.h>
Public Member Functions | |
Vortex () | |
Vortex (int2 coords, double2 coordsD, int winding, bool isOn, std::size_t timeStep) | |
~Vortex () | |
void | updateUID (int uid) |
void | updateWinding (int winding) |
void | updateIsOn (bool isOn) |
void | updateCoords (int2 coords) |
void | updateCoordsD (double2 coordsD) |
void | updateTimeStep (std::size_t timeStep) |
int | getUID () const |
int | getWinding () const |
bool | getIsOn () const |
int2 | getCoords () const |
double2 | getCoordsD () const |
std::size_t | getTimeStep () const |
Protected Attributes | |
int | uid |
Friends | |
class | VtxList |
Maintains vortex index in grid and least-squares calculated values with winding/direction of vortex rotation.
Vtx::Vortex::Vortex | ( | ) |
Vtx::Vortex::Vortex | ( | int2 | coords, |
double2 | coordsD, | ||
int | winding, | ||
bool | isOn, | ||
std::size_t | timeStep | ||
) |
Vtx::Vortex::~Vortex | ( | ) |
int2 Vtx::Vortex::getCoords | ( | ) | const |
double2 Vtx::Vortex::getCoordsD | ( | ) | const |
bool Vtx::Vortex::getIsOn | ( | ) | const |
std::size_t Vtx::Vortex::getTimeStep | ( | ) | const |
int Vtx::Vortex::getUID | ( | ) | const |
int Vtx::Vortex::getWinding | ( | ) | const |
void Vtx::Vortex::updateCoords | ( | int2 | coords | ) |
void Vtx::Vortex::updateCoordsD | ( | double2 | coordsD | ) |
void Vtx::Vortex::updateIsOn | ( | bool | isOn | ) |
void Vtx::Vortex::updateTimeStep | ( | std::size_t | timeStep | ) |
void Vtx::Vortex::updateUID | ( | int | uid | ) |
void Vtx::Vortex::updateWinding | ( | int | winding | ) |