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/CFDStructDataSolverTimeMode...

41 lines
1.1 KiB
C

#ifndef CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H
#define CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H
#include <QObject>
#include "CFDStructDataManager_global.h"
class CUIConfig;
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverTimeModeManager : public QObject
{
Q_OBJECT
public:
explicit CFDStructDataSolverTimeModeManager(QObject *parent = nullptr);
~CFDStructDataSolverTimeModeManager();
CUIConfig* getParamUIConfig();
private:
// 生成定常的界面配置
CUIConfig* genSteadyModeUIConfig();
// 生成非定常的截面配置
CUIConfig* genUnsteadyModeUIConfig();
signals:
private:
// 鏃堕棿妯″紡
int m_runtype = 0;
// 杩唬姝ユ暟锛>=1锛屽畾甯告椂锛氳凯浠鏁帮紝闈炲畾甯革細鍐呰凯浠鏁 int m_mcyc = 1000;
// 姝ラ暱妯″紡锛屽浐瀹氾紝涓嶅彲淇敼
double m_alf0 = 1.0;
// 鏃堕棿姝ラ暱锛0
double m_realdt = 1.0;
// 鏃堕棿姝ユ暟锛=1
double m_nstep = 10;
// 鏃跺潎缁熻閲忔暟鎹噰鏍0,1
int m_timeaverage = 0;
CUIConfig* m_uiConfig = nullptr;
};
#endif // CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H