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.
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 CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H
# define CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H
# include "CFDStructDataManager_global.h"
# include <CFDStructDataManagerBase.h>
class CUIConfig ;
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverTimeModeManager : public CFDStructDataManagerBase {
Q_OBJECT
public :
explicit CFDStructDataSolverTimeModeManager ( QObject * parent = nullptr ) ;
~ CFDStructDataSolverTimeModeManager ( ) ;
CUIConfig * getParamUIConfig ( ) ;
void saveDataToDom ( rapidjson : : Document & dom ) ;
void readDataFromDom ( rapidjson : : Document & dom ) ;
private :
// 生成定常的界面配置
CUIConfig * genSteadyModeUIConfig ( ) ;
// 生成非定常的截面配置
CUIConfig * genUnsteadyModeUIConfig ( ) ;
signals :
private :
// 时间模式: 定常0, 非定常1
int m_runtype = 0 ;
// 内迭代步数
int m_innerIters = 1000 ;
// 迭代步数
int m_iters = 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 // CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H