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

34 lines
575 B
C

#pragma once
#include "iAlgPvtBase.h"
// 水密度
class M_PVT_EXPORT waterRhow : public iAlgPvtBase
{
private:
enum PvtAlgMethod
{
PM_Internal = 0,
PM_Internal_New
};
public:
waterRhow();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
public:
bool internal(VecDouble vecP, VecDouble& vecPw);
bool internal_New(VecDouble vecP, VecDouble& vecPw);
private:
double m_dPw; //pwSC,标况下的水密度1000kg/m3
};