a group of atoms, such as all of them (AtomVec), or a smaller group such as a molecule, sidebranch, etc.
More...
#include <box.hpp>
a group of atoms, such as all of them (AtomVec), or a smaller group such as a molecule, sidebranch, etc.
virtual AtomGroup::~AtomGroup |
( |
| ) |
|
|
inlinevirtual |
void AtomGroup::add_omega |
( |
Vec |
w, |
|
|
Vec |
origin |
|
) |
| |
Add a given angular velocity to all atoms, by adding to their velocity.
void AtomGroup::add_omega |
( |
Vec |
w | ) |
|
|
inline |
void AtomGroup::add_velocity |
( |
Vec |
v | ) |
|
for resetting. Adds a fixed velocity to all atoms
Vec AtomGroup::angular_momentum |
( |
const Vec |
loc | ) |
const |
Vec AtomGroup::angular_momentum |
( |
| ) |
const |
|
inline |
Vec AtomGroup::com |
( |
| ) |
const |
Vec AtomGroup::com_force |
( |
| ) |
const |
center of mass force (i.e., sum of all forces)
Vec AtomGroup::com_velocity |
( |
| ) |
const |
flt AtomGroup::gyradius |
( |
| ) |
const |
flt AtomGroup::kinetic_energy |
( |
const Vec |
originvelocity = Vec::Zero() | ) |
const |
Total kinetic_energy energy of the group.
This is normally with reference to a "lab" reference frame (velocity (0,0,0)), but can optionally take a different origin velocity, e.g. com_velocity()
.
flt AtomGroup::mass |
( |
| ) |
const |
Matrix AtomGroup::moment |
( |
const Vec |
loc | ) |
const |
Moment of inertia of the atoms as a whole.
Matrix AtomGroup::moment |
( |
| ) |
const |
|
inline |
flt AtomGroup::moment_about |
( |
const Vec |
axis, |
|
|
const Vec |
loc |
|
) |
| const |
Moment of inertia of the atoms about an axis.
flt AtomGroup::moment_about |
( |
const Vec |
axis | ) |
const |
|
inline |
Vec AtomGroup::momentum |
( |
| ) |
const |
Vec AtomGroup::omega |
( |
const Vec |
loc | ) |
const |
Vec AtomGroup::omega |
( |
| ) |
const |
|
inline |
virtual Atom& AtomGroup::operator[] |
( |
cuint |
n | ) |
|
|
pure virtual |
virtual Atom& AtomGroup::operator[] |
( |
cuint |
n | ) |
const |
|
pure virtual |
void AtomGroup::randomize_velocities |
( |
flt |
T | ) |
|
Randomize velocities, for a specific temperature.
void AtomGroup::reset_com_velocity |
( |
| ) |
|
|
inline |
Subtracts the center of mass velocity from all atoms.
void AtomGroup::reset_forces |
( |
| ) |
|
void AtomGroup::reset_L |
( |
| ) |
|
|
inline |
Reset angular momentum to 0.
virtual uint AtomGroup::size |
( |
| ) |
const |
|
pure virtual |
Vec AtomGroup::torque |
( |
const Vec |
loc | ) |
const |
Total torque about a given location.
Vec AtomGroup::torque |
( |
| ) |
const |
|
inline |
virtual AtomVec& AtomGroup::vec |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: