|
|
|
|
/**
|
|
|
|
|
* 计算控制
|
|
|
|
|
*/
|
|
|
|
|
#ifndef CFDSTRUCTDATASOLVERCOMPUTINGCONTROLMANAGER_H
|
|
|
|
|
#define CFDSTRUCTDATASOLVERCOMPUTINGCONTROLMANAGER_H
|
|
|
|
|
|
|
|
|
|
#include "CFDStructDataManager_global.h"
|
|
|
|
|
#include <CFDStructDataManagerBase.h>
|
|
|
|
|
class CUIConfig;
|
|
|
|
|
|
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverComputingControlManager : public CFDStructDataManagerBase {
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit CFDStructDataSolverComputingControlManager(QObject *parent = nullptr);
|
|
|
|
|
~CFDStructDataSolverComputingControlManager();
|
|
|
|
|
|
|
|
|
|
CUIConfig *getParamUIConfig();
|
|
|
|
|
void saveDataToDom(rapidjson::Document &dom);
|
|
|
|
|
|
|
|
|
|
void readDataFromDom(rapidjson::Document &dom);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 生成界面配置
|
|
|
|
|
CUIConfig *genUIConfig();
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 数据保存频率
|
|
|
|
|
int m_DataSaveFrequency = 0; // Data Save Frequency
|
|
|
|
|
|
|
|
|
|
// 数值计算核数
|
|
|
|
|
int m_NumericalComputationCores = 0;
|
|
|
|
|
|
|
|
|
|
// ??表中没有
|
|
|
|
|
// 网格组装核数
|
|
|
|
|
int m_MeshAssemblyCores = 0;
|
|
|
|
|
|
|
|
|
|
// 并行开关
|
|
|
|
|
int m_enableMPI = 0;
|
|
|
|
|
|
|
|
|
|
// mpi库类型
|
|
|
|
|
int m_mpiLibType = 0;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CFDSTRUCTDATASOLVERCOMPUTINGCONTROLMANAGER_H
|