#include <AtomSubsystem.h>
List of all members.
Classes |
class | Atom |
class | AtomsByBody |
class | Bond |
class | PairIterator |
Public Types |
enum | NeighborAlgorithm { N_SQUARED,
VOXEL_HASH,
AUTOMATIC
} |
typedef SimTK::units::md::mass_t | mass_t |
typedef SimTK::units::md::length_t | length_t |
typedef
SimTK::units::md::location_t | location_t |
typedef SimTK::units::md::area_t | area_t |
typedef std::vector< AtomIndex > | AtomIndexList |
typedef std::vector< AtomsByBody > | AtomicBodies |
Public Member Functions |
| SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE (AtomSubsystem, AtomIndex) |
| SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE (AtomSubsystem, BodyAtomIndex) |
| SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE (AtomSubsystem, LocalBodyIndex) |
| SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE (AtomSubsystem, BondIndex) |
PairIterator | pairBegin (const State &state, length_t cutoff=0.0 *nanometers, NeighborAlgorithm algorithm=AUTOMATIC) const |
PairIterator | pairEnd () const |
| AtomSubsystem (SimTK::MultibodySystem &system) |
MultibodySystem & | updMultibodySystem () |
const MultibodySystem & | getMultibodySystem () const |
AtomSubsystem & | setAtomMobilizedBodyIndex (AtomIndex atomIx, MobilizedBodyIndex bodyIx) |
const AtomIndexList & | getBodyAtoms (LocalBodyIndex bodyIx) const |
const AtomIndexList & | getBodyAtoms (SimTK::MobilizedBodyIndex bodyIx) const |
AtomIndex | addAtom (mass_t mass=0.0 *daltons) |
size_t | getNumAtoms () const |
const Vec3 & | getAtomLocationInGround (const SimTK::State &state, AtomIndex atom) const |
const Vec3 & | getAtomVelocityInGround (const SimTK::State &state, AtomIndex atom) const |
const Vec3 & | getAtomBodyStationInGround (const SimTK::State &state, AtomIndex atom) const |
const Atom & | getAtom (AtomIndex ix) const |
Atom & | updAtom (AtomIndex ix) |
BondIndex | addBond (AtomIndex a1, AtomIndex a2) |
size_t | getNumBonds () const |
const Bond & | getBond (BondIndex ix) const |
Bond & | updBond (BondIndex ix) |
size_t | getNumBodies () const |
void | addBodyExclusion (MobilizedBodyIndex bodyIx1, MobilizedBodyIndex bodyIx2) |
SimbodyMatterSubsystem & | updMatterSubsystem () |
Protected Member Functions |
const Impl & | getRep () const |
Impl & | updRep () |
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
N_SQUARED |
|
VOXEL_HASH |
|
AUTOMATIC |
|
Constructor & Destructor Documentation
Member Function Documentation
const Impl& SimTK::AtomSubsystem::getRep |
( |
| ) |
const [protected] |
Impl& SimTK::AtomSubsystem::updRep |
( |
| ) |
[protected] |
SimTK::AtomSubsystem::SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE |
( |
AtomSubsystem |
, |
|
|
AtomIndex |
|
|
) |
| |
SimTK::AtomSubsystem::SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE |
( |
AtomSubsystem |
, |
|
|
BodyAtomIndex |
|
|
) |
| |
SimTK::AtomSubsystem::SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE |
( |
AtomSubsystem |
, |
|
|
LocalBodyIndex |
|
|
) |
| |
SimTK::AtomSubsystem::SimTK_DEFINE_UNIQUE_LOCAL_INDEX_TYPE |
( |
AtomSubsystem |
, |
|
|
BondIndex |
|
|
) |
| |
const AtomIndexList& SimTK::AtomSubsystem::getBodyAtoms |
( |
LocalBodyIndex |
bodyIx | ) |
const |
AtomIndex SimTK::AtomSubsystem::addAtom |
( |
mass_t |
mass = 0.0 *daltons | ) |
|
size_t SimTK::AtomSubsystem::getNumAtoms |
( |
| ) |
const |
const Vec3& SimTK::AtomSubsystem::getAtomLocationInGround |
( |
const SimTK::State & |
state, |
|
|
AtomIndex |
atom |
|
) |
| const |
const Vec3& SimTK::AtomSubsystem::getAtomVelocityInGround |
( |
const SimTK::State & |
state, |
|
|
AtomIndex |
atom |
|
) |
| const |
const Vec3& SimTK::AtomSubsystem::getAtomBodyStationInGround |
( |
const SimTK::State & |
state, |
|
|
AtomIndex |
atom |
|
) |
| const |
const Atom& SimTK::AtomSubsystem::getAtom |
( |
AtomIndex |
ix | ) |
const |
Atom& SimTK::AtomSubsystem::updAtom |
( |
AtomIndex |
ix | ) |
|
BondIndex SimTK::AtomSubsystem::addBond |
( |
AtomIndex |
a1, |
|
|
AtomIndex |
a2 |
|
) |
| |
size_t SimTK::AtomSubsystem::getNumBonds |
( |
| ) |
const |
const Bond& SimTK::AtomSubsystem::getBond |
( |
BondIndex |
ix | ) |
const |
Bond& SimTK::AtomSubsystem::updBond |
( |
BondIndex |
ix | ) |
|
size_t SimTK::AtomSubsystem::getNumBodies |
( |
| ) |
const |
The documentation for this class was generated from the following file: