opm-common
Opm::out::Summary::SummaryImplementation Class Reference

Public Member Functions

 SummaryImplementation (SummaryConfig &sumcfg, const EclipseState &es, const EclipseGrid &grid, const Schedule &sched, const std::string &basename, const bool writeEsmry)
 
 SummaryImplementation (const SummaryImplementation &rhs)=delete
 
 SummaryImplementation (SummaryImplementation &&rhs)=default
 
SummaryImplementationoperator= (const SummaryImplementation &rhs)=delete
 
SummaryImplementationoperator= (SummaryImplementation &&rhs)=default
 
void recordNewDynamicWellConns (const DynamicConns &newConns)
 Activate pre-allocated summary vector slots for newly established well connections arising from dynamic fracturing. More...
 
void eval (const int sim_step, const double secs_elapsed, const DynamicSimulatorState &values, SummaryState &st) const
 
void internal_store (const SummaryState &st, const int report_step, const int ministep_id, const bool isSubstep)
 
void write (const bool is_final_summary)
 

Member Function Documentation

◆ recordNewDynamicWellConns()

void Opm::out::Summary::SummaryImplementation::recordNewDynamicWellConns ( const DynamicConns newConns)

Activate pre-allocated summary vector slots for newly established well connections arising from dynamic fracturing.

During initialisation, a geomechanics run pre-allocates a fixed number of placeholder output parameter slots (with connection number -1) for each well that is configured to produce fracturing-related connection vectors. When the simulator informs the output layer that new connections have actually been created during the run, this function claims those slots and assigns them to the concrete connection cell indices supplied by the caller.

For each (well name, connection IDs) pair in newConns the function looks up the set of connection summary vectors that were pre-allocated for that well (via extraConnVectors_). For every such vector and every new connection index it requests a concrete parameter slot from outputParameters_, then records the resulting unique key in valueKeys_ so that the vector is evaluated and written from the next time step onwards.

Parameters
[in]newConnsEach element is a pair of
  • a well name, and
  • a list of zero-based connection cell global indices that have become active since the last report step as a result of fracturing. Wells that have no pre-allocated fracturing vectors are silently ignored.

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