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.
22 lines
622 B
C++
22 lines
622 B
C++
#include "nmCalculationPebiGridTask.h"
|
|
|
|
#include "nmCalculationPebiGrid.h"
|
|
|
|
nmCalculationPebiGridTask::nmCalculationPebiGridTask(
|
|
nmDataAnalyzeManager* pDataManager,
|
|
QObject *parent)
|
|
: QThread(parent),
|
|
m_pDataManager(pDataManager)
|
|
{
|
|
}
|
|
|
|
void nmCalculationPebiGridTask::run()
|
|
{
|
|
// 当前网格生成链路只保留PEBI.
|
|
// 生成网格.
|
|
bool success = nmCalculationPebiGrid::getInstance()->meshGenPebi(
|
|
m_pDataManager);
|
|
// 无论成功或失败都通知窗口,使其可以结束本轮任务状态并处理后续待刷新请求。
|
|
emit pebiGridGenerated(success);
|
|
}
|