Definition at line 30 of file coordinate.h.
Public Member Functions | |
Coordinate (const Coordinate &point) | |
Coordinate (double setX, double setY, double setZ) | |
Coordinate (double value) | |
Coordinate () | |
Coordinate | operator * (const Coordinate &rhs) const |
Coordinate & | operator *= (const Coordinate &rhs) |
bool | operator!= (const Coordinate &rhs) const |
Coordinate | operator+ (const Coordinate &rhs) const |
Coordinate & | operator+= (const Coordinate &rhs) |
Coordinate | operator- (const Coordinate &rhs) const |
Coordinate & | operator-= (const Coordinate &rhs) |
Coordinate | operator/ (const Coordinate &rhs) const |
Coordinate & | operator/= (const Coordinate &rhs) |
Coordinate & | operator= (const Coordinate &rhs) |
bool | operator== (const Coordinate &rhs) const |
Public Attributes | |
double | x |
double | y |
double | z |
Friends | |
ostream & | operator<< (ostream &out, const Coordinate &point) |
istream & | operator>> (istream &in, Coordinate &point) |
|
Default constructor. Definition at line 20 of file coordinate.cpp. |
|
One-argument constructor.
Definition at line 27 of file coordinate.cpp. |
|
Three-argument constructor.
Definition at line 34 of file coordinate.cpp. |
|
Copy constructor.
Definition at line 41 of file coordinate.cpp. |
|
Multiplies two coordinates.
Definition at line 76 of file coordinate.cpp. |
|
Multiplies two coordinates together and assigns it into *this.
Definition at line 112 of file coordinate.cpp. |
|
Unequivalant operator.
Definition at line 136 of file coordinate.cpp. |
|
Adds two coordinates together.
Definition at line 56 of file coordinate.cpp. |
|
Adds two coordinates together and assigns it into *this.
Definition at line 96 of file coordinate.cpp. |
|
Subtracts two coordinates.
Definition at line 66 of file coordinate.cpp. |
|
Subtracts two coordinates together and assigns it into *this.
Definition at line 104 of file coordinate.cpp. |
|
Devides two coordinates.
Definition at line 86 of file coordinate.cpp. |
|
Divides two coordinates together and assigns it into *this.
Definition at line 120 of file coordinate.cpp. |
|
Assignment operator.
Definition at line 46 of file coordinate.cpp. |
|
Equivalant operator.
Definition at line 128 of file coordinate.cpp. |
|
Writes out a coordinate seperated by white space in the order of x, y, z.
Definition at line 150 of file coordinate.cpp. |
|
Reads in a coordinate seperated by white space in the order of x, y, z.
Definition at line 144 of file coordinate.cpp. |
|
Definition at line 36 of file coordinate.h. Referenced by RadialDistributionFunction::acquire(), RadialDensityHistogram::acquire(), MDLJ_Simulation::calculateAccelerations(), Cluster::calculatePotentialEnergy(), Coordinate(), FCC_Lattice::createLattice(), MCLJ_Simulation::generateDistanceToMove(), operator *(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<<(), operator=(), operator==(), operator>>(), and MCLJ_Simulation::potentialEnergyDifference(). |
|
Definition at line 40 of file coordinate.h. Referenced by RadialDistributionFunction::acquire(), RadialDensityHistogram::acquire(), MDLJ_Simulation::calculateAccelerations(), Cluster::calculatePotentialEnergy(), Coordinate(), FCC_Lattice::createLattice(), MCLJ_Simulation::generateDistanceToMove(), operator *(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<<(), operator=(), operator==(), operator>>(), and MCLJ_Simulation::potentialEnergyDifference(). |
|
Definition at line 44 of file coordinate.h. Referenced by RadialDistributionFunction::acquire(), RadialDensityHistogram::acquire(), MDLJ_Simulation::calculateAccelerations(), Cluster::calculatePotentialEnergy(), Coordinate(), FCC_Lattice::createLattice(), MCLJ_Simulation::generateDistanceToMove(), operator *(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<<(), operator=(), operator==(), operator>>(), and MCLJ_Simulation::potentialEnergyDifference(). |