@ -131,3 +131,7 @@ void CFDStructDataManager::printJson() {
CFDStructMainUtils::write(caseJSONPath, buffer.GetString());
}
int CFDStructDataManager::getTimeModeRunTime() {
return m_solverTimeModeManager->getRunType();
@ -62,6 +62,8 @@ class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataManager {
rapidjson::Document getJson();
void printJson();
int getTimeModeRunTime();
private:
rapidjson::Document m_dom;
};
@ -145,3 +145,8 @@ CUIConfig *CFDStructDataSolverTimeModeManager::genUnsteadyModeUIConfig() {
{"value_origin", QVA_GLOBAL(&m_timeaverage)},
})});
int CFDStructDataSolverTimeModeManager::getRunType() {
return m_runtype;
return 0;
@ -41,6 +41,9 @@ class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverTimeModeManager : public CF
int m_nstep = 10;
// 时均统计量数据采样:0 | 1
int m_timeaverage = 0;
public:
int getRunType();
#endif // CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H