PhysicsHelpers.hpp File Reference

Go to the source code of this file.

Namespaces

 CubbyFlow
 

Functions

Vector2D CubbyFlow::ComputeDragForce (double dragCoefficient, double radius, const Vector2D &velocity)
 
template<size_t N>
Vector< double, N > CubbyFlow::ProjectAndApplyFriction (const Vector< double, N > &vel, const Vector< double, N > &normal, double frictionCoefficient)
 
double CubbyFlow::ComputePressureFromEos (double density, double targetDensity, double eosScale, double eosExponent, double negativePressureScale)