Opm::wellhelpers::WellSwitchingLogger Class Reference

Utility class to handle the log messages about well switching. More...

#include <WellSwitchingLogger.hpp>

List of all members.

Public Types

typedef
Dune::CollectiveCommunication
< typename
Dune::MPIHelper::MPICommunicator > 
Communication
 The type of the collective communication used.

Public Member Functions

 WellSwitchingLogger (const Communication &cc=Dune::MPIHelper::getCollectiveCommunication())
 Constructor.
void wellSwitched (std::string name, WellControlType from, WellControlType to)
 Log that a well switched.
 ~WellSwitchingLogger ()
 Destructor send does the actual logging.

Detailed Description

Utility class to handle the log messages about well switching.

In parallel all the messages will be send to a root processor and logged there.


Constructor & Destructor Documentation

Opm::wellhelpers::WellSwitchingLogger::WellSwitchingLogger ( const Communication cc = Dune::MPIHelper::getCollectiveCommunication()  )  [inline, explicit]

Constructor.

Parameters:
cc The collective communication to use.

Member Function Documentation

void Opm::wellhelpers::WellSwitchingLogger::wellSwitched ( std::string  name,
WellControlType  from,
WellControlType  to 
) [inline]

Log that a well switched.

Parameters:
name The name of the well.
from The control of the well before the switch.
to The control of the well after the switch.

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

Generated on 26 Mar 2018 by  doxygen 1.6.1