00001 00023 #ifndef SLIPRELATIONINTERFACE_H 00024 #define SLIPRELATIONINTERFACE_H 00025 00026 #include "plugininterface.h" 00027 #include "data.h" 00028 00029 class SlipRelationInterface : public PluginInterface 00030 { 00031 public: 00032 virtual ~SlipRelationInterface() {}; 00033 00034 virtual double calculateLiquidVelocity(Data const &data, double Usl, double Usg, double alpha) const = 0; 00035 virtual double calculateGasVelocity(Data const &data, double UlDisp, double alpha) const = 0; 00036 virtual double calculateAlpha(Data const &data, double alpha, double Usl, double Usg) const = 0; 00037 virtual bool isSlipRelationFriction() const = 0; 00038 }; 00039 00040 Q_DECLARE_INTERFACE(SlipRelationInterface, "com.MariusStene.MultiPhase.SlipRelationInterface/1.0"); 00041 00042 #endif // SLIPRELATIONINTERFACE_H