Opm::CompletionSet Class Reference

#include <CompletionSet.hpp>

Public Member Functions

 CompletionSet ()
 
void add (CompletionConstPtr completion)
 
size_t size () const
 
CompletionSetshallowCopy () const
 
CompletionConstPtr get (size_t index) const
 
bool allCompletionsShut () const
 
void orderCompletions (size_t well_i, size_t well_j, EclipseGridConstPtr grid)
 

Constructor & Destructor Documentation

Opm::CompletionSet::CompletionSet ( )

Member Function Documentation

void Opm::CompletionSet::add ( CompletionConstPtr  completion)
bool Opm::CompletionSet::allCompletionsShut ( ) const
CompletionConstPtr Opm::CompletionSet::get ( size_t  index) const
void Opm::CompletionSet::orderCompletions ( size_t  well_i,
size_t  well_j,
EclipseGridConstPtr  grid 
)

Order completions irrespective of input order. The algorithm used is the following:

  1. The completion nearest to the given (well_i, well_j) coordinates in terms of the completion's (i, j) is chosen to be the first completion. If non-unique, choose one with lowest z-depth (shallowest).
  2. Choose next completion to be nearest to current in (i, j) sense. If non-unique choose closest in z-depth (not logical cartesian k).
Parameters
[in]well_ilogical cartesian i-coordinate of well head
[in]well_jlogical cartesian j-coordinate of well head
[in]gridEclipseGrid object, used for cell depths
CompletionSet* Opm::CompletionSet::shallowCopy ( ) const
size_t Opm::CompletionSet::size ( ) const

The documentation for this class was generated from the following file: