#include <interaction.hpp>
template<class A, class P>
class NListed< A, P >
- Examples:
- hardspheres.cpp, LJatoms.cpp, and packer.cpp.
template<class A, class P>
template<class A, class P>
template<class A, class P>
template<class A, class P>
template<class A, class P>
vector<A>& NListed< A, P >::atom_list |
( |
| ) |
|
|
inline |
template<class A , class P >
unsigned long long NListed< A, P >::contacts |
( |
Box & |
box | ) |
|
number of Atom pairs with E != 0
template<class A , class P >
template<class A , class P >
template<class A, class P>
template<class A, class P>
template<class A, class P>
template<class A, class P>
template<class A, class P>
template<class A , class P >
unsigned long long NListed< A, P >::overlaps |
( |
Box & |
box | ) |
|
number of Atom pairs with E > 0
template<class A, class P>
vector<P>& NListed< A, P >::pair_iter |
( |
| ) |
|
|
inline |
template<class A , class P >
Partial pressure due to this Interaction.
\(P = \sum_{\left<i,j \right>} \vec r_{ij} \cdot \vec F_{ij}\), or equivalently \(P = \sum_i \vec r_i \cdot \vec F_i\)
Note that the full pressure involves all interactions and temperature, and needs to be normalized by \( \frac{1}{dV} \) where \(d\) is the number of dimensions and \(V\) is the volume.
Implements Interaction.
template<class A , class P >
template<class A , class P >
Set forces (Atom.f
) and return \(P = \sum_{\left<i,j \right>} \vec r_{ij} \cdot \vec F_{ij}\) at the same time (see pressure()
).
Reimplemented from Interaction.
template<class A , class P >
template<class A, class P>
template<class A , class P >
The force-moment tensor for the current simulation:
\(\tau^{\alpha \beta} = \sum_{\left<i,j \right>} r_{ij}^\alpha F_{ij}^\beta\).
At \(T=0\), the stress tensor \(\Sigma = \frac{1}{dV} \tau \).
Reimplemented from Interaction.
template<class A , class P >
void NListed< A, P >::update_pairs |
( |
| ) |
|
template<class A, class P>
template<class A, class P>
template<class A, class P>
template<class A, class P>
The documentation for this class was generated from the following file: