コード例 #1
0
ファイル: Well.cpp プロジェクト: dr-robertk/opm-common
    void Well::handleCOMPDAT(size_t time_step, const DeckRecord& record, const EclipseGrid& grid, const Eclipse3DProperties& eclipseProperties) {
        WellConnections * connections = new WellConnections(this->getConnections(time_step));
	std::size_t totNC = 0;
        connections->loadCOMPDAT(record, grid, eclipseProperties, totNC);
	if (totNC > 0) {
	    this->setTotNoConn(totNC);
	}
        this->updateWellConnections(time_step, connections);
    }
コード例 #2
0
ファイル: Well.cpp プロジェクト: alfbr/opm-common
 void Well::handleCOMPDAT(size_t time_step, const DeckRecord& record, const EclipseGrid& grid, const Eclipse3DProperties& eclipseProperties) {
     WellConnections * connections = new WellConnections(this->getConnections(time_step));
     connections->loadCOMPDAT(record, grid, eclipseProperties);
     this->updateWellConnections(time_step, connections);
 }