#include <CustomInteractionNew.h>

Public Member Functions | |
| CustomInteractionNew () | |
| Constructor. | |
| ~CustomInteractionNew () | |
| Destructor. | |
| CustomInteractionNew * | Clone () |
| Copy pointer constructor. | |
| void | SetPotential (Potential *, int) |
| Associates a potential function with a given key (int). | |
| void | SetPotential (int, Potential *) |
| Associates a potential function with a given key (int). | |
| void | ComputePotential (const McBead &, const McBead &, const double &, double &) |
| double | GetOverlapCutoffSq (const Bead &, const Bead &) |
| double | GetCutoffSq (const Bead &, const Bead &) |
| double | GetMaxCutoff () |
| void | PrintLammpsEquivalent (std::ostream &) |
| Print the equivalent command in lammps. | |
| void | PrintRestartData (std::ostream &) |
| Print restart information to a stream. | |
| CustomInteractionNew () | |
| Constructor. | |
| ~CustomInteractionNew () | |
| Destructor. | |
| CustomInteractionNew * | Clone () |
| Copy pointer constructor. | |
| void | SetPotential (Potential *, int) |
| Associates a potential function with a given key (int). | |
| void | SetPotential (int, Potential *) |
| Associates a potential function with a given key (int). | |
| void | ComputeForce (MdBead &, MdBead &, gfloat &, gvector &) |
| void | ComputeShiftedForce (MdBead &, MdBead &, gfloat &, gvector &) |
| void | ComputePotential (const McBead &, const McBead &, const gfloat &, gfloat &) |
| gfloat | GetOverlapCutoffSq (const Bead &, const Bead &) |
| gfloat | GetCutoffSq (const Bead &, const Bead &) |
| gfloat | GetMaxCutoff () |
| void | PrintLammpsEquivalent (std::ostream &) |
| Print the equivalent command in lammps. | |
| void | PrintRestartData (std::ostream &) |
| Print restart information to a stream. | |
Private Attributes | |
| std::map< int, Potential * > | mPotential |
| Sparse array of potential functions. | |
| std::map< int, double > | mOverlapCutoffSq |
| Sparse array of overlap cutoffs. | |
| std::map< int, double > | mCutoff |
| Sparse array of cutoffs. | |
| double | mMaxCutoff |
| Maximum cutoff over all potential functions. | |
| std::map< int, Potential * > | mPotential |
| Sparse array of potential functions. | |
| std::map< int, double > | mOverlapCutoffSq |
| Sparse array of overlap cutoffs. | |
| std::map< int, double > | mCutoff |
| Sparse array of cutoffs. | |
| gfloat | mMaxCutoff |
| Maximum cutoff over all potential functions. | |
| glotzmc::CustomInteractionNew::CustomInteractionNew | ( | ) |
Constructor.
| glotzmc::CustomInteractionNew::~CustomInteractionNew | ( | ) |
Destructor.
| glotzmc::CustomInteractionNew::CustomInteractionNew | ( | ) |
Constructor.
| glotzmc::CustomInteractionNew::~CustomInteractionNew | ( | ) |
Destructor.
| CustomInteractionNew * glotzmc::CustomInteractionNew::Clone | ( | ) | [virtual] |
| void glotzmc::CustomInteractionNew::SetPotential | ( | Potential * | , | |
| int | ||||
| ) |
Associates a potential function with a given key (int).
| void glotzmc::CustomInteractionNew::SetPotential | ( | int | pair, | |
| Potential * | potentialFunction | |||
| ) |
Associates a potential function with a given key (int).
| void glotzmc::CustomInteractionNew::ComputePotential | ( | const McBead & | beadI, | |
| const McBead & | beadJ, | |||
| const double & | r2, | |||
| double & | potential | |||
| ) | [inline, virtual] |
Implements glotzmc::Interaction.
| gfloat glotzmc::CustomInteractionNew::GetOverlapCutoffSq | ( | const Bead & | beadI, | |
| const Bead & | beadJ | |||
| ) | [inline, virtual] |
Implements glotzmc::Interaction.
| gfloat glotzmc::CustomInteractionNew::GetCutoffSq | ( | const Bead & | beadI, | |
| const Bead & | beadJ | |||
| ) | [inline, virtual] |
Implements glotzmc::Interaction.
| gfloat glotzmc::CustomInteractionNew::GetMaxCutoff | ( | ) | [inline, virtual] |
Implements glotzmc::Interaction.
| void glotzmc::CustomInteractionNew::PrintLammpsEquivalent | ( | std::ostream & | os | ) | [virtual] |
| void glotzmc::CustomInteractionNew::PrintRestartData | ( | std::ostream & | os | ) | [virtual] |
| CustomInteractionNew* glotzmc::CustomInteractionNew::Clone | ( | ) | [virtual] |
| void glotzmc::CustomInteractionNew::SetPotential | ( | Potential * | , | |
| int | ||||
| ) |
Associates a potential function with a given key (int).
| void glotzmc::CustomInteractionNew::SetPotential | ( | int | , | |
| Potential * | ||||
| ) |
Associates a potential function with a given key (int).
| void glotzmc::CustomInteractionNew::ComputeForce | ( | MdBead & | beadI, | |
| MdBead & | beadJ, | |||
| gfloat & | r2, | |||
| gvector & | rij | |||
| ) | [inline, virtual] |
Implements glotzmc::Interaction.
| void glotzmc::CustomInteractionNew::ComputeShiftedForce | ( | MdBead & | beadI, | |
| MdBead & | beadJ, | |||
| gfloat & | r2, | |||
| gvector & | rij | |||
| ) | [inline, virtual] |
Implements glotzmc::Interaction.
| void glotzmc::CustomInteractionNew::ComputePotential | ( | const McBead & | , | |
| const McBead & | , | |||
| const gfloat & | , | |||
| gfloat & | ||||
| ) | [inline, virtual] |
Implements glotzmc::Interaction.
| gfloat glotzmc::CustomInteractionNew::GetOverlapCutoffSq | ( | const Bead & | , | |
| const Bead & | ||||
| ) | [inline, virtual] |
Implements glotzmc::Interaction.
Implements glotzmc::Interaction.
| gfloat glotzmc::CustomInteractionNew::GetMaxCutoff | ( | ) | [inline, virtual] |
Implements glotzmc::Interaction.
| void glotzmc::CustomInteractionNew::PrintLammpsEquivalent | ( | std::ostream & | ) | [virtual] |
| void glotzmc::CustomInteractionNew::PrintRestartData | ( | std::ostream & | ) | [virtual] |
std::map<int, Potential*> glotzmc::CustomInteractionNew::mPotential [private] |
Sparse array of potential functions.
std::map<int, double> glotzmc::CustomInteractionNew::mOverlapCutoffSq [private] |
Sparse array of overlap cutoffs.
std::map<int, double> glotzmc::CustomInteractionNew::mCutoff [private] |
Sparse array of cutoffs.
double glotzmc::CustomInteractionNew::mMaxCutoff [private] |
Maximum cutoff over all potential functions.
std::map<int, Potential*> glotzmc::CustomInteractionNew::mPotential [private] |
Sparse array of potential functions.
std::map<int, double> glotzmc::CustomInteractionNew::mOverlapCutoffSq [private] |
Sparse array of overlap cutoffs.
std::map<int, double> glotzmc::CustomInteractionNew::mCutoff [private] |
Sparse array of cutoffs.
gfloat glotzmc::CustomInteractionNew::mMaxCutoff [private] |
Maximum cutoff over all potential functions.
1.5.3