mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
The intention is that this will ultimately replace the existing RelpermDiagnostics component which does not really work in parallel and which does not report enough context to help diagnose underlying issues. For now, though, we just add the shell of a new set of checks and hook that up to the build. Class SatfuncConsistencyChecks<Scalar> manages a configurable set of consistency checks, the implementations of which must publicly derive from SatfuncConsistencyChecks<Scalar>::Check. Client code will configure a set of checks by first calling SatfuncConsistencyChecks<Scalar>::resetCheckSet() then register individual checks by calling SatfuncConsistencyChecks<Scalar>::addCheck() and finally build requisite internal structures by calling SatfuncConsistencyChecks<Scalar>::finaliseCheckSet() Client code will then run the checks by calling SatfuncConsistencyChecks<Scalar>::checkEndpoints() typically in a loop. Class SatfuncConsistencyChecks<Scalar> will count consistency check failures and attribute these to each individual check as needed. We also maintain separate counts for "Standard" and "Critical" failures. The former will typically generate warnings while the latter will typically cause the simulation run to stop. Individual checks get to decide which check is "Critical", and client code gets to decide how to respond to "Critical" failures. Member function SatfuncConsistencyChecks<Scalar>::reportFailures() will generate a textual report of the known set of consistency check failures at a give severity level. As an internal implementation detail, SatfuncConsistencyChecks uses "reservoir sampling" (https://en.wikipedia.org/wiki/Reservoir_sampling) to track details about individual failed checks. We maintain at most a fixed number of individual points (constructor argument). |
||
---|---|---|
.. | ||
satfunc | ||
BlackoilPhases.cpp | ||
BlackoilPhases.hpp | ||
ComponentName.cpp | ||
ComponentName.hpp | ||
compressPartition.cpp | ||
compressPartition.hpp | ||
DamarisKeywords.cpp | ||
DamarisKeywords.hpp | ||
DamarisOutputModule.cpp | ||
DamarisOutputModule.hpp | ||
DamarisVar.cpp | ||
DamarisVar.hpp | ||
DeferredLogger.cpp | ||
DeferredLogger.hpp | ||
DeferredLoggingErrorHelpers.hpp | ||
gatherDeferredLogger.cpp | ||
gatherDeferredLogger.hpp | ||
GridDataOutput_impl.hpp | ||
GridDataOutput.cpp | ||
GridDataOutput.hpp | ||
HDF5File.cpp | ||
HDF5File.hpp | ||
HDF5Serializer.cpp | ||
HDF5Serializer.hpp | ||
initDamarisXmlFile.cpp | ||
moduleVersion.cpp | ||
moduleVersion.hpp | ||
MPIPacker.cpp | ||
MPIPacker.hpp | ||
MPISerializer.hpp | ||
ParallelCommunication.hpp | ||
ParallelEclipseState.cpp | ||
ParallelEclipseState.hpp | ||
ParallelFileMerger.cpp | ||
ParallelFileMerger.hpp | ||
ParallelNLDDPartitioningZoltan.cpp | ||
ParallelNLDDPartitioningZoltan.hpp | ||
ParallelRestart.cpp | ||
ParallelRestart.hpp | ||
ParallelSerialization.cpp | ||
ParallelSerialization.hpp | ||
PartiallySupportedFlowKeywords.cpp | ||
PartiallySupportedFlowKeywords.hpp | ||
phaseUsageFromDeck.cpp | ||
phaseUsageFromDeck.hpp | ||
PressureAverage.cpp | ||
PressureAverage.hpp | ||
PropsDataHandle.hpp | ||
readDeck.cpp | ||
readDeck.hpp | ||
SerializationPackers.cpp | ||
SerializationPackers.hpp | ||
SetupZoltanParams.cpp | ||
SetupZoltanParams.hpp | ||
UnsupportedFlowKeywords.cpp | ||
UnsupportedFlowKeywords.hpp | ||
VectorVectorDataHandle.hpp |