00001 00024 #ifndef FRICTIONFUNCTIONS_H 00025 #define FRICTIONFUNCTIONS_H 00026 00027 #include "frictioninterface.h" 00028 #include "interfacefrictioninterface.h" 00029 #include "sliprelationinterface.h" 00030 00031 class FrictionFunctions { 00032 public: 00033 FrictionFunctions(); 00034 bool equals(FrictionFunctions *frictionFunctions); 00035 00037 inline void setPluginWallGas(FrictionInterface *pluginWallGas) { _pluginWallGas = pluginWallGas; }; 00039 inline void setPluginWallLiquid(FrictionInterface *pluginWallLiquid) { _pluginWallLiquid = pluginWallLiquid; }; 00041 inline void setPluginInterface(InterfaceFrictionInterface *pluginInterface) { _pluginInterface = pluginInterface; }; 00043 inline void setPluginDispersed(FrictionInterface *pluginDispersed) { _pluginDispersed = pluginDispersed; }; 00045 inline void setPluginSlipRelation(SlipRelationInterface *pluginSlipRelation) { _pluginSlipRelation = pluginSlipRelation; }; 00046 00048 inline FrictionInterface * pluginWallGas() { return _pluginWallGas; }; 00050 inline FrictionInterface * pluginWallLiquid() { return _pluginWallLiquid; }; 00052 inline InterfaceFrictionInterface * pluginInterface() { return _pluginInterface; }; 00054 inline FrictionInterface * pluginDispersed() { return _pluginDispersed; }; 00056 inline SlipRelationInterface * pluginSlipRelation() { return _pluginSlipRelation; }; 00057 00058 private: 00059 FrictionInterface *_pluginWallGas; 00060 FrictionInterface *_pluginWallLiquid; 00061 InterfaceFrictionInterface *_pluginInterface; 00062 FrictionInterface *_pluginDispersed; 00063 SlipRelationInterface *_pluginSlipRelation; 00064 }; 00065 00066 #endif // FRICTIONFUNCTIONS_H 00067 00068