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

41 lines
1.1 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 CFDSTRUCTDATASOLVERCOMPUTINGCONTROLMANAGER_H
#define CFDSTRUCTDATASOLVERCOMPUTINGCONTROLMANAGER_H
#include <CFDStructDataManagerBase.h>
#include "CFDStructDataManager_global.h"
class CUIConfig;
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverComputingControlManager : public CFDStructDataManagerBase
{
Q_OBJECT
public:
explicit CFDStructDataSolverComputingControlManager(QObject *parent = nullptr);
~CFDStructDataSolverComputingControlManager();
CUIConfig* getParamUIConfig();
private:
// 生成界面配置
CUIConfig* genUIConfig();
signals:
private:
// 时间模式定常0非定常1
int m_runtype = 0;
// 时间模式定常0则是迭代步数时间模式非定常1则是内迭代步数
int m_mcyc = 1000;
// 步长模式 >=1
double m_alf0 = 1.0;
// 时间步长 >0
double m_realdt = 1.0;
// 时间步数 >=1
int m_nstep = 10;
// 时均统计量数据采样0 | 1
int m_timeaverage = 0;
};
#endif // CFDSTRUCTDATASOLVERCOMPUTINGCONTROLMANAGER_H