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.
AppFlow/CFDStruct/CFDStructDataManager/CFDStructDataSolverComputin...

46 lines
1.1 KiB
C++

/**
* 计算控制
*/
#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; // Data Save Frequency
// 数值计算核数
int m_NumericalComputationCores = 0;
// ??表中没有
// 网格组装核数
int m_MeshAssemblyCores = 0;
// 并行开关
int m_enableMPI = 0;
// mpi库类型
int m_mpiLibType = 0;
};
#endif // CFDSTRUCTDATASOLVERCOMPUTINGCONTROLMANAGER_H