faunus
Public Member Functions | List of all members
Faunus::Energy::NonbondedBase Class Referenceabstract
Inheritance diagram for Faunus::Energy::NonbondedBase:
Inheritance graph
[legend]
Collaboration diagram for Faunus::Energy::NonbondedBase:
Collaboration graph
[legend]

Public Member Functions

virtual double particleParticleEnergy (const Particle &particle1, const Particle &particle2)=0
 
virtual double groupGroupEnergy (const Group &group1, const Group &group2)=0
 
- Public Member Functions inherited from Faunus::Energy::EnergyTerm
virtual double energy (const Change &change)=0
 energy due to change
 
virtual void to_json (json &j) const
 json output
 
virtual void sync (EnergyTerm *other_energy, const Change &change)
 Sync (copy from) another energy instance. More...
 
virtual void init ()
 reset and initialize
 
virtual void updateState (const Change &change)
 Update internal state to reflect change in e.g. Space. More...
 
virtual void force (PointVector &forces)
 update forces on all particles
 

Additional Inherited Members

- Public Types inherited from Faunus::Energy::EnergyTerm
enum  MonteCarloState { ACCEPTED, TRIAL, NONE }
 
- Public Attributes inherited from Faunus::Energy::EnergyTerm
MonteCarloState state = MonteCarloState::NONE
 
std::string name
 Meaningful name.
 
std::string citation_information
 Possible reference; may be left empty.
 
TimeRelativeOfTotal< std::chrono::microseconds > timer
 Timer for measuring speed.
 

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