SPH
|
Additional forces that do not depend on spatial derivatives. More...
Go to the source code of this file.
Classes | |
class | ExternalForce< TFunctor > |
Generic external force given by lambda function. More... | |
class | InertialForce |
Centrifugal and Coriolis force. More... | |
Functions | |
template<typename TFunctor > | |
EquationHolder | makeExternalForce (TFunctor &&functor) |
Additional forces that do not depend on spatial derivatives.
Definition in file Potentials.h.
EquationHolder makeExternalForce | ( | TFunctor && | functor | ) |
Helper function to create ExternalForce utilizing type deduction. This way, we can use lambda as the template functor.
Definition at line 52 of file Potentials.h.