Output double precision restart output if asked for

This commit is contained in:
Tor Harald Sandve 2018-01-22 14:05:10 +01:00
parent b021ee54ca
commit 5fa7b130dc

View File

@ -178,7 +178,7 @@ public:
if (totalSolverTime != 0.0) {
miscSummaryData["TCPU"] = totalSolverTime;
}
bool enableDoublePrecisionOutput = false; //EWOMS_GET_PARAM(TypeTag, bool, EclOutputDoublePrecision);
bool enableDoublePrecisionOutput = EWOMS_GET_PARAM(TypeTag, bool, EclOutputDoublePrecision);
const Opm::data::Solution& cellData = collectToIORank_.isParallel() ? collectToIORank_.globalCellData() : localCellData;
const std::map<std::pair<std::string, int>, double>& blockValues = collectToIORank_.isParallel() ? collectToIORank_.globalBlockValues() : eclOutputModule_.getBlockValues();