ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
TabulatedBond Struct Reference

Base class for n-body tabulated potential (n=2,3,4). More...

#include <bonded_tab.hpp>

Inheritance diagram for TabulatedBond:
Collaboration diagram for TabulatedBond:

Public Member Functions

 TabulatedBond (double min, double max, std::vector< double > const &energy, std::vector< double > const &force)
 Set the parameters of a bonded tabulated potential.

Public Attributes

std::shared_ptr< TabulatedPotential > pot

Detailed Description

Base class for n-body tabulated potential (n=2,3,4).

Definition at line 47 of file bonded_tab.hpp.

Constructor & Destructor Documentation

◆ TabulatedBond()

TabulatedBond::TabulatedBond ( double min,
double max,
std::vector< double > const & energy,
std::vector< double > const & force )
inline

Set the parameters of a bonded tabulated potential.

ia_params and force/energy tables are communicated to each node.

Parameters
minPosition on the x-axis of the first tabulated value.
maxPosition on the x-axis of the last tabulated value.
energyTabulated energies.
forceTabulated forces.

Definition at line 58 of file bonded_tab.hpp.

References pot.

Referenced by TabulatedAngleBond::TabulatedAngleBond(), TabulatedDihedralBond::TabulatedDihedralBond(), and TabulatedDistanceBond::TabulatedDistanceBond().

Member Data Documentation

◆ pot


The documentation for this struct was generated from the following file: