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.
109 lines
4.8 KiB
C++
109 lines
4.8 KiB
C++
#ifndef NMDATAPVTPARAFORPEBI_H
|
|
#define NMDATAPVTPARAFORPEBI_H
|
|
|
|
#include "nmData_global.h"
|
|
#include "nmDataBase.h"
|
|
#include "nmDataAttribute.h"
|
|
#include <QObject>
|
|
#include <QVector>
|
|
|
|
class NM_DATA_EXPORT nmDataPvtParaForPebi : public nmDataBase
|
|
{
|
|
public:
|
|
nmDataPvtParaForPebi();
|
|
|
|
// 实现 nmDataBase 的抽象方法:将当前 C++ 对象序列化为 RapidJSON Value
|
|
virtual rapidjson::Value ToJsonValue(rapidjson::Document::AllocatorType& allocator) const override;
|
|
// 实现 nmDataBase 的抽象方法:从 RapidJSON Value 反序列化数据到当前 C++ 对象
|
|
virtual void FromJsonValue(const rapidjson::Value& jsonValue) override;
|
|
|
|
// Getter methods
|
|
const QVector<double>& getPressure() const;
|
|
const nmDataAttribute& getPb() const;
|
|
const QVector<double>& getRso() const;
|
|
const QVector<double>& getBo() const;
|
|
const QVector<double>& getCo() const;
|
|
const QVector<double>& getMiuo() const;
|
|
const QVector<double>& getRouo() const;
|
|
const QVector<double>& getRv() const;
|
|
const QVector<double>& getBg() const;
|
|
const QVector<double>& getCg() const;
|
|
const QVector<double>& getMiug() const;
|
|
const QVector<double>& getRoug() const;
|
|
const QVector<double>& getZ() const;
|
|
const QVector<double>& getRsw() const;
|
|
const QVector<double>& getBw() const;
|
|
const QVector<double>& getCw() const;
|
|
const QVector<double>& getMiuw() const;
|
|
const QVector<double>& getRouw() const;
|
|
const QVector<double>& getV() const;
|
|
const QVector<double>& getKKinitial() const;
|
|
const QVector<double>& getCfCfinitial() const;
|
|
const QVector<double>& getSo() const;
|
|
const QVector<double>& getKro() const;
|
|
const QVector<double>& getSg() const;
|
|
const QVector<double>& getKrg() const;
|
|
const QVector<double>& getSw() const;
|
|
const QVector<double>& getKrw() const;
|
|
|
|
// Setter methods
|
|
void setPressure(const QVector<double>& pressure);
|
|
void setPb(const nmDataAttribute& pb);
|
|
void setRso(const QVector<double>& rso);
|
|
void setBo(const QVector<double>& bo);
|
|
void setCo(const QVector<double>& co);
|
|
void setMiuo(const QVector<double>& miuo);
|
|
void setRouo(const QVector<double>& rouo);
|
|
void setRv(const QVector<double>& rv);
|
|
void setBg(const QVector<double>& bg);
|
|
void setCg(const QVector<double>& cg);
|
|
void setMiug(const QVector<double>& miug);
|
|
void setRoug(const QVector<double>& roug);
|
|
void setZ(const QVector<double>& z);
|
|
void setRsw(const QVector<double>& rsw);
|
|
void setBw(const QVector<double>& bw);
|
|
void setCw(const QVector<double>& cw);
|
|
void setMiuw(const QVector<double>& miuw);
|
|
void setRouw(const QVector<double>& rouw);
|
|
void setV(const QVector<double>& v);
|
|
void setKKinitial(const QVector<double>& kkinitial);
|
|
void setCfCfinitial(const QVector<double>& cfcfinitial);
|
|
void setSo(const QVector<double>& so);
|
|
void setKro(const QVector<double>& kro);
|
|
void setSg(const QVector<double>& sg);
|
|
void setKrg(const QVector<double>& krg);
|
|
void setSw(const QVector<double>& sw);
|
|
void setKrw(const QVector<double>& krw);
|
|
|
|
private:
|
|
QVector<double> m_vecPressure; // 压力, MPa
|
|
nmDataAttribute m_pb; // 饱和压力, MPa
|
|
QVector<double> m_vecRso; // 溶解气油比, m^3/m^3
|
|
QVector<double> m_vecBo; // 油体积系数, m^3/m^3
|
|
QVector<double> m_vecCo; // 油压缩系数, 1/MPa
|
|
QVector<double> m_vecMiuo; // 油粘度, mPa·s
|
|
QVector<double> m_vecRouo; // 油密度, kg/m^3
|
|
QVector<double> m_vecRv; // 凝析油气比, m^3/m^3
|
|
QVector<double> m_vecBg; // 气体积系数, m^3/m^3
|
|
QVector<double> m_vecCg; // 气压缩系数, 1/MPa
|
|
QVector<double> m_vecMiug; // 气粘度, mPa·s
|
|
QVector<double> m_vecRoug; // 气密度, kg/m^3
|
|
QVector<double> m_vecZ; // 气偏差因子, 1
|
|
QVector<double> m_vecRsw; // 溶解气水比, m^3/m^3
|
|
QVector<double> m_vecBw; // 水体积系数, m^3/m^3
|
|
QVector<double> m_vecCw; // 水压缩系数, 1/MPa
|
|
QVector<double> m_vecMiuw; // 水粘度, mPa·s
|
|
QVector<double> m_vecRouw; // 水密度, kg/m^3
|
|
QVector<double> m_vecV; // 吸附气量, m^3/kg
|
|
QVector<double> m_vecKKinitial; // 渗透率比, 1
|
|
QVector<double> m_vecCfCfinitial; // 岩石压缩系数比, 1
|
|
QVector<double> m_vecSo; // 油饱和度
|
|
QVector<double> m_vecKro; // 油相对渗透率
|
|
QVector<double> m_vecSg; // 气饱和度
|
|
QVector<double> m_vecKrg; // 气相对渗透率
|
|
QVector<double> m_vecSw; // 水饱和度
|
|
QVector<double> m_vecKrw; // 水相对渗透率
|
|
};
|
|
|
|
#endif // NMDATAPVTPARAFORPEBI_H
|