|
|
|
|
#ifndef CFDSTRUCTDATASOLVERSPORTSATTRIBUTESMANAGER_H
|
|
|
|
|
#define CFDSTRUCTDATASOLVERSPORTSATTRIBUTESMANAGER_H
|
|
|
|
|
|
|
|
|
|
#include <CFDStructDataManagerBase.h>
|
|
|
|
|
#include "CFDStructDataManager_global.h"
|
|
|
|
|
class CUIConfig;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverSportsAttributesItemManager : public CFDStructDataManagerBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit CFDStructDataSolverSportsAttributesItemManager(QObject *parent = nullptr);
|
|
|
|
|
~CFDStructDataSolverSportsAttributesItemManager();
|
|
|
|
|
|
|
|
|
|
CUIConfig* getParamUIConfig();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 生成运动坐标系的界面配置
|
|
|
|
|
CUIConfig* genMovingFrameModeUIConfig();
|
|
|
|
|
// 生成刚体的界面配置
|
|
|
|
|
CUIConfig* genRigidBodyModeUIConfig();
|
|
|
|
|
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;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverSportsAttributesManager : public CFDStructDataManagerBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit CFDStructDataSolverSportsAttributesManager(QObject *parent = nullptr);
|
|
|
|
|
~CFDStructDataSolverSportsAttributesManager();
|
|
|
|
|
|
|
|
|
|
CUIConfig* getParamUIConfig();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// // 生成运动坐标系的界面配置
|
|
|
|
|
// CUIConfig* genMovingFrameModeUIConfig();
|
|
|
|
|
// // 生成刚体的界面配置
|
|
|
|
|
// CUIConfig* genRigidBodyModeUIConfig();
|
|
|
|
|
|
|
|
|
|
virtual void addNewSportAttributesItem();
|
|
|
|
|
virtual void deleteSportAttributesItem(int index);
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QVector<CFDStructDataSolverSportsAttributesItemManager*> m_itemList;
|
|
|
|
|
// // 时间模式:定常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 // CFDSTRUCTDATASOLVERSPORTSATTRIBUTESMANAGER_H
|