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.
20 lines
470 B
C++
20 lines
470 B
C++
#include "nmCalculationPebiGridTask.h"
|
|
|
|
#include "nmCalculationPebiGrid.h"
|
|
|
|
nmCalculationPebiGridTask::nmCalculationPebiGridTask(QObject *parent)
|
|
: QThread(parent)
|
|
{
|
|
}
|
|
|
|
void nmCalculationPebiGridTask::run()
|
|
{
|
|
// 当前网格生成链路只保留PEBI.
|
|
// 生成网格.
|
|
bool success = nmCalculationPebiGrid::getInstance()->meshGenPebi();
|
|
if (success) {
|
|
// 通知主线程PEBI网格生成完成.
|
|
emit pebiGridGenerated(success);
|
|
}
|
|
}
|