Simpatico
v1.10
|
A Link represents a crosslink between two Atoms.
All non-const mutator methods of Link are private, and are called only by the friend class LinkMaster. Outside of the implementation of LinkMaster, a Link is thus a read-only object.
#include <Link.h>
Public Member Functions | |
Link () | |
Constructor. More... | |
const Atom & | atom0 () const |
Get Atom0 connected to a Link. More... | |
Atom & | atom0 () |
Get Atom0 connected to a Link. More... | |
const Atom & | atom1 () const |
Get Atom1 connected to a Link. More... | |
Atom & | atom1 () |
Get Atom1 connected to a Link. More... | |
int | typeId () const |
Get the typeId for this Link. More... | |
int | tag () const |
Get a permanent integer identifier for this object. More... | |
bool | isActive () const |
Is this Link active? More... | |
void | setIsActive (bool isActive) |
Activate or deactivate the Link. More... | |
|
inline |
|
inline |
Get Atom0 connected to a Link.
Definition at line 159 of file Link.h.
Referenced by McMd::LinkPotentialImpl< Interaction >::addForces(), McMd::LinkPotentialImpl< Interaction >::atomEnergy(), McMd::LinkPotentialImpl< Interaction >::computeEnergy(), McMd::LinkMaster::isValid(), Link(), McMd::SliplinkerAll::move(), McMd::SliplinkerEnd::move(), McMd::SliplinkMove::move(), McMd::GcSliplinkMove::move(), McMd::Sliplinker::move(), McMd::LinkMaster::removeLink(), McMd::LinkMaster::reSetAtom(), McMd::LinkMaster::reSetAtoms(), McMd::LinkLengthDist::sample(), McMd::SSChainDist::sample(), McMd::LinkLTPos::sample(), McMd::LinkMSD::sample(), McMd::InterIntraLink::sample(), and McMd::McMdConfigIo::write().
|
inline |
|
inline |
Get Atom1 connected to a Link.
Definition at line 171 of file Link.h.
Referenced by McMd::LinkPotentialImpl< Interaction >::addForces(), McMd::LinkPotentialImpl< Interaction >::atomEnergy(), McMd::LinkPotentialImpl< Interaction >::computeEnergy(), McMd::LinkMaster::isValid(), Link(), McMd::SliplinkerAll::move(), McMd::SliplinkerEnd::move(), McMd::SliplinkMove::move(), McMd::GcSliplinkMove::move(), McMd::Sliplinker::move(), McMd::LinkMaster::removeLink(), McMd::LinkMaster::reSetAtom(), McMd::LinkMaster::reSetAtoms(), McMd::LinkLengthDist::sample(), McMd::SSChainDist::sample(), McMd::LinkLTPos::sample(), McMd::LinkMSD::sample(), McMd::InterIntraLink::sample(), and McMd::McMdConfigIo::write().
|
inline |
|
inline |
Get the typeId for this Link.
Definition at line 189 of file Link.h.
Referenced by McMd::LinkPotentialImpl< Interaction >::addForces(), atom1(), McMd::LinkPotentialImpl< Interaction >::atomEnergy(), McMd::LinkPotentialImpl< Interaction >::computeEnergy(), McMd::GcSliplinkMove::move(), McMd::SliplinkMove::move(), and McMd::McMdConfigIo::write().
|
inline |
Get a permanent integer identifier for this object.
Definition at line 213 of file Link.h.
Referenced by McMd::LinkLTPos::sample(), McMd::LinkMSD::sample(), and setIsActive().
|
inline |
Is this Link active?
Definition at line 195 of file Link.h.
Referenced by McMd::LinkMaster::isValid(), McMd::LinkMaster::reSetAtom(), McMd::LinkMaster::reSetAtoms(), and setIsActive().
|
inline |
Activate or deactivate the Link.
isActive | true (active) or false (inactive) |
Definition at line 201 of file Link.h.
References isActive(), and tag().
Referenced by McMd::LinkMaster::addLink().