|
|
|
@ -316,6 +316,9 @@ bool nmSubWndMain::runCmdBy(QString sName, QString sID)
|
|
|
|
|
// return true;
|
|
|
|
|
case 5501:
|
|
|
|
|
return true;
|
|
|
|
|
case 5701:
|
|
|
|
|
this->solveAndAnalyze();
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
// 地质图导入
|
|
|
|
|
if (sID.toInt() == 5302) {
|
|
|
|
@ -818,12 +821,12 @@ void nmSubWndMain::identificationRegion()
|
|
|
|
|
|
|
|
|
|
void nmSubWndMain::generationMesh()
|
|
|
|
|
{
|
|
|
|
|
// TODO 拿到多边形和点的位置信息
|
|
|
|
|
// TODO,还不支持原型边界
|
|
|
|
|
// 拿到多边形和点的位置信息
|
|
|
|
|
QVector<ZxObjBase*> pObjVec = m_pWxPlot->getObjsByTag("nObjPolygonOutline");
|
|
|
|
|
nmDataLogFile::getInstance()->writeLog(" ---------- " + QString::number(pObjVec.count()));
|
|
|
|
|
QVector<ZxObjBase*> pWellObjVec = m_pWxPlot->getObjsByTag("nObjPointWell");
|
|
|
|
|
nmDataLogFile::getInstance()->writeLog(" ---------- " + QString::number(pWellObjVec.count()));
|
|
|
|
|
// return;
|
|
|
|
|
// 生成geo文件
|
|
|
|
|
// 调用gmsh生成vtk文件
|
|
|
|
|
// 弹出网格的dialog,渲染文件
|
|
|
|
@ -836,11 +839,10 @@ void nmSubWndMain::generationMesh()
|
|
|
|
|
dlg->resize(800, 600);
|
|
|
|
|
dlg->show();
|
|
|
|
|
}
|
|
|
|
|
// nmWxGridWindow* gridWindow = new nmWxGridWindow(NULL);
|
|
|
|
|
//// gridWindow->resize(1200, 800);
|
|
|
|
|
//// gridWindow->show();
|
|
|
|
|
// gridWindow->initialize();
|
|
|
|
|
// gridWindow->render();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void nmSubWndMain::solveAndAnalyze()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void nmSubWndMain::triggerToolBarAction(int index)
|
|
|
|
|