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/gasDensity.h

28 lines
491 B
C

#pragma once
#include "iAlgPvtBase.h"
enum epgMethod
{
Internal_pg = 0
};
class M_PVT_EXPORT gasDensity : public iAlgPvtBase
{
public:
gasDensity();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
public:
bool internal(VecDouble vecP, VecDouble& vecPg);
private:
double m_dT; // rt,油藏温度°C
double m_dM; // Mg,摩尔质量甲烷是16g/mol
};