step/stepcore
StepCore::Force Class Referenceabstract
#include <world.h>
Inheritance diagram for StepCore::Force:
Public Member Functions | |
virtual | ~Force () |
virtual void | calcForce (bool calcVariances)=0 |
Detailed Description
Interface for forces.
Force is anything that acts upon bodies changing derivatives of dynamic variables
Constructor & Destructor Documentation
Member Function Documentation
|
pure virtual |
Calculate force.
Bodies can be accessed through this->world()->bodies()
Implemented in StepCore::WeightForce, StepCore::Spring, StepCore::GasLJForce, StepCore::CircularMotor, StepCore::CoulombForce, StepCore::GravitationForce, and StepCore::LinearMotor.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.