Remove unused construtors

This commit is contained in:
Joakim Hove
2018-06-26 09:17:17 +02:00
parent bcfb195a83
commit d72c45cd62
2 changed files with 0 additions and 34 deletions

View File

@@ -51,10 +51,6 @@ namespace Opm {
const int satTableId,
const WellCompletion::DirectionEnum direction = WellCompletion::DirectionEnum::Z);
Connection(const Connection&, WellCompletion::StateEnum newStatus);
Connection(const Connection&, double wellPi);
Connection(const Connection&, int complnum );
Connection(const Connection& connection_initial, int segment_number, double center_depth);
bool sameCoordinate(const Connection& other) const;
bool sameCoordinate(const int i, const int j, const int k) const;

View File

@@ -57,36 +57,6 @@ namespace Opm {
m_center_depth( depth )
{}
Connection::Connection(const Connection& oldConnection, WellCompletion::StateEnum newStatus ) :
Connection( oldConnection )
{
this->state = newStatus;
}
Connection::Connection(const Connection& oldConnection, double wellPi) :
Connection( oldConnection )
{
if( this->wellPi != 0 ) {
this->wellPi *= wellPi;
} else {
this->wellPi = wellPi;
}
}
Connection::Connection( const Connection& c, int num ) :
Connection( c )
{
this->complnum = num;
}
Connection::Connection(const Connection& connection_initial, int segment_number, double center_depth)
: Connection(connection_initial)
{
assert(segment_number > 0);
this->m_segment_number = segment_number;
this->m_center_depth = center_depth;
}
bool Connection::sameCoordinate(const Connection& other) const {
if ((m_i == other.m_i) &&
(m_j == other.m_j) &&