|
ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
#include <Comp2Param.h>
Public Member Functions | |
| Comp2Param () | |
| Comp2Param (const std::vector< Component > &components, const std::vector< double > &mixcoeff, double epsRF, double rc, double rcLJ) | |
| ParaStrm & | operator() (unsigned int i, unsigned int j) |
| void | initialize (const std::vector< Component > &components, const std::vector< double > &mixcoeff, double epsRF, double rc, double rcLJ) |
| Initialize the parameter streams for each component-component table entry. More... | |
Comp2Param provides a flexible hash table interface to interaction parameter streams.
|
inline |
Create a new empty parameter stream.
|
inline |
Create a new interaction parameter hash table initialized with the given components and parameters.
| void Comp2Param::initialize | ( | const std::vector< Component > & | components, |
| const std::vector< double > & | mixcoeff, | ||
| double | epsRF, | ||
| double | rc, | ||
| double | rcLJ | ||
| ) |
Initialize the parameter streams for each component-component table entry.
The order of the entries must correspond to the PotForce() function found in potforce.h reading the stream
|
inline |
Get parameter stream for the interaction between component i and j.