Utility class to handle the log messages about well switching. More...
#include <WellSwitchingLogger.hpp>
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. More... | |
void | wellSwitched (std::string name, WellControlType from, WellControlType to) |
Log that a well switched. More... | |
~WellSwitchingLogger () | |
Destructor send does the actual logging. | |
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.
|
inlineexplicit |
Constructor.
cc | The collective communication to use. |
|
inline |
Log that a well switched.
name | The name of the well. |
from | The control of the well before the switch. |
to | The control of the well after the switch. |