#include <LinearInterpPotential.h>

Public Member Functions | |
| LinearInterpPotential (Potential *) | |
| LinearInterpPotential * | Clone () |
| Clone constructor. | |
| void | ComputeForce (InteractingObject *const, InteractingObject *const, const glotz_vec &, const glotz_flt) |
| void | ComputeShiftedForce (InteractingObject *const, InteractingObject *const, const glotz_vec &, const glotz_flt, const glotz_flt) |
| glotz_flt | GetCutoff () const |
| Gets the interaction cutoff. | |
| glotz_flt | GetOverlapCutoff () const |
| Gets the overlap cutoff. | |
Private Attributes | |
| Potential * | mPotential |
| const glotz_flt | mCutoff |
| const glotz_flt | mCutoffSq |
| const glotz_flt | mOverlapCutoff |
| const glotz_flt | mRange |
| const glotz_flt | mInverseStepSize |
Interpolates potential, virial, and force values from a templated lookup table. All interpolated potential inhererit from the LookupTable class and add a few functions to define how the table is accessed / interpolated.
| glotzmd::LinearInterpPotential< TABLE_SIZE >::LinearInterpPotential | ( | Potential * | potential | ) | [inline] |
| LinearInterpPotential< TABLE_SIZE > * glotzmd::LinearInterpPotential< TABLE_SIZE >::Clone | ( | ) | [inline, virtual] |
| void glotzmd::LinearInterpPotential< TABLE_SIZE >::ComputeForce | ( | InteractingObject * const | obj1, | |
| InteractingObject * const | obj2, | |||
| const glotz_vec & | rij, | |||
| const | glotz_flt | |||
| ) | [inline, virtual] |
Implements glotzmd::Potential.
| void glotzmd::LinearInterpPotential< TABLE_SIZE >::ComputeShiftedForce | ( | InteractingObject * const | obj1, | |
| InteractingObject * const | obj2, | |||
| const glotz_vec & | rij, | |||
| const | glotz_flt, | |||
| const | glotz_flt | |||
| ) | [inline, virtual] |
Implements glotzmd::Potential.
| glotz_flt glotzmd::LinearInterpPotential< TABLE_SIZE >::GetCutoff | ( | ) | const [inline, virtual] |
Gets the interaction cutoff.
Reimplemented from glotzmd::Potential.
| glotz_flt glotzmd::LinearInterpPotential< TABLE_SIZE >::GetOverlapCutoff | ( | ) | const [inline, virtual] |
Gets the overlap cutoff.
This function is used in interpolation
Reimplemented from glotzmd::Potential.
Potential* glotzmd::LinearInterpPotential< TABLE_SIZE >::mPotential [private] |
const glotz_flt glotzmd::LinearInterpPotential< TABLE_SIZE >::mCutoff [private] |
const glotz_flt glotzmd::LinearInterpPotential< TABLE_SIZE >::mCutoffSq [private] |
const glotz_flt glotzmd::LinearInterpPotential< TABLE_SIZE >::mOverlapCutoff [private] |
const glotz_flt glotzmd::LinearInterpPotential< TABLE_SIZE >::mRange [private] |
const glotz_flt glotzmd::LinearInterpPotential< TABLE_SIZE >::mInverseStepSize [private] |
1.5.3