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.
|
|
|
|
#ifndef NMCALCULATIONSOLVER_H
|
|
|
|
|
#define NMCALCULATIONSOLVER_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include <iostream>
|
|
|
|
|
#include "nmCalculation_global.h"
|
|
|
|
|
#include "singlePhaseSolver.h"
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
class CWell;
|
|
|
|
|
class NMCALCULATION_EXPORT nmCalculationSolver
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
nmCalculationSolver();
|
|
|
|
|
|
|
|
|
|
// ִ<><D6B4><EFBFBD><EFBFBD><EFBFBD>⣬<EFBFBD><E2A3AC>Ҫ vtk<74>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD>ġ<EFBFBD><C4A1>뾶
|
|
|
|
|
bool execSolve(QString vtkFilePath, QString reservoirParamFilePath, QString wellsParamFilePath, QString dllDir, QString outputFile);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// Ϊ<><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
void readVTK(QString vtkFlePath);
|
|
|
|
|
// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㡢cell<6C><6C><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
bool readMesh(std::string fname, std::vector<Point> &points, std::vector<Cell> &cells);
|
|
|
|
|
// <20><>ȡ<EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
bool readReservoirParamters(std::string fname, double* pBaseData);
|
|
|
|
|
// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ھ<EFBFBD><DABE><EFBFBD>ÿ<EFBFBD>ھ<EFBFBD><DABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
bool readWells(std::string fname, int& numWell, CWell* well);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // NMCALCULATIONSOLVER_H
|