|
faunus
|
Template for interactions between patchy sphero-cylinders (PSCs) interactions. More...
#include <spherocylinder.h>


Public Member Functions | |
| void | to_json (json &j) const override |
| void | from_json (const json &j) override |
| double | operator() (const Particle &particle1, const Particle &particle2, [[maybe_unused]] double center_separation_squared, const Point ¢er_separation) const override |
Public Member Functions inherited from Faunus::pairpotential::PairPotential | |
| virtual Point | force (const Particle &a, const Particle &b, double squared_distance, const Point &b_towards_a) const |
| Force on particle a due to particle b. More... | |
| virtual double | operator() (const Particle &particle_a, const Particle &particle_b, double squared_distance, const Point &b_towards_a) const =0 |
| Pair energy between two particles. More... | |
Additional Inherited Members | |
Public Attributes inherited from Faunus::pairpotential::PairPotential | |
| std::string | name |
| unique name per polymorphic call; used in FunctorPotential::combinePairPotentials | |
| std::string | cite |
| Typically a short-doi litterature reference. | |
| bool | isotropic = true |
| true if pair-potential is independent of particle orientation | |
| std::function< double(const Particle &)> | selfEnergy = nullptr |
| self energy of particle (kT) | |
Protected Member Functions inherited from Faunus::pairpotential::PairPotential | |
| PairPotential (std::string name=std::string(), std::string cite=std::string(), bool isotropic=true) | |
Template for interactions between patchy sphero-cylinders (PSCs) interactions.
This template takes care of psc-psc interactions. If there are patches we calculate scaling factors based on the overlapping segments of the two PSCs withn their patches. f0 is for size of overlapping segment whicle f1 anf f2 are scaling fators for orientation of pacthes.
| PatchPotential | Pair potential between two points on the patches (isotropic, e.g. CosAttract) |
| CylinderPotential | Pair potential between closest cylinder parts (isotropic, e.g. WCA) |
1.8.13