Peano
Loading...
Searching...
No Matches
Springs.h File Reference
Include dependency graph for Springs.h:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::particles
 
namespace  toolbox::particles::potentials
 

Functions

tarch::la::Vector< Dimensions, double > toolbox::particles::potentials::springPotential (const tarch::la::Vector< Dimensions, double > &p1, const tarch::la::Vector< Dimensions, double > &p2, double h)
 Assumes that there is no force in-between two particles p1 and p2 if they are h away from each other.