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/nmNum/nmData/nmPebiStaticPropertyValues.h

31 lines
1.0 KiB
C

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#ifndef NMPEBISTATICPROPERTYVALUES_H
#define NMPEBISTATICPROPERTYVALUES_H
#include "nmData_global.h"
#include <QVector>
/**
* @brief 按原始 PEBI 求解单元索引保存的三项静态属性。
*
* 该类型不包含 VTK、求解器或界面对象。三个数组共享同一个原始单元
* 索引域,其中渗透率使用数据层单位 mD,孔隙度无量纲,厚度使用 m。
*/
struct NM_DATA_EXPORT nmPebiStaticPropertyValues
{
/** @brief 清空三项属性,使对象回到未计算状态。 */
void clear();
/**
* @brief 检查数组长度和全部数值是否可用于指定原始单元集合。
* @param nOriginalCellCount 原始 PEBI 求解单元数量,必须大于零。
*/
bool isValidForCellCount(int nOriginalCellCount) const;
QVector<double> m_vecPermeabilityMilliDarcy; ///< 渗透率,单位 mD。
QVector<double> m_vecPorosity; ///< 孔隙度,无量纲。
QVector<double> m_vecThicknessMeters; ///< 厚度,单位 m。
};
#endif // NMPEBISTATICPROPERTYVALUES_H