| 
    OpenMPCD
    
   | 
 
FENE Interaction \( -0.5 K R^2 \log (1 - (\frac{r - l_0}{R})^2)\). More...
#include <FENE.hpp>


Public Member Functions | |
| OPENMPCD_CUDA_HOST_AND_DEVICE | FENE (const T K, const T l_0, const T R) | 
| The constructor.  More... | |
| OPENMPCD_CUDA_HOST_AND_DEVICE Vector3D< T > | force (const Vector3D< T > &Rvec) const | 
| Returns the force vector of the interaction for a given position vector.  More... | |
| OPENMPCD_CUDA_HOST_AND_DEVICE T | potential (const Vector3D< T > &Rvec) const | 
| Returns the potential of the interaction for a given position vector.  More... | |
| OPENMPCD_CUDA_HOST_AND_DEVICE T | getK () const | 
| Returns the \( K \) parameter.  More... | |
| OPENMPCD_CUDA_HOST_AND_DEVICE T | getR () const | 
| Returns the \( R \) parameter.  More... | |
| OPENMPCD_CUDA_HOST_AND_DEVICE T | get_l_0 () const | 
| Returns the \( l_0 \) parameter.  More... | |
| virtual OPENMPCD_CUDA_HOST_AND_DEVICE Vector3D< FP > | force (const Vector3D< FP > &Rvec) const=0 | 
| Returns the force vector of the interaction for a given position vector.  More... | |
| virtual OPENMPCD_CUDA_HOST_AND_DEVICE FP | potential (const Vector3D< FP > &Rvec) const=0 | 
| Returns the potential of the interaction for a given position vector.  More... | |
| const OPENMPCD_CUDA_HOST_AND_DEVICE Vector3D< FP > | forceOnR1DueToR2 (const Vector3D< FP > &r1, const Vector3D< FP > &r2) const | 
Returns the force exerted on the particle at r1 due to the particle at r2.  More... | |
FENE Interaction \( -0.5 K R^2 \log (1 - (\frac{r - l_0}{R})^2)\).
| T | The numeric base type. | 
      
  | 
  inline | 
      
  | 
  pure virtualinherited | 
Returns the force vector of the interaction for a given position vector.
This function returns the directional derivative
\[ - \nabla_R V \left( \vec{R} \right) \]
 where \( \vec{R} \) is the Rvec parameter, \( V \) is the potential as given by the potential function, and \( \nabla_R V \) is the gradient of \( V \) with respect to \( \vec{R} \).
| [in] | Rvec | The relative position vector. | 
      
  | 
  inline | 
Returns the force vector of the interaction for a given position vector.
This function returns the directional derivative
\[ - \nabla_R V \left( \vec{R} \right) \]
 where \( \vec{R} \) is the Rvec parameter, \( V \) is the potential as given by the potential function, and \( \nabla_R V \) is the gradient of \( V \) with respect to \( \vec{R} \).
| [in] | Rvec | The relative position vector. | 
      
  | 
  inlineinherited | 
Returns the force exerted on the particle at r1 due to the particle at r2. 
| [in] | r1 | The position of the first particle. | 
| [in] | r2 | The position of the second particle. | 
Definition at line 65 of file PairPotentials/Base.hpp.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  pure virtualinherited | 
Returns the potential of the interaction for a given position vector.
| [in] | Rvec | The relative position vector. | 
      
  | 
  inline | 
 1.8.17