コード例 #1
0
ファイル: Well.cpp プロジェクト: dr-robertk/opm-common
    void Well::handleCOMPSEGS(const DeckKeyword& keyword, const EclipseGrid& grid, size_t time_step) {
        const auto& segment_set = this->getWellSegments(time_step);
        const auto& completion_set = this->getConnections( time_step );
	std::size_t totNC = 0;
        WellConnections * new_connection_set = newConnectionsWithSegments(keyword, completion_set, segment_set, grid, totNC);
	if (totNC > 0) {
	    this->setTotNoConn(totNC);
	}
        this->updateWellConnections(time_step, new_connection_set);
    }
コード例 #2
0
ファイル: Well.cpp プロジェクト: alfbr/opm-common
 void Well::handleCOMPSEGS(const DeckKeyword& keyword, size_t time_step) {
     const auto& segment_set = this->getWellSegments(time_step);
     const auto& completion_set = this->getConnections( time_step );
     WellConnections * new_connection_set = newConnectionsWithSegments(keyword, completion_set, segment_set);
     this->updateWellConnections(time_step, new_connection_set);
 }