You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/Include/mAlg/mAlgPvt/waterBw.h

37 lines
622 B
C

#pragma once
#include "iAlgPvtBase.h"
// 水体积系数
class M_PVT_EXPORT waterBw : public iAlgPvtBase
{
private:
enum PvtAlgMethod
{
PM_Gould = 0,
PM_McCain,
PM_MeehanRamey
};
public:
waterBw();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
public:
bool Gould(VecDouble vecP, VecDouble& vecBw);
bool McCain(VecDouble vecP, VecDouble& vecBw);
bool MeehanRamey(VecDouble vecP, VecDouble& vecBw);
private:
double m_dT; //rt, 油藏温度°C
};