#ifndef VELOCITY_DISTRIBUTION_H #define VELOCITY_DISTRIBUTION_H #include #include #include "simulation/coordinates.h" class VelocityDistributionFunction; class VelocityDistribution { public: virtual CartesianVector rollVelocity(const Coordinate& position, std::mt19937* engine) = 0; }; class VelocityDistributionFromFunction : public VelocityDistribution { public: VelocityDistributionFromFunction( std::shared_ptr fv); CartesianVector rollVelocity(const Coordinate& position, std::mt19937* engine); private: std::shared_ptr fv_; }; #endif /* VELOCITY_DISTRIBUTION_H */