mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2737 from joakim-hove/extract-eval-udq
Extract UDQ eval to separate function call
This commit is contained in:
commit
f6d2b4fd27
@ -47,6 +47,7 @@
|
||||
#include <opm/output/eclipse/Summary.hpp>
|
||||
#include <opm/parser/eclipse/Units/UnitSystem.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Action/State.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/UDQ/UDQConfig.hpp>
|
||||
|
||||
#include <opm/simulators/utils/ParallelRestart.hpp>
|
||||
#include <opm/grid/GridHelpers.hpp>
|
||||
@ -314,6 +315,10 @@ public:
|
||||
miscSummaryData,
|
||||
regionData,
|
||||
blockData);
|
||||
|
||||
const auto& udq_config = schedule().getUDQConfig(reportStepNum);
|
||||
udq_config.eval( summaryState() );
|
||||
|
||||
buffer = summaryState().serialize();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user