#include <interaction.hpp>
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 >
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 >
The documentation for this class was generated from the following file: