mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6526 Fracture Model: Increase precision in Deviation.FRK export
This commit is contained in:
parent
f496e62123
commit
e830629dbf
@ -60,14 +60,13 @@ bool RifFractureModelDeviationFrkExporter::writeToFile( RimFractureModelPlot* pl
|
||||
std::vector<double> tvdValues;
|
||||
std::vector<double> mdValues;
|
||||
RigWellPathGeometryExporter::exportWellPathGeometry( wellPath, mdStepSize, xValues, yValues, tvdValues, mdValues, useMdRkb );
|
||||
convertFromMeterToFeet( mdValues );
|
||||
convertFromMeterToFeet( tvdValues );
|
||||
|
||||
std::vector<double> exportTvdValues;
|
||||
std::vector<double> exportMdValues;
|
||||
fixupDepthValuesForExport( tvdValues, mdValues, exportTvdValues, exportMdValues );
|
||||
|
||||
convertFromMeterToFeet( exportMdValues );
|
||||
convertFromMeterToFeet( exportTvdValues );
|
||||
|
||||
appendToStream( stream, "mdArray", exportMdValues );
|
||||
appendToStream( stream, "tvdArray", exportTvdValues );
|
||||
|
||||
@ -91,6 +90,7 @@ void RifFractureModelDeviationFrkExporter::appendToStream( QTextStream&
|
||||
const QString& label,
|
||||
const std::vector<double>& values )
|
||||
{
|
||||
stream.setRealNumberPrecision( 20 );
|
||||
stream << "<cNamedSet>" << endl
|
||||
<< "<name>" << endl
|
||||
<< label << endl
|
||||
|
Loading…
Reference in New Issue
Block a user