Utility class to handle the log messages about well switching.
More...
#include <WellSwitchingLogger.hpp>
|
typedef Dune::CollectiveCommunication< typename Dune::MPIHelper::MPICommunicator > | Communication |
| The type of the collective communication used.
|
|
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.
◆ WellSwitchingLogger()
Opm::wellhelpers::WellSwitchingLogger::WellSwitchingLogger |
( |
const Communication & |
cc = Dune::MPIHelper::getCollectiveCommunication() | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
cc | The collective communication to use. |
◆ wellSwitched()
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: