Emdee
|
The Atom class defines the type, position and other properties of an atom. More...
#include <atom.h>
Public Member Functions | |
Atom () | |
Atom (const AtomType &atomType) | |
void | clearForcePotentialPressure () |
void | clearDisplacement () |
const Vector3 & | position () const |
const Vector3 & | velocity () const |
const Vector3 & | force () const |
const Vector3 & | displacement () const |
const AtomType & | type () const |
double | potential () const |
double | localPressure () const |
int | cellID () const |
int | id () const |
double | mass () const |
void | addLocalPressure (double pressure) |
void | addForce (int component, double force) |
void | setPosition (const Vector3 &position) |
void | setVelocity (const Vector3 &velocity) |
void | addForce (const Vector3 &force) |
void | addPotential (double potential) |
void | setCellID (int cellID) |
void | addDisplacement (const Vector3 &displacement) |
void | addDisplacement (double displacement, uint component) |
void | setForce (const Vector3 &force) |
void | clone (const Atom &other) |
void | communicationClone (const Atom &other, const vector< AtomType > &moleculeSystem) |
bool | isPositionFixed () |
void | setPositionFixed (bool fixed) |
void | setID (int id) |
const std::vector< std::pair < Atom *, Vector3 * > > & | neighborAtoms () |
void | clearNeighborAtoms () |
void | addNeighborAtom (Atom *neighborAtom, Vector3 *offsetVector) |
void | setAtomType (const AtomType &atomType) |
Protected Attributes | |
Vector3 | m_position |
Vector3 | m_force |
Vector3 | m_velocity |
Vector3 | m_displacement |
double | m_potential |
double | m_localPressure |
int | m_cellID |
AtomType | m_atomType |
bool | m_isPositionFixed |
int | m_id |
int | m_atomTypeIndex |
std::vector< std::pair< Atom *, Vector3 * > > | m_neighborAtoms |
Friends | |
class | TwoParticleForce |
The Atom class defines the type, position and other properties of an atom.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Atom::clearNeighborAtoms | ( | ) |
void Atom::clone | ( | const Atom & | other) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Atom::setAtomType | ( | const AtomType & | atomType) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |